Support » Fixing WordPress » Replacing old WP on sub-domain w/ new WP from a sub-folder in Primary domain

  • Fundamental Charlie


    Backstory: I was running an old version of WP, (it’s still running now), and I desperately needed to update everything so I built a new version of my monitized blog in a subfolder under the primary domain and now I can’t get it to replace the old one without all the links resulting in a. “404 page not found,” error.

    BlueHost has tried to help me twice with this and as I write this, they are restoring all of my data from their backup copy, again, (ever see a monkey f**k a football?)

    OK, 1) primary is <>
    2) old sub domain is <>
    3) the new site I built as the replacement is in

    I’m dying here! I really need the 3rd grader’s version of, “Doing what should be simple to make things work – For Dummies.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • vtxyzzy


    Here is an article showing the steps I use to migrate (or copy) a site:



    After you move it to the new folder, if the links give you a 404 error, have you tried to go to your Permalinks page and click the SAVE button? You don’t have to change any settings, just save it again so it will write the correct code into your .htaccess file.

    Also, sometimes when you move installs like this, the pictures will not show since they’re looking at the old location instead of changing. To fix that, you can use a search and replace plugin to look for all instances of and change them to instead.



    Do not use any search-and-replace on the database unless it will correctly handle serialized strings. Doing so will break many themes and plugins that store information in those strings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replacing old WP on sub-domain w/ new WP from a sub-folder in Primary domain’ is closed to new replies.