WordPress.org

Support

Support » Multisite » The main blog is not accessible

The main blog is not accessible

Viewing 8 replies - 1 through 8 (of 8 total)
  • Should I edit the blogs table in the database from characters.ssu.lt to www.characters.ssu.lt?

    EDIT

    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.
    http://img.sturmkrieg.com/forum/i/src/1374895695151.png

    Hi,

    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.

    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 characters.ssu.lt
    _blog is characters.ssu.lt
    _options is http://characters.ssu.lt

    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.

    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 http://www.characters.ssu.lt 🙂 Don’t replace anything yet, just see if anything pops up.

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

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

    EDIT

    There were no matches for http://www.characters.ssu.lt. There were 42 matches for characters.ssu.lt.

    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 www.characters.ssu.lt. (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.