By podsnap on
I have a drupal installation in a 'drupal' sub-directory on the server (for various reasons).
I now want the drupal site to be the primary site on the domain so want the drupal site to come up when you type in just the domain.
This I managed, but when you then click on anything within the site, you end up with 'drupal' in the url:
eg. www.domainname.com/drupal/url-alias
Is there any way to get it so that the 'drupal' doesn't apear?
eg. www.domainname.com/url-alias
It must be something in .htaccess right?
Thanks for your help.
Comments
searched
search result.
The many answers there may not be conclusive - but it will show why it's a tricky thing to accomplish on all servers in all cases.
Always best to just point your webserver at the drupal directory correctly, rather than attempt to fake it by rewriting all incoming URLs and disguising all outgoing ones. That's just no fun.
.dan. is the New Zealand Drupal Developer working on Government Web Standards
I can point my domain at the
I can point my domain at the Drupal directory but then it weirdly produced a user/password dialog box.