Title: Fetch as Googlebot &#8212; 301 error?
Last modified: August 19, 2016

---

# Fetch as Googlebot — 301 error?

 *  [jeffcooneyweddings](https://wordpress.org/support/users/jeffcooneyweddings/)
 * (@jeffcooneyweddings)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/)
 * 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: [http://www.jeffcooneyweddings.com/blog/](http://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](http://www.jeffcooneyweddings.com/blog/).</p> <hr> <address>
   WebServerX Server at [http://www.jeffcooneyweddings.com](http://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)

 *  [crock2](https://wordpress.org/support/users/crock2/)
 * (@crock2)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/#post-2022317)
 * 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](https://wordpress.org/support/users/jeffcooneyweddings/)
 * (@jeffcooneyweddings)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/#post-2022320)
 * 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 [http://www.jeffcooneyweddings.com](http://www.jeffcooneyweddings.com)
   OR [http://www.jeffcooneyweddings/”SOMETHING&#8221](http://www.jeffcooneyweddings/”SOMETHING&#8221);(
   such as /blog).
 *  [crock2](https://wordpress.org/support/users/crock2/)
 * (@crock2)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/#post-2022329)
 * 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…
 *  [crock2](https://wordpress.org/support/users/crock2/)
 * (@crock2)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/#post-2022342)
 * 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 [http://www.jeffcooneyweddings.com/blog/](http://www.jeffcooneyweddings.com/blog/)
   it may actually be checking [http://jeffcooneyweddings.com/blog/](http://jeffcooneyweddings.com/blog/),
   which would explain the redirect.
 * What I am seeing is that on your blog pages jeffcooneyweddings.com/blog is redirecting
   to [http://www.jeffcooneyweddings.com/blogs](http://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 [http://www.jeffcooneyweddings.com](http://www.jeffcooneyweddings.com)
   or [http://jeffcooneyweddings.com](http://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 (.*) http://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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [crock2](https://wordpress.org/support/users/crock2/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/fetch-as-googlebot-301-error/#post-2022342)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
