How To Clone A WordPress Web Site

March 22, 2011

Wordpress

  • Compress your entire WordPress install into one zip file, then move it to the new directory for the new domain
  • Create a new mySQL database, and attach a user to it with all privileges
  • Backup your SQL database using phpmyadmin
  • Import the backed up SQL database into the new database in phpmyadmin and check to make sure that all tables have been imported
  • Enter the new database details into your wp-config file, plus add the following line of code to the file
  • define(‘WP_HOME’,’http://example.com’);
  • define(‘WP_SITEURL’,’http://example.com’);
  • After log to your site and go to Permalinks settings then resave common settings
  • Test your new domain. If its working, then all is good. If not, check for spelling errors

 

, ,

One Response to “How To Clone A WordPress Web Site”

  1. Jude Says:

    Thanks very much for the info, nice post.

    Reply

Leave a Reply