Making QuickEdit work with Friendly URLs

From MODx Wiki

Jump to: navigation, search


If site is using friendly URLs, then it is recommended to add following line in template's head section:

<base href="http://www.domain.com/" />

Instead of typing the domain name, you can set it this way as well:

<base href="[(site_url)]" />

This will ensure that snippets and modules that reference $base_path behave correctly. Also, adding *base href* will help in process of migration of site from one host to another.

See also

Friendly URLs Guide

Personal tools