tags.php generates a 302 header – Google doesn’t like redirects in the sitemap
-
I was checking my Google sitemap stats and saw this recently for my bbPress sitemap:
URLs not followed
When we tested a sample of the URLs from your
Sitemap, we found that some URLs were not accessible
to Googlebot because they contained too many redirects.
Please change the URLs in your Sitemap that redirect
and replace them with the destination URL (the redirect
target). All valid URLs will still be submitted.
Further reading led to this:
http://www.google.com/support/webmasters/bin/answer.py?answer=48551&hl=en
So my questions are:
1. What is the reason this is a 302 header (temporary redirect) vs a 301 header (permanent redirect)?
2. Can it be changed in the code or with a plugin to generate a 301 header so Google will follow the URLs?
3. If this is not possible, what would the proper permanent URL be for a tag URL like http://www.example.com/forum/tags.php?tag%3Dghosts
BTW, I am using the Sitemap plugin for bbPress by Richard Boakes. http://boakes.org/talk/topic/31
I can modify that to write the proper permanent URLs to the sitemap if that’s the easiest way to go about it. Or, maybe tags URLs should not even be in the sitemap (they are just pointers to content that exists elsewhere anyway.)
Thanks.
- You must be logged in to reply to this topic.