| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
daddyo
Joined: 12 Sep 2007 Posts: 38
|
Posted: Wed Oct 24, 2007 4:40 am Post subject: Google Sitemaps and Robots.txt don't jive |
|
|
I have the following in my Robots.txt file in my root website directory:
User-agent: *
Disallow: /phpBB/viewforum.php
Disallow: /phpBB/viewtopic.php
Disallow: /phpBB/index.php?
Disallow: /phpBB/posting.php
Disallow: /phpBB/groupcp.php
Disallow: /phpBB/search.php
Disallow: /phpBB/login.php
Disallow: /phpBB/privmsg.php
Disallow: /phpBB/post
Disallow: /phpBB/member
Disallow: /phpBB/profile.php
Disallow: /phpBB/memberlist.php
Disallow: /phpBB/faq.php
But today, when I logged into Google Sitemaps, it tells me it didn't index about 4600 URLs, some of which are in my new SEO format..
Like this one:
-http://www.mydomain.com/phpBB/I-want-this-thread-indexed-t12345.html
Is everything functioning correctly? Should the Robots.txt only be blocking URLs with "viewtopic?t=#####" in them and leaving the ones like I listed above alone? |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3128
|
Posted: Wed Oct 24, 2007 6:49 am Post subject: Re: Google Sitemaps and Robots.txt don't jive |
|
|
I bet :
-http://www.mydomain.com/phpBB/I-want-this-thread-indexed-t12345.html
in deed is -http://www.mydomain.com/phpBB/this-thread-is-private-t12345.html
Topics posted in private forum are thanks to god not public for real, so, when you follow such a link as a guest, you' indeed HTTP 302 (not 301) redirected to the login form, and login.php is disallowed with the robots.txt.
The 302 redirection makes so Google still consider the topic url to be the "real" one, but at the same time, it take into account the disallow on login.php.
About the other disallowed pages, looks like your forum previously was indexed. So if it was with the regular URLs, you can get rid of :
| Code: | Disallow: /phpBB/viewforum.php
Disallow: /phpBB/viewtopic.php
Disallow: /phpBB/index.php? |
For couple month, and let the zero duplicate ( you need it in case you did not activated it ) do the rest  |
_________________
|
|
| Back to top |
|
 |
daddyo
Joined: 12 Sep 2007 Posts: 38
|
Posted: Wed Oct 24, 2007 1:18 pm Post subject: Re: Google Sitemaps and Robots.txt don't jive |
|
|
So I have Zero Dupes and one of the SEO Mods (intermediate or advanced links I think) installed right now, trying to get Google to de-index my viewforum.php?t=12345 links and start indexing my This-link-needs-indexing.html instead.
And you're telling me I need to remove those three lines in my Robots.txt file?
Disallow: /phpBB/viewforum.php
Disallow: /phpBB/viewtopic.php
Disallow: /phpBB/index.php? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
daddyo
Joined: 12 Sep 2007 Posts: 38
|
Posted: Sun Oct 28, 2007 2:18 pm Post subject: Re: Google Sitemaps and Robots.txt don't jive |
|
|
OK. Thanks.
BTW, do you have a Paypal donation button? Your techniques here and your responses to my questions have been worth so much over the past few months. Without your site, I don't know where my site would be. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |