Hi all,

I’m trying to get our teams website to redirect anything from the main domain to a subfolder including all directories. For example: => =>

I know it has to do with Apache’s mod_rewrite (though you’d think there’d be something in cPanel to do this, idk), but I am terrible at Apache and regular expression stuff.

I’ve had results from Google, but none seem to work.



Here are a few references on managing redirects in cPanel.

Alternatively, you can try using

<?php Header(“Location:”); ?>

This has to be a part of a php file. It probably wouldn’t work for .html but I haven’t tried it.

For HTML, you can use

<meta http-equiv=“refresh” content=“0; URL=”>

Good Luck!