WordPress.org

Forums

[resolved] Help Fetch as Google returns 301 Moved Permanently (3 posts)

  1. Peter
    Member
    Posted 2 years ago #

    whenever Google fetches a certain page in my blog such as blog.shimmertechno.com/troubleshoot I get the 301 Moved Permanently error. I can fetch the URL blog.shimmertechno.com no problem. If it is relevant info, this blog is a sub domain for http://www.shimmertechno.com. Not sure where to start here, any help is appreciated. Thank You

    Fetch as Google:

    HTTP/1.1 301 Moved Permanently
    Date: Fri, 15 Jun 2012 19:00:59 GMT
    Content-Type: text/html
    Transfer-Encoding: chunked
    Connection: keep-alive
    Server: Nginx / Varnish
    X-Powered-By: PHP/5.2.17
    Location: http://blog.shimmertechno.com/troubleshoot/
    Vary: Accept-Encoding
    Content-Encoding: gzip

    .htaccess file for blog.shimmertechno.com:

    DirectoryIndex index.php

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  2. Peter
    Member
    Posted 2 years ago #

    I solved it, if anyone else has the same trouble. You have to type the slash at the end. So, instead of the URL
    http://blog.shimmertechno.com/troubleshoot it needs to be the exact URL http://blog.shimmertechno.com/troubleshoot/ for Google to fetch it.

  3. minida28
    Member
    Posted 2 years ago #

    Thanks, pgmarco! It really helps.

Topic Closed

This topic has been closed to new replies.

About this Topic