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...
Develop in a V2 subfolder, then launch / mask with .htaccess
Re: Develop in a V2 subfolder, then launch / mask with .htac
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...
Look in my signature for an example...
Re: Develop in a V2 subfolder, then launch / mask with .htac
Hi Samalah,
A nice trick to have up my .htaccess sleeve just in case...
Thx for sharing!
Greetings,
Manuel
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
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.
When I'm ready to go live, I direct my public_html link to point to the right version.