Issue replicating a production web site onto my computer
-
Hello,
In order to be able to test a new theme without messing up a production site that I took over from another person, I embarked into trying to create a duplicate version of it on my MAC (latest OS).
I have successfully installed the latest versions of MAMP and WordPress, created a database and imported the tables of the production site, replaced the local wp-content folder with a copy of the one in production. Then, I launched the Search-Replace-DB-master code in order to change the URLs.
At the end of this last step, trying to go to the site after having started the MAMP servers results in MAMP launching “https://www.localhost:8888/” which triggers the sending of an error message advising that the address can’t be found.
Would you have an idea of what the problem is ? ….Note that – for a reason I never understood – the production website presents a mix of URL reading either https://www.mysite.fr/…. or https://www.mysite.fr/sitev3/…
So I performed several iterations of the Search and Replace algorithm, changing “mysite.fr” with “localhost:8888”, then changing “sitev3/” to “”, and eventually deleting the “https://www.” that I spotted remaining in different tables. Not the cleanest sequence of operations admittedly…I’d be grateful if you can help me fix this or advise about another way to perform this duplication without falling in traps !
Thank you !
Eric.
- The topic ‘Issue replicating a production web site onto my computer’ is closed to new replies.