By georgiebon on
The site that I am working on has been installed in a subdirectory (www.mysite.com/drupal). However any link within that site that has been coded as e.g. /about becomes www.mysite.com/about instead of www.mysite.com/drupal/about.
My settings.php has the $base_url set to http://www.mysite.com/drupal, but this has not helped. Is there an .htaccess setting that can help me out?
Comments
In the menu links, use
In the menu links, use
about, not/aboutIn the content, you must use
/drupal/about. Unfortunately this is the price of clean URLs. It makes it hard to move the site to a different place if you ever need to.Or set up a subdomain for your subdirectory installation, so that you don't have a /drupal path in the URL, and then use
/about.Or try a module such as http://drupal.org/project/pathologic to see if it helps. In that module's page there are also links to other similar modules which work in different ways.