WordPress.org

Ready to get started?Download WordPress

Forums

Replacing old WP on sub-domain w/ new WP from a sub-folder in Primary domain (4 posts)

  1. Fundamental Charlie
    Member
    Posted 1 year ago #

    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 <thefundamentalist.info>
    2) old sub domain is <opportunities.thefundamentalist.info>
    3) the new site I built as the replacement is in
    <thefundamentalist.info/new-opp>

    I'm dying here! I really need the 3rd grader's version of, "Doing what should be simple to make things work - For Dummies."

  2. vtxyzzy
    Member
    Posted 1 year ago #

    Here is an article showing the steps I use to migrate (or copy) a site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

  3. BH_WP_Guru
    Member
    Posted 1 year ago #

    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 opportunities.thefundamentalist.info and change them to thefundamentalist.info instead.
    http://wordpress.org/extend/plugins/search-and-replace/

  4. vtxyzzy
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.