homepage Welcome to WebmasterWorld Guest from 54.211.95.201
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Fetch as Googlebot Message: HTTP/1.1 301 Moved Permanently
Why am I getting this error?
afreshup




msg:4341916
 8:09 pm on Jul 20, 2011 (gmt 0)

Can anyone help me find out why my wordpress site is getting this error when I fetch as Google Bot?

__________________________________________________________________

HTTP/1.1 301 Moved Permanently
Date: Wed, 20 Jul 2011 20:01:03 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Location: [widget.com...]
Content-Length: 414
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 <a href="http://widget.com/about/">here</a>.</p>
<hr>
<address>Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at directbanc.com Port 80</address>
</body></html>

__________________________________________________________________

Here is a copy of my htaccess file:

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

# END WordPress


Any help or suggestions would be greatly appreciated ...

 

lucy24




msg:4341923
 8:20 pm on Jul 20, 2011 (gmt 0)

Does the RewriteBase really have both a leading and a trailing slash?

afreshup




msg:4341927
 8:29 pm on Jul 20, 2011 (gmt 0)

whenever you type "http://www.widget.com/about"
it will default to:
"http://www.widget.com/about/"

Is that what you are asking?

lucy24




msg:4341951
 9:20 pm on Jul 20, 2011 (gmt 0)

No, I mean the actual text of your htaccess. Adding the slash in a type-in is an entirely different process.

g1smd




msg:4341989
 10:37 pm on Jul 20, 2011 (gmt 0)



I assume that it's a standard
- www to non-www redirect, or
- add directory slash redirect;
what URL did you request to get this response?

afreshup




msg:4342219
 2:55 pm on Jul 21, 2011 (gmt 0)

Hi g1smd, thanks for the help .... i used the following url's

/about/
and
/about
/about/index.php

All returned the same ...

lucy24




msg:4342374
 6:37 pm on Jul 21, 2011 (gmt 0)

... and you're understandably confused because if my mouse-hover is giving me the right information, it says that
example.com/about/
has been permanently redirected to
example.com/about/
?

afreshup




msg:4342398
 7:23 pm on Jul 21, 2011 (gmt 0)

thanks lucy ... it was the www

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved