• does anybody know how to create a mirror site of my blog while i test some changes?
    I want to keep the original, and at the same time the testing one with restricted access.
    thanx!

Viewing 2 replies - 1 through 2 (of 2 total)
  • (I’m not an expert, just browsing unanswered posts)

    I’m gonna have an educated guess:

    Backup everything; data and theme etc.
    Install a brand new WP to a folder like /test/
    Install your backed up data and theme on the new WP.
    This gives you a COPY, but you wanted a MIRROR:

    Edit the new wp-config.php to match your live blog:
    These three lines:

    /** The name of the database for WordPress */
    define('DB_NAME', 'wwwlars_wp1');
    
    /** MySQL database username */
    define('DB_USER', 'wwwlars_wp1');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'L&7iu9KHHFJ#5');

    You may even get away with simply copying the config.php from the LIVE blog into your TEST blog.

    If this does not work then I’ve obviously missed something, but I must be somewhere near, right?!

    Upon thinking about this, I may have spoken too soon…

    I can see the above change will effect both the blog and the wp-admin. So, anything you do in either the live or test admin will be reflected in both the test and the live sites. So, while it may provide a solution for testing code via FTP like I’m doing; you would have to leave the admin system alone; or changes will be reflected on both sites…

    Sorry, I’m thinking aloud .. bump; bump; anyone got a tried n tested solution for a mirror?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to create a mirror site while i test changes’ is closed to new replies.