Jump to content

Google Sitemap Problem


Martin_NZ

Recommended Posts

There seems to be a problem with sitemap generation module. I am using stock standard prestashop 1.5.2.0 and google sitemap version 1.9.

 

The issue is although I have seo urls enabled they are not appearing in the sitemap.xml file.. If i use the "Update sitemap file" button from within the module I get output like this..

 

(please note i have deliberately removed a t from the http as it was the only way I could get the urls to display properly in the forum post... it does appear in the actual sitemap file...)

 

<url>

<loc>

htp://nzstore.biz/index.php?id_product=8&controller=product

</loc>

<priority>0.4</priority>

<lastmod>2012-11-23</lastmod>

<changefreq>weekly</changefreq>

<image:image>

<image:loc>

htp://nzstore.biz/29/allens-jelly-sweets-party-mix-99-fat-free.jpg

</image:loc>

<image:caption>

<image:title>

</image:title></image:caption></image:image>

 

Note in the above extract that the image url uses a seo friendly but the product url does not.

 

 

However... if I run the "cron job" by calling the webpage url listed in the module. (i have removed the actual token value)

 

http://nzstore.biz/m..._ALL_PRODUCTS=0

 

I now get a sitemap index file at sitemap.xml and the actual sitemap at sitemap-1.xml which is perfectly fine but there is a new problem with the urls.

 

 

I now get output like the following extract..

 

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

<url>

<loc>http://nzstore.biz/</loc>

<priority>1.0</priority>

<lastmod>2012-12-03</lastmod>

<changefreq>daily</changefreq>

</url>

<url>

<loc>

htp://nzstore.biz/8-allens-jelly-sweets-party-mix-99-fat-free.html

</loc>

<priority>0.4</priority>

<lastmod>2012-11-23</lastmod>

<changefreq>weekly</changefreq>

<image:image>

<image:loc>nzstore.biz/29/allens-jelly-sweets-party-mix-99-fat-free.jpg</image:loc>

<image:caption>

<image:title>

</image:title></image:caption></image:image>

 

Note that NOW the product url DOES use a friendly url format BUT the image url has dropped the http:// from the image url resulting in google webmaster tools showing "invalid url" errors.

 

Seems that either way I update the sitemap using the module there is an issue with the urls.

 

Does anyone else encounter this.

 

thank you in advance for any assistance.

 

Kind Regards

Martin

http://NZstore.biz

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...