[BlueOnyx:17337] Re: Wishlist :)
Colin Jack
colin at mainline.uk
Fri Mar 20 13:13:01 -05 2015
Hi Chuck,
> Why move the document root at all?
>
> We set up Joomla or Wordpress for existing customers in a directory named "cms" inside their existing website. Then when they're ready to go live with the Joomla, we put a index.php file in the website root directory (/web) that redirects from the root directory into that /web/cms directory. Like this:
>
> <?php
> header("HTTP/1.0 301 Moved Permanently");
> header("Location: http://www.whatever.com/cms/");
>?>
We used to do that but found that people complained that it screwed up SEO having a permanent redirect at the root of their website.
Colin
More information about the Blueonyx
mailing list