[BlueOnyx:17342] Re: Wishlist :)

Greg Kuhnert gkuhnert at compassnetworks.com.au
Sat Mar 21 16:54:43 -05 2015


> On 21 Mar 2015, at 5:13 am, Colin Jack <colin at mainline.uk> wrote:
> 
> 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

Try this...

Rename the top level domain to something like junksite.domain.com

Then - create a vsite under the top level domain with the hostname as www .... and have it point to the joomla subdirectory. No special config - its already built into the gui :)

GK



More information about the Blueonyx mailing list