WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP 3 MultiSite, changed url, broken blogs (3 posts)

  1. linussolo
    Member
    Posted 4 years ago #

    Please note that i moved my WPMU 2.9.2 to WP 3.0 RC1 with Multisite before doing this and i'm also running buddypress+bbpress (both latest versions) on this blog.
    My system is linux debian 5.0 that used to run WPMU 2.9.2 just fine.

    So i changed the url of my install from http://elosnetwork.it/wpmu to http://elosnetwork.it
    (note that http://www.elosnetwork.it is pointed on another server at the moment)

    This is what I did:
    -Changed wp-config.php and .htaccess in the root directory
    -Replaced every mention to /wpmu in the database carefully, and (i think) didn't mess up anything even in serialized arrays
    -(also changed bb-config.php path)

    Everything's working a part that when new blog are created they're still created with the wpmu path, so elosnetwork.it/wpmu/blogname instead of elosnetwork.it/blogname
    The real blog is viewable only at elosnetwork.it/blogname instead, causing a 404 page in the theme when clicking on /wpmu/blogname.

    Of course in the admin panel it says choose your blog url in the format elosnetwork.it/blogname without the /wpmu.

    My question is simple: *where can the other reference to "/wpmu" be?* I really can't find it!

    (I was also thinking about writing a .htaccess line that mapped elosnetwork.it/wpmu/$1 to elosnetwork/$1, would that be a good fix until i find the missing "wpmu" reference?)

  2. linussolo
    Member
    Posted 4 years ago #

    Whoops, I forgot to change $base on wp-config.php

    So if someone happen to read there this is the correct way to move your wp 3.0 multisite from /path to /

    -change 2 values in wp-config.php
    -change value in .htaccess redirect
    -modify every reference in the database from /path to / being careful about leaving everything in the same format of before
    -also remember to change external plugins paths (bbpress for example)

  3. carl-johan
    Member
    Posted 3 years ago #

    Cheers for that little walk through, did the trick for me!

    I can confirm this works for changing the URL of your site. That is not moving the site but changing the main URL, which I could not seem to do through the Panel like on a standard WP installation?

    In addition, the tables I need to update in the database were: wp_#_options (with # for each site in the multisite), wp_options (I assume, sry don't remember now :D) and wp_blogs.

    I run WPML for multiple languages, but that seems to be working with out any edits in the DB.

    Again, thanks for this post!

    / CJ

Topic Closed

This topic has been closed to new replies.

About this Topic