[BlueOnyx:17343] Re: Wishlist :)

Colin Jack colin at mainline.uk
Sun Mar 22 05:26:03 -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
>_______________________________________________

That¹s an idea Š although just changing the sitex file in
/etc/httpd/conf/vhosts is no big deal really.

Just thought it might be quite easy for Michael to add in another field -
but certainly not a major thing! :)

Colin


>





More information about the Blueonyx mailing list