Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: tags.php generates a 302 header – Google doesn’t like redirects in the sitemap


chrishajer
Participant

@chrishajer

Here’s an example of a URL in the sitemap.

http://www.riversideinfo.org/forum/topic.php?id%3D3%26page%26replies%3D1

If you do a

curl -I http://www.riversideinfo.org/forum/topic.php?id%3D3%26page%26replies%3D1 you get a 302 header back. If you URL unencode the URL and do a curl -I, you get back a proper 200:

curl -I "http://www.riversideinfo.org/forum/topic.php?id=3&page&replies=1"

I am not using permalinks or slugs, and that plugin author doesn’t seem to have updated it since I installed it long ago. I actually turned it off a while ago because of the amount of time it was taking to generate the sitemap for 5000 posts.

http://boakes.org/talk/topic/31

So, I guess the question is, why does that first URL trigger a 302? Maybe the sitemap plugin is creating URLs that are poorly formed?

Skip to toolbar