New website under existing website; how to switch (4 posts)

  1. rosso711
    Posted 1 year ago #

    Hey everyone, need some help.

    I have a live site with woocommerce on a domain.

    I wanted to redesign the page, and since i didnt want to take it down in the process, I started building a redisgned site in a folder in the root of the site and created a new installation there.


    existing site is on http://www.example.com
    new site is on http://www.example.com/newsite

    So i have my current site working on my domain, and the new site is finished and ready to go live on the domain.

    How should i go about making the new site live?

    Thank you in advance.

  2. Pothi
    Posted 1 year ago #

    You are probably looking for http://codex.wordpress.org/Moving_WordPress#Moving_Directories_On_Your_Existing_Server . Always take a backup (of database and files) before migrating anything. Best!

  3. rosso711
    Posted 1 year ago #

    I read all of it but its not really clear to me what do in my case.

    What i thought of doing is delete everything in the root directory, then move the files from /newsite/ to the root and then use the "search and replace" script.

    And finally change the permalinks in .htaccess.

    Would that work ok?

    Is this the proper way?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    If you wish to physically move WordPress, please review Moving_WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.