How to Copy WordPress Site to Local Test Server
-
Notice I use the word “copy” and not “move” – it’s only for test purposes and I want the current site to keep running for now.
I assume I should go into PHPMyAdmin and import the SQL script from the WordPress site. One important question I have, is, before doing this, can I open the *.sql file up in Wordpad and do a global change on the “https://hostingurl.com/customwebsite” and set it to my local site? Will that work? And if it will work, what should I change the URL to in order to get it to work as a local test site? I’ve unzipped the entire WordPress site into a folder called “C:\Program Files\BitNami WordPress Stack\apps\testapp”. Would I, for example, change the *.SQL file for the URL to read “https://localhost/testapp”?
Keep in mind this is a Windows 7 PC. It currently is running IIS, and if I would type in “https://localhost” into my web browser, then it would run the default site registered under IIS. So I guess that leads to another important question – how is this WordPress site on my PC “registered” to run under the Bitnami Apache web server. I can’t find any specific documentation that lists exactly what you have to do to type in a local URL in your browser and have it run your WordPress test site. Thanks in advance for consideration of these issues.
- The topic ‘How to Copy WordPress Site to Local Test Server’ is closed to new replies.