• Resolved IntegrityWebDev

    (@integritywebdev)


    I have a live WP site at https://www.example.com/site1

    I am using a custom theme heavily modified and the person I’m working with wants to use a new theme that will require some modification before use and will also require some content changes. Because the site is live and I need to make changes I cannot just switch themes.

    I’m *thinking* I need to make a second copy of the site, including the DB at: https://www.example.com/site2 as well as make a second DB, then do all my work there. Once I’m done make that live.

    What are your thoughts on this? How exactly do I go about doing this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I believe that all you need to do is create a new directory named ‘site2’ under the root directory for your current site.

    You should be able to access that using https://www.example.com/site2. You can test that out using a simple ‘Hello, world’ index.php file.

    If that works out, you can create a new database and do a new install of WP in that directory. Once you get that running, you can migrate the current site to the new one following the steps here:
    https://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    That will give you a duplicate of the current site to develop the new theme.

    Getting that theme and new content to be the live site is somewhat complicated if you want to retain any Google ranking. I am not an expert in this area, so you should probably get more information about this before you commit to switching to a duplicate site.

    Thread Starter IntegrityWebDev

    (@integritywebdev)

    Thanks, I did this and it worked out great!

    If your problem has been solved, please use the dropdown on the right to mark this topic ‘Resolved’ so that anyone else with this question can see that there is a solution.

    Also, I would appreciate a comment on the page with the instructions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to create a temp copy of site on a same server’ is closed to new replies.