• Resolved BobRoberts123

    (@bobroberts123)


    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.

Viewing 3 replies - 31 through 33 (of 33 total)
  • In order to prepare a local test setup of your live website on windows. you need to,

    – download the public_html folder and database export.
    – Create a new database and Import the database export to new database
    – copy the public_html folder to the c:\xampp\htdocs folder
    – Make url changes in the general settings by accessing the admin dashboard

    If you want to know the detailed (tested) steps with pictures. Visit the following URL:

    https://www.thegeekscope.com/how-to-copy-a-live-wordpress-website-to-local-windows-environment/

    Hi, thanks for replying.

    I am moving the site to another server (not local host). I don’t want to download and upload the whole website if I don’t need to.

    I know most CMS’s have some sort of cache/upload/thumbnail etc folders and they’re not always necessary. Does wp have any such folders?

    Thanks Sunny! This has helped me a lot!

    Johanna

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘How to Copy WordPress Site to Local Test Server’ is closed to new replies.