Page 1 of 1

Re: Develop in a V2 subfolder, then launch / mask with .htac

Posted: Mon Apr 09, 2012 5:19 pm
by Dr.CSS
I copy all the folders/files to the root then make a new DB and import the original into it and change all the DB and server paths in the [[root]] config.php...

This will give you 2 working CMSMS installs, V2 can be used for testing module upgrades, template changes, etc. so the live one doesn't get messed up if you make any mistakes etc...

Re: Develop in a V2 subfolder, then launch / mask with .htac

Posted: Mon Apr 09, 2012 8:24 pm
by Dr.CSS
I only use htaccess for pretty URLs, other wise the subfolder site is reached by thesite.com/subfolder...

Look in my signature for an example...

Re: Develop in a V2 subfolder, then launch / mask with .htac

Posted: Tue Apr 10, 2012 9:15 am
by manuel
Hi Samalah,

A nice trick to have up my .htaccess sleeve just in case... :)
Thx for sharing!

Greetings,
Manuel

Re: Develop in a V2 subfolder, then launch / mask with .htac

Posted: Tue Apr 10, 2012 4:29 pm
by Wishbone
What I do on CPanel hosts is to make a sym-link from public_html to ~/sites/V1 (V2, etc)

When I'm ready to go live, I direct my public_html link to point to the right version.