Sub-folder redirect?


Is there any way to have your main domain redirect to a sub-folder within the same site? For example, have automatically redirect to


Add the following line to your .htaccess file:

RedirectMatch ^/$

If you want useful replies, ask smart questions.


Ooh, that worked. Thank you!


I typically use the control panel to do exactly that. Although doing it with .htaccess is faster than waiting for the panel to do its thing.