XML Sitemaps Generator

Author Topic: Wrong sitemap url pinged to search engines?  (Read 9693 times)

blahmartinblah

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
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 admins 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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

blahmartinblah

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2