2

For example:

I have a wordpress site(blog) on www.xxxxxx.com

I want to upgrade some plugins and WP version of site but before it i want to check all things on a mirror version.

How to make a mirror backup site of currently running site on same server like www.xxxxxx.com/testing-site/?

whatever i will do on mirror site, should not effect to live site.

I will delete mirror after successfully checking all upgrade on it? and will upgrade WP version and plugin on live site.

I don't want to loose any content, comment on live site(blog).

My hosting is on PHP based server and my hosting control panel is cpanel

1 Answer 1

1
  • Make a copy of the database.
  • Create a new database user.
  • Make a copy of the Wordpress Web tree
  • Point wp-config.php to the database copy
  • If desired, setup a separate VirtualHost for the copy
  • Test your changes

Be careful, ideally this would be a separate server.

10
  • "ideally this would be a separate server" but not technically it should be possible on same server.
    – user36392
    Jul 8, 2010 at 17:50
  • huh? When you make a mistake and mess up the primary site, you'll understand the benefits of a separate server.
    – Warner
    Jul 8, 2010 at 18:03
  • The procedure I provided can be applied to your single server.
    – Warner
    Jul 8, 2010 at 18:10
  • @Warner - I'm very agree with you. but the problem is i don't have another server
    – user36392
    Jul 9, 2010 at 8:24
  • @Warner - Can i use same database for both sites main and testing. because in testing site i will not add any new article or comment. i will just upgrade wordpress versions and plugins and i think it will not write anything in database.
    – user36392
    Jul 11, 2010 at 4:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .