tags:

views:

693

answers:

3

I changed my Drupal base url in settings.php to " h*tp://www.example.com/subfolder " but root relative paths are still pointing to " h*tp://www.example.com " and not to the correct "subfolder". Any idea what I'm doing wrong? I flushed cache re-edited a couple links to make sure but they're still pointing to the root domain and not to the correct subfolder.

A: 

This help to you:
http://www.google.ru/search?q=drupal+subfolder

Nikit
i mean fixing via htaccess.
Nikit
Yeah I tried doing what it said in htaccess: Modify the RewriteBase if you are using Drupal in a subdirectory ... but I still had no luck.
kelly
start here: http://drupal.org/node/135206
Nikit
A: 

The Pathologic module provides input filtering to correct URLs that are no longer correct because of configuration changes. See http://drupal.org/project/pathologic

sutch
A: 

Define what you mean by root-relative paths. If you are talking about the front paged linked to http://www.example.com, you may edit $base_url in settings.php.

If you are talking about

<a href=/">Home</a>

linking to http://www.example.com, that has nothing to do with Drupal, though the Pathologic module mentioned by sutch may help.

Chris Ridenour

related questions