This question has been answered by jasonabuck. See the first response.
Use Friendly Alias Path -------------- use_alias_path -------------- No
Setting this option to 'yes' will display the full path to the Resource if the Resource has an alias. For example, if a Resource with an alias called 'child' is located inside a container Resource with an alias called 'parent', then the full alias path to the Resource will be displayed as '/parent/child.html'.
# Links to Content with Service Disciplines RewriteRule ^documents/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] RewriteRule ^webinars/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] RewriteRule ^conference-presentations/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] # Links to Content Directly RewriteRule ^documents/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] RewriteRule ^webinars/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] RewriteRule ^conference-presentations/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] # Friendly URLs RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]+)$ /index.php?q=$1 [L,QSA,NC] # RewriteRule ^([^/]+)$ /index.php?q=$1 [L,QSA]
RewriteEngine On RewriteBase / # Links to Content with Service Disciplines RewriteRule ^documents/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] RewriteRule ^webinars/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] RewriteRule ^conference-presentations/(\w+)/(\w+)$ index.php?q=documents.html&DocumentTitle=$2&PageServiceDiscipline=$1 [L] # Links to Content Directly RewriteRule ^documents/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] RewriteRule ^webinars/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] RewriteRule ^conference-presentations/(\w+)$ index.php?q=documents.html&DocumentTitle=$1 [L] # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
<a href="[[~12]]">Some Page</a>
<base href="[[!++site_url]]" />