Blog / How-to Guides / How to Mirror your WordPress site in a separate Folder

How to Mirror your WordPress site in a separate Folder

It is very important to set up a testing workspace for your WordPress website. It’s too dangerous, there are many problems in experimenting themes and plugins to your live website. It may lead to change in permalink structure, change in the media folder file path, RSS feed redirection and many more. So, You will be hardly in need of that in order to test your new plugins and themes to get installed. There are several ways to get mirrored your website in both local and online on your hosting. Here I would share my experience on creating a mirror site of your WordPress blog with the same domain.

Mirror your WordPress Site

Steps to Mirror your WordPress site

  1. First, log in to your Hosting Account.
  2. For Godaddy users, choose My AccountWeb Hosting → Launch.
  3. You will be redirected to the Web Hosting Manager.
  4. Choose FTP → FTP Manager, you will redirect to FTP files with ” /(root)” folder.
  5. Create a “new folder” into the Root Folder.
  6. Here, I name the new Folder as “Test“.
  7. Upload the WordPress installation files into the “Test” folder.
  8. Now, create a duplicate copy of “Config.php” of your live WordPress blog in the Root Folder. It will be created like “Config-copy.php“.
  9. Now, move the newly create duplicate “Config-copy.php” into the “Test” folder.
  10. Rename the “Config-copy.php” into “Config.php“.
  11. Now, Go to you will get intimated to complete the WordPress Installation.
  12. Let everything be as it is, just change the Table index from “wp_” into “test_“.
  13. Follow the rest as like your default WordPress installation.


Importing all your WordPress Posts, Pages and [Many More]

  1. Log in to your WordPress Account.
  2. Go to Tools → Export.
  3. All Content” will get selected by default, and click Download Export File.
  4. Follow the same process as we said in step 2, but this time choose”Import”.
  5. You will get the list of Blogging Platforms like Blogger, Tumblr and WordPress. Here, click WordPress to import all your posts and other contents as a .XML” file.
  6. You will be redirected to download WordPress Importer plugin, to import all the contents.
  7. After importing, enter into the WordPress Dashboard of your Test Site.
  8. Here, choose the Import and upload the .XML file.
  9. Now, you will get all your Posts, Pages and all other contents.

That’s all, the mirror of your WordPress site is created successfully. Hope! This is the best way to creating a testing environment for your WordPress blog.


Leave a Reply