I dont know if the prestashop company already fix this problem in 1.3.x version, but i think 1.2.5 is a most useful version, and many website master dont want change it.

gsitemap, is the name of google sitemap module in prestashop, will generate twice main domin in 1 url at same time when site have 2 or more languages.

The URL like http://phpskill.com/abc under the defualt language is good, but for second language, this url will become http://phpskill.com/lang-nl/phpskill.com/abc.

So, open modules/gsitemap/gsitemap.php?change the line 86?113?147?165, replace the last “$tmplink” to str_ireplace(‘/’.$_SERVER['HTTP_HOST'].’/', ”, $tmpLink).

Hope this article can help you, thanks.

Share and Enjoy:
  • Digg
  • Twitter
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • RSS
  • HelloTxt
  • MyShare
  • MySpace
  • Add to favorites
  • PDF
  • Print