Subdirectory Remap


Hi Guys

What is the best way for me to achieve the following with Dreamhost?

I want:

to automatically redirect to:

Normally I would do this with the .htaccess file, is there a Panel method that gives me this?



Your example is of a URL redirect, not a subdirectory remap. Redirects are done in the .htaccess file. Actually mapping a URL to a different directory in the filesystem is done with the Panel, at least for shared hosting.


Dreamhost has a help article on how to remap a subdirectory in their panel here

If you are looking to have the subdirectory become the main directory, you would just need to add the subdirectory to the web directory path in the domains settings.

There is also the htacess method as you had mentioned earlier