Wrong sitemap url pinged to search engines?
« on: January 06, 2010, 09:08:24 PM »
I have a slightly unusual setup which has encountered a problem.

'Your Sitemap URL:' is configured as:
[ External links are visible to forum administrators only ]

'Save sitemap to:' is configured as:
/home/username/public_html/sitemaps/sitemap-es.xml

And I use a htaccess redirect to redirect /es/sitemap.xml to /sitemaps/sitemap-es.xml. The reason I've done this is so I can have a seperate sitemap for each language on my website.

Problem:
Google seems to be trying to download a file called sitemap-es.xml, which I have never told it about. I can only presume that the script has sent the wrong sitemap URL to Google when sending the ping. It appears that it takes the sitemap filename from the 'Save sitemap to:' setting rather than the 'Sitemap URL' setting. Is this possible?

Martin

P.S. I'm using Standalone Sitemap Generator (PHP) v3.0, 2009-05-19.
Re: Wrong sitemap url pinged to search engines?
« Reply #1 on: January 06, 2010, 11:00:09 PM »
Hello,

you should use rewrite rule for sitemap instead of redirect to avoid the issue.
Re: Wrong sitemap url pinged to search engines?
« Reply #2 on: January 08, 2010, 09:18:07 PM »
Sorry - I used the wrong word in my post - I am actually using rewriterule already. There is no 302 redirect, but somehow Google still knows about the sitemap-es.xml filename.  ???

Martin.
Re: Wrong sitemap url pinged to search engines?
« Reply #3 on: January 09, 2010, 02:08:59 PM »
Can you please post (or PM me) exact rewrite rule you use an sitemap URl you submit.