The MU forums have moved to WordPress.org

302 problems for individual blogs (8 posts)

  1. jayze302
    Member
    Posted 14 years ago #

    When I check my blogs in google webmaster tools I am getting a 302 response. I am using the "what googlebot sees" tool and it responds this way for some reason.

    my wp-mu install is located in a directory like this

    http://www.example.com/blogs

    Every page on my site gets a 200 response except for the main /blogs/ directory and the individual /blogs/blog-1/

    I am not using any .htaccess anywhere on the site, so I am trying to figure out why their would be redirects.

    Thanks for any help!

  2. jayze302
    Member
    Posted 14 years ago #

    bump

  3. jayze302
    Member
    Posted 14 years ago #

    Does no one have any suggestions as to why the blogs are having 302 redirects when google indexs them??

  4. andrea_r
    Moderator
    Posted 14 years ago #

    No, because we don't have any info to go on - we'd be guessing.

    What plugins are you using?
    Can we see a link?
    Did you do anything to the setup outside the norm?
    Is it a brand-new install?
    Did you try any troubleshooting, like turning off all plugins?
    Are you running multiple domains?
    What's it say in the header of the HTML source of the page on the ones doing the redirects?
    Is there a link we can look at?

    And why is your site still working with no htaccess file? That's how it servers up the blogs and permalinks.
    Are you on a Windows server?
    Are you on a host that does something funky to prevent the "need" for htaccess files?

  5. ninnypants
    Member
    Posted 14 years ago #

    how are you installing blogs on example.com/blogs/blog-1/ without using .htaccess? it's what wordpress uses to create blogs in sub directories.

  6. jayze302
    Member
    Posted 14 years ago #

    Nothing different outside of the normal install, it is a month old install. I am currently running the prosense-blue theme will the basic widgets. However, the problem was still there when I was using the classic and default wordpress themes.

    My main blog page is located at http://www.babytuition.com/blogs with all the subsequent individual blogs located in sub directories after it.

    As for the .htaccess file, I have not gotten around to setting one up yet, could that be the problem? Do I just need a wordpress specific .htaccess file?

    Here is the header of a blog page with the problem:

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>Andrea's New Born Baby Blog - Just another Babytuition.com Baby Blogs weblog</title>

    <meta name="generator" content="WordPress 2.8.4" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="http://babytuition.com/blogs/andreas-new-baby/wp-content/themes/ProSense-Blue/style.css" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://babytuition.com/blogs/andreas-new-baby/feed/" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="http://babytuition.com/blogs/andreas-new-baby/feed/rss/" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://babytuition.com/blogs/andreas-new-baby/feed/atom/" />
    <link rel="pingback" href="http://babytuition.com/blogs/andreas-new-baby/xmlrpc.php" />

    <link rel='archives' title='October 2009' href='http://babytuition.com/blogs/andreas-new-baby/2009/10/' />
    <link rel='archives' title='September 2009' href='http://babytuition.com/blogs/andreas-new-baby/2009/09/' />

    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://babytuition.com/blogs/andreas-new-baby/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://babytuition.com/blogs/andreas-new-baby/wp-includes/wlwmanifest.xml" />
    <link rel='index' title='Andrea's New Born Baby Blog' href='http://babytuition.com/blogs/andreas-new-baby' />
    <meta name="generator" content="WordPress 2.8.4" />
    <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
    </head>

  7. mercime
    Member
    Posted 14 years ago #

    jayze302, it would help if you answered andrea_r's questions. Giving the source of your header.php is not it. It's got something to do with .htaccess file generated when WPMU was installed or when you changed permalinks or even when you might have "moved" your WPMU installation or etc etc etc

    "As for the .htaccess file, I have not gotten around to setting one up yet"
    Actually, there was an .htaccess file generated when WPMU was installed. You might not see it in FTP but definitely will see it in cpanel File viewer.

    "Nothing different outside of the normal install"
    Actually, you might have changed permalinks after your sites' have been indexed a month ago or when you changed domain URL or forced WWW on your WPMU install or something else. WP seems to be using 302 responses to all rewritten URLs. So a fix would be to use the redirection plugin to convert all permalinks/redirects into Google-ok'd 301's instead. Check out the plugin page link I gave for more information.

  8. jayze302
    Member
    Posted 14 years ago #

    After checking webmaster tools it turns out the non www version of the site indexes just fine with a 200 code. However, I have set in both the www and non www site to display as www.

    Should I install the redirection plugin? Or is there a simpler fix?

About this Topic

  • Started 14 years ago by jayze302
  • Latest reply from jayze302