This forum is no longer active. Please post your questions to our new community site

Forums Drupal

Clean URL causes /drupal to show up

Subscribe to Clean URL causes /drupal to show up 2 post(s), 2 voice(s)

Avatar berno 1 post


I have changed my Drupal site from to just by changing:

DocumentRoot ”/home/admin/lampstack-1.2-3/apache2/htdocs”
DocumentRoot ”/home/admin/lampstack-1.2-3/apps/drupal/htdocs”

This works brilliant and my drupal site now appears directly in

However when I enable clean urls, it works fine but if I click around for a bit the /drupal re-appears. As soon as I turn clean URL’s off it is gone again

Does anybody know what can cause this? I have cleaned out cache restarted apache and fidled with modrewrite settings, but nothing so far.

Thanks for any help.

Avatar Beltrán Rueda Administrator 3,714 post(s)


It is also necessary to modify the your_installdir/apps/drupal/htdocs/.htaccess file:

RewriteBase /drupal → RewriteBase /

I hope it heps. You can find more info at

Forums Drupal