• Good Morning,

    I’m still a beginner with WordPress, but just for fun, I’ve been trying to learn more and installed 3.0. I have multisite enabled and running. However, after I created a test site from the site admin, I click ‘visit’ to check it out, and I get an ‘Authentication Required’ prompt that will not accept any user credentials from the main site, even the super admin login. It just keeps popping back up and if I click ‘cancel’ I get a “you are not authorized page.”

    I would really appreciate any suggestions or even a “Hey, Dummy. Go read this first” type of link.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Do you have you main installation on one domain and your second blog on a domain that is NOT a subdomain of the first blog? e.g.

    First: mywordpress.com
    Second: mysite.com — NOT mysite.mywordpress.com

    In that case wordpress probably just is not able to set the cookie for the second blog. Try adding

    define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);

    to your wp-config.php.

    Thread Starter bogjacket

    (@bogjacket)

    I’m sorry. I should have specified.

    It’s main site: mainsite.com
    test site: mainsite.com/testsite

    Should I still add that line to the config file?

    wp-content/blogs.dir is still empty. Shouldn’t there be something in that directory after creating a new site off the main?

    In that case you should not need the COOKIE_DOMAIN because everything is under the same domain. Don’t have an idea in that case. Anybody else?

    I think the blogs.dir directories are created in the moment you upload a file to a blog for the first time. It’s okay that it is empty.

    Thread Starter bogjacket

    (@bogjacket)

    Thanks, anyway, BlaM4c.

    To update, I just created “test2” and attempting to visit that does not require authentication. Rather, it just goes straight to “Page cannot be found.”

    I have support (3essentials.com) looking at it now.

    @bogjacket – actually that’s really odd. Can’t say I’ve seen that error before. (so it’s not you or a noob thing)

    The subfolder blogs work via mod_rewrite. As long as the .htaccess file is present and is actually being read, they should serve up just fine.

    you may want to double-check and see if you’ve set any authentication on subfolders of the server though. the authentication prompt is definitely on your server end, not WP.

    Thread Starter bogjacket

    (@bogjacket)

    Thanks, Andrea.

    Now, without even making changes, I can’t get to the site admin page. I must have messed something up on the install, maybe the .htaccess file, because the problems keep getting more and more strange.

    Why can’t the WP 3.0 package just come with the proper .htaccess file? I just created a text file, copied in the lines from the tools->network instructions and renamed it after transferring to the server, via FTP.

    I’ll try, once again, to scrap the whole thing and reinstall. I hadn’t done anything with it yet, anyway.

    and renamed it after transferring to the server, via FTP.

    Rename it locally, then transfer the htaccess file.

    running a network requires more skills, beyond that even of troubleshooting the setup.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t get past authentication for new site’ is closed to new replies.