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

    (@inquisitor-ehrenstein)

    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.

    Thread Starter Inquisitor Ehrenstein

    (@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 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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

    Thread Starter Inquisitor Ehrenstein

    (@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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

    Thread Starter Inquisitor Ehrenstein

    (@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.

    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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.