Need to clone full site to make extensive mods, and then will make it live later
-
I have a WP site that I host locally.
It’s web address is https://swing-thing.com.I have made several modifications, including to the header.php file, so I could control what was in the menu bar – I have since discovered there are plugins that will do this instead, and I want to use those in the clone, as well as normalize the entire site so it is more WP normal – and want to remove many of the hacks.
I use this as a CMS – with many pages.
It also has a shopping cart plugin from the current live site that I want to replace in the clone as well.- I copied the (live) wordpress folder, and renamed it wordpressDEV.
- I created a subdomain https://wordpress.videvent.com for the clone.
- I then changed the wp-config.php file for the clone to look for a completely different mySQL DB, which I also created in MySQL as an empty DB.
- I then created a MySQL dump of the tables for the live site, and imported them all into the new table.
I could then log into the site.
So far, so good.Here’s my problem.
I had set up the live site to use the shopping cart’s front page as the site’s home page in WP settings. And, because I had hard coded the menu items in the header.php file, there is no way for me to navigate the site now, without it taking me back to the live site.
In fact, when I try going to https://wordpress.videvent.com/wp-admin I am always redirected to the wp-admin page for the live site as well.What do I do please?
- The topic ‘Need to clone full site to make extensive mods, and then will make it live later’ is closed to new replies.