Jump to content

Bing sitemap.xml with a space in the end of the URL returns 404


Recommended Posts

Hi,

 

I have found that Bing is adding a space in the url (sitemap.xml) that is not present in the XML uploaded.

 

It reports 503 when crawling, because Prestashop returns a "not found" 404 error.

 

When using friendly urls (SEO enabled) in Prestashop, you can type:

 

http://www.anyshop.c...escription.html and it will show the product, in Firefox, if you type the same with an space in the end like "http://www.anyshop.com/category/001-product-description.html " Firefox will remove it and you will see the product as it has to.

 

But if you type in the url-encoded way (%20, space) "http://www.anyshop.com/category/001-product-description.html%20" then the server will understand that space and it will redirect you to it will redirect to http://www.anyshop.c...controller=404.

 

I assume this is an error caused by the .htaccess file that Prestashop generates.

 

This is the sitemap url I use, as an example, and I do not add spaces
<url>
 <loc>http://www.anyshop.com/shop/cars/754-product-description--1H2--1-6.html</loc>
 <lastmod>2013-01-01</lastmod>
 <changefreq>monthly</changefreq>
 <priority>1.0</priority>
</url>

 

Is that a bug, or miss-configuration ?

 

Kind regards,

Edited by steinsgate (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Well, last time I looked at a Python code is 10 years ago and I remember I understood nothing :)

 

Ok, so may be, other users make use of the sitemap for Bing?

 

 

I stumbled about an old tool called Gsitecrawler V1.23 but it looks a bit complicated and I do not know which settings are best.

At least my aim is as with Google's sitemap that our self made product images are indexed though I am still in doubt whether that

is really possible with a sitemap.

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...