Skip to:
Content
Pages
Categories
Search
Top
Bottom

Errors after trying to move files


  • Tom
    Participant

    @zenimot

    I’ve setup a site on my server, e.g. testing.domain.com/testing/

    Now I want to move the site to another location e.g. domain.com

    What files do I have to change and what database entries do I have to change?

    I’ve tried this, but either get a 500 internal server error on the site and/or the dashboard is not available.

    So far I’ve found:

    DB:

    wp_blogs: domain and path

    wp_site: domain and path

    wp_usermeta: source_domain

    wp-config.php

    ‘DOMAIN_CURRENT_SITE’ and ‘PATH_CURRENT_SITE’

    Any pointers/hints?

Viewing 9 replies - 1 through 9 (of 9 total)

  • Jeff Sayre
    Participant

    @jeffsayre

    Zenimot-

    Do you have data that you created on your development site that needs to be live on your production site?

    Did you hardcode URLs in custom php files or theme files?


    Jeff Sayre
    Participant

    @jeffsayre

    If you really do have data on your dev server that you need to move to your production server, and assuming that you do not have any hardcoded URLs, then there are a few ways that this may be accomplished. I’ve never tried this with a WPMU installation, but this first article worked fine with a single-user WP domain migration.

    http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/

    The next two articles are from the WP codex. I am not sure if they are fully applicable to WPMU, I’m providing them just for reference. As always, back up your data, back up your data, backup your data.

    https://codex.wordpress.org/Changing_The_Site_URL

    https://codex.wordpress.org/Moving_WordPress


    Tom
    Participant

    @zenimot

    Jeff, thanks for the links. I should have looked around a bit before changing all kinds of stuff… :-(

    I got the stuff moved and followed some pointers from above links.

    Right now the homepage is functional and the dashboard page.

    But the specific BP pages don’t work e.g. /blog, /members, /groups and /blogs.

    So I’m getting closer… ;-)

    But not ready yet.

    Any idea how to fix this last hurdle?

    Thanks for the help!


    Tom
    Participant

    @zenimot

    FYI: I get a 500 Internal Server Error.


    Tom
    Participant

    @zenimot

    *bump*

    So my test site is here: http://testing.zenimot.org/www.zwangeredoos.nl/

    And I tried moving it to http://www.zwangeredoos.nl/ (now showing my current Nucleus CMS powered website).

    Summary:

    I got the dashboard/admin and the homepage working, but the special BP pages not (Internal Server Error 500).

    So I would think some (underwater?) BP redirect functionality is not working correct. I probably got some setting not correct.

    Where would I have to look for this? Or can I hack my way around this?


    Tom
    Participant

    @zenimot

    Ok, solved. The problem was the .htaccess file.


    Jeff Sayre
    Participant

    @jeffsayre

    Zenimot-

    Ah, that pesky .htaccess file!

    I’m glad you have your site up and running. If this issue is resolved, all that you need to do now is set the light to green above, and we’re good to go!


    honewatson
    Participant

    @honewatson

    I’m getting 500 errors for any kind of post.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Zenimot, if this is installed on WPMU, how did you managae to get www. in front of the URL? Curious if maybe this is part of the problem?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Errors after trying to move files’ is closed to new replies.
Skip to toolbar