Forum Moderators: phranque

Message Too Old, No Replies

load site from sub directory

         

codewordx

3:14 am on Apr 10, 2009 (gmt 0)

10+ Year Member



I hope the solution is as easy as the description:

I have a drupal install in a /drupal directory, so in the browser is views as: [site.com...]

What do I do to load my drupal app as: [site.com...] ? (ie: not showing the /drupal/ dir in the browser)

Thanks for your help!

g1smd

8:15 am on Apr 10, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Change the links on your pages to the new format.

Links 'define' URLs.

Then set up a rewrite to connect those URL requests to the real internal folder location.

.

Finally, set up a site-wide 301 redirect to redirect requests for the old URLs over to the new format.

Use a RewriteRule for each one, and list the redirect first.