MAKING A COPY of the same site in subdirectory to work on it
-
Hello,
I run a few festival websites.
Each year I need to update the site with a new sub-directory /2014 or /2015 so I can maintain the same site structure and design, yet be able to update it for the new festival year, while the archived 2014, 2013, 2012 sites are untouched and accessible thru urls like /2012, /2013… a commonly done thing for festival homepages.So – here is what I did… and feeling stuck.
My logic:1. Back up site and database from 2014
2. Create /2015test sub-directory to work on before it goes live (meanwhile /2014 is the main site now and it still stays live – IMPORTANT!)
3. Copy the exact same WP files from the /2014 site content into the /2015test folder via FTP
4. Create new database with separate admin in cPanel
5. update the wp-config.php and throw it back into FTP sub-directory so now that this new wp site is pointing to a new fresh and separate database.Right now – if I proceed the way I did on my method above, the install.php shows up, and asks to put in the new admin data – and then it reinstalls a brand new wordpress… so then I lose all the files I am trying to maintain… also, last time I came across this, my live site in the other sub-directory got affected (the pages went 404)
QUESTION 1: To have the exact same site, do I need to export the 2014 database and then import into the new 2015 database?
QUESTION 2: should I just let install.php do the install a new wp and then copy over some specific files/folders from the old site? > then which files do I need to copy over to create the exact same site?
YOUR METHOD: better yet – do you have a specific suggestion? Am I missing something?
I am just trying to simply copy and update an old site to new – but I just don’t seem to have all the answers in configuring 2 independent WP sites within the same server…
Thank you so much for your help and expertise!
Mika
- The topic ‘MAKING A COPY of the same site in subdirectory to work on it’ is closed to new replies.