• Here’s what I get when I do the “search as googlebot” feature on Google Webmasters:

    HTTP/1.1 301 Moved Permanently
    Date: Fri, 08 Apr 2011 14:40:35 GMT
    Server: WebServerX
    Location: https://www.jeffcooneyweddings.com/blog/
    Content-Length: 327
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=iso-8859-1

    <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>
    <h1>Moved Permanently</h1>
    <p>The document has moved here.</p>
    <hr>
    <address>WebServerX Server at https://www.jeffcooneyweddings.com Port 80</address>
    </body></html>

    Obviously….. it’s not good for the title of the page to be seen as “301 moved permanently” and the h1 tag to be “moved permanently” — how can I get these fixed so Google reads my titles and h1 tags?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Quick question, did you request jeffcooneyweddings.com/blog/ or www.jeffcooneyweddings.com/blog/

    I’m guessing you asked for jeffcooneyweddings.com/blog/ which would explain the 301 redirect (which is actually what you want to happen and will not show you header as “moved permanently”.

    If I load you site without the www. I am redirected with a 301 to the page with the www. That is fine if you want it that way. Some people prefer to redirect without www or with.

    The key is that one or the other redirects to the other. That way you homepage can only be found through one address and will not show as duplicate content.

    Sorry if thats confusing :/

    Thread Starter jeffcooneyweddings

    (@jeffcooneyweddings)

    Yeah that makes total sense — unfortunately though I requested it WITH the www. (I actually can’t check it without the www… when I go to the googlebot fetch page, it only allows me to either search https://www.jeffcooneyweddings.com OR https://www.jeffcooneyweddings/”SOMETHING&#8221; (such as /blog).

    The reason you can’t request your site without www is because when you originally added your site to webmaster tools you added it with the www. I just tested that theory with a new site I’m working on.

    errr one sec looking into something…

    Ok, there is no reason Google would see anything differently then what I’m seeing in my browser unless you have a specific rule in your .htaccess redirecting the Google bot elsewhere. As long as you haven’t added anything like that we can assume Google and I are seeing the same results. Even though you are telling Google to check https://www.jeffcooneyweddings.com/blog/ it may actually be checking https://jeffcooneyweddings.com/blog/, which would explain the redirect.

    What I am seeing is that on your blog pages jeffcooneyweddings.com/blog is redirecting to https://www.jeffcooneyweddings.com/blogs. That is fine, you only want one version of each page.

    However on your home page and other non WordPress pages I can get https://www.jeffcooneyweddings.com or https://jeffcooneyweddings.com. That is actually bad as we only want one version of each page. To Google that looks like duplicate content. It’s not a huge deal, Google is much better nowadays at handling things like that, but it’s still best to avoid.

    To fix that you need to add this block of code into a second .htaccess file in your root directory. You already have one .htaccess in /blog that WordPress created, you just need one for the other non WP pages.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^jeffcooneyweddings.com
    RewriteRule (.*) https://www.jeffcooneyweddings.com/$1 [R=301,L]

    Basically this will 301 redirect anyone visiting non www pages to www pages outside of your WP pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fetch as Googlebot — 301 error?’ is closed to new replies.