Support » Networking WordPress » The main blog is not accessible

Viewing 8 replies - 1 through 8 (of 8 total)
  • Inquisitor Ehrenstein


    Should I edit the blogs table in the database from to


    It seems that the blog IDs are the same. Is this supposed to happen? The main blog was functioning fine when I set it up.



    Contributor Day Volunteer


    Could you send over your .htaccess file? My first guess would be some re-direct or wrong configuration. Other places to check are database, specifically, the wp_site, wp_blogs, and wp_options (specifically the siteurl row) tables. Make sure that the setup is consistent among these tables as well.

    Inquisitor Ehrenstein


    Thank you for replying.

    This is .htaccess

    # Multisite
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    _site is
    _blog is
    _options is

    I did notices that under _blogs that the blog_id for the two blogs is 1 and 2, but site_id for both of them is 1. Is that supposed to be that way?

    A question:

    Does WordPress intend for the main blog to be under www?

    Wait … _site is what now?

    What do you mean by _site? wp_site?

    This is all meant to be shared data, one database, and one (common) wp_ prefix.

    Inquisitor Ehrenstein


    Sorry. It’s wp_site. I used a different prefix; I think it’s cbwp_site. I gathered the data from the shared tables.

    Ah thank you!

    Okay, so first search your whole db for 🙂 Don’t replace anything yet, just see if anything pops up.

    Everything SHOULD be but you can’t just change willy nilly, it breaks stuff.

    Inquisitor Ehrenstein


    Thanks. I’ll check that. I changed some stuff to www, but I changed it all back, so it shouldn’t be a problem.


    There were no matches for There were 42 matches for

    Do you know what I need to do to fix the problem?

    Sometimes I hate the forums and it’s stupid inserting stuff I didn’t want … anything for (i.e. WITHOUGH http)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The main blog is not accessible’ is closed to new replies.