Tags giving incorrect urls to robots
-
Hey Folks,
I’m generating a sitemap for my site using freesitemapgenerator.com .. which is generally a pretty handy tool.
however, when it runs thru the wordpress files, the archives file seems to be giving it a bad url for tags. It’s kinda hard to explain, but for any given tag, say ‘alaska’ the archive page for that tag is apparently displaying an extra slash at the end:
for example, it says this page:
http://www.alaskanalpinetreks.com/ramblings/tag/skolai-pass/
somewhere generates a url for
http://www.alaskanalpinetreks.com/ramblings/tag/skolai-pass/\
it seems to be doing that for every tag .. and it only displays a messed up url that particular tag .. for example, ‘alaska’ tag will give a bad url for the tag ‘alaska’, but no others.
it also does it for archives:
404 - http://www.alaskanalpinetreks.com/ramblings/2010/01/\ (found at http://www.alaskanalpinetreks.com/ramblings/2010/01/)
I can manually go through and correct this, but I’d rather not have to.
Given that it seems to be doing this for tags and monthly archives, it seems a possible bug? Or have I screwed something up yet again?
NB; I tried to temporarily fix it, just to generate an error free sitemap, but deleting the ‘tags’s section form the archives and main template files, but it still found this anyway.
Thanks so much for your help.
Cheers
- The topic ‘Tags giving incorrect urls to robots’ is closed to new replies.