WordPress.org

Ready to get started?Download WordPress

Forums

Problem moving my ms install (5 posts)

  1. ColinD
    Member
    Posted 2 years ago #

    We built a new MS site for a school and are trying to move it to the web root to push it live but I can't log in. I just get redirected back. If I enter a bogus password it barks at me that the password is wrong and that "cookies are blocked or not supported in your browser" but that's not accurate. I've cleared the cache, cookies, etc. multiple times but still not go.

    We built it with MS option for subdirectories and built itself in a subdirectory:
    /public_html/staging/'wp install is here'
    So the URL we've used for testing has been:
    http://www.serendipityschool.com/staging
    and so we have blogs like:
    http://www.serendipityschool.com/staging/kindergarten

    Now we just want to move it all up a level to:
    /public_html/'wp install is here'
    so the URL becomes
    http://www.serendipityschool.com/
    and the blogs become
    http://www.serendipityschool.com/'classroom-name'

    I used BackupBuddy for the migration and that seems to be OK. The site appears and the menu links and images work.

    I edited my htaccess to remove my rewrite_base declaration so it doesn't rewrite to /staging/

    I edited my wp-config.php so $base=""
    I try to edit my 'PATH_CURRENT_SITE' but if I change that to anything other than '/staging/' I get a DB connection error.

    I renamed the actual staging directory to ensure that it wasn't accidentally serving up stuff from inside that directory.

    Any ideas would be appreciated.

    Thanks,
    Colin

  2. Did you change every URL in the entire db? Kinda gotta do that too.

  3. ColinD
    Member
    Posted 2 years ago #

    Yes, that's what BackupBuddy does. DB migration seems fine (links work, images load, etc), but there's clearly some little nuance I'm not understanding. I think it may have something to do with the path for blod_id 1.

    (BTW: I did some htaccess hackery so that the web root redirects to /staging/ so the site can be live there for time being while I sort myself out. The links in the original post will take you into /staging by design now )

  4. You'd have to go through the WHOLE db again to look for any and all instances of 'staging'

    A search/replace may not hit up the wp_sites tables, and I can't remember if they story things in odd ways.

  5. Then you need to ask at Backup Buddy support. If they say that you can do this, and you have issues when using their plugin, then you ask them for support. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.