Good morning forum... question, I have a CMSMS site, but I want to install a completely new website on the root... so I would like to move the existing site to a sub folder (i.e. http://www.mysite.com/oldCMSMS) so that we can reference back to it. I can't imagine just drag-n-drop into a new directory, that would mess up the DB connectivity etc right?
Has anyone done something similar before?
Thanks
[ SOLVED ] How can I move a CMS installation to a folder?
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
[ SOLVED ] How can I move a CMS installation to a folder?
Last edited by fearmydesign on Thu Mar 10, 2011 4:18 pm, edited 1 time in total.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Re: How can I move a CMS installation to a folder?
Drag/Drop whole site, change path in your config.php
Or run installer again and uncheck the 2 options to write sample data and write tables in db (step 5 i think)

Or run installer again and uncheck the 2 options to write sample data and write tables in db (step 5 i think)
Re: How can I move a CMS installation to a folder?
If you're using pretty URLs, you'll also need to change your RewriteBase in your .htaccess files.
Don't forget to clear your cache before moving.
Don't forget to clear your cache before moving.
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: How can I move a CMS installation to a folder?
Thank you! Dragged & Dropped! ...modified the config.php (path section), Worked!Drag/Drop whole site, change path in your config.php
Or run installer again and uncheck the 2 options to write sample data and write tables in db (step 5 i think)
Thanks Wishbone, i wasn't using them, but this is great to know for future reference (and others) as I will have some other sites that do have pretty url's!If you're using pretty URLs, you'll also need to change your RewriteBase in your .htaccess files.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.