XML Sitemap Generator v2.6

[quote name=‘joe’]That sucks…[/QUOTE]



I know. That is why I have enabled only products, kb categories and kb articles in sitemap.

the sitemap is working fine for me here, I have the exact same script you guys have, if it’s not working on your site, oh well…

Post is moved.



Based on our (not only me) incorrect results, any idea how to fix this?

[quote name=‘snorocket’]the sitemap is working fine for me here, I have the exact same script you guys have, if it’s not working on your site, oh well…[/QUOTE]



Here’s what sitemap creates:


[QUOTE]

http://www.truebalticamber.com/necklaces.html

2009-09-03

daily

1.0







http://www.truebalticamber.com/bracelets.html

2009-09-03

daily

1.0





[/QUOTE]



[url]http://www.truebalticamber.com/necklaces.html[/url] does not exist, where sitemap generator getting it from?



Correct path

[url]http://www.truebalticamber.com/necklaces/[/url]



necklaces.html would give 404, google has already indexed it, so I created 301 redirect.







How can it work correctly on your site?





I will repeat myself. I know it is a free mod.



However it is located in addon pack 1 that I did donated in amount I was asked. KB + sitemap generator supporting KB.

[quote name=‘Darius’]Cutting and pasting?



my categories look like



domain.com/category/subcategory/



in sitemap this is presented as



domain.com/category/subcategory.html

or

domain.com/subcategory.html



cant remember now[/QUOTE]



Hi Cutting and pasting!!!



If I go to the Generated Sitemap and cut/copy any of the paths/URLS and paste into URL Bar I get the exact page (Product or Category) that I expect to get.



So in short it works for me.



BarryH

[quote name=‘BarryH’]Hi Cutting and pasting!!!



If I go to the Generated Sitemap and cut/copy any of the paths/URLS and paste into URL Bar I get the exact page (Product or Category) that I expect to get.



So in short it works for me.



BarryH[/QUOTE]



Would you like to demonstrate this? PM me your site link

[quote name=‘BarryH’]Hi Cutting and pasting!!!



If I go to the Generated Sitemap and cut/copy any of the paths/URLS and paste into URL Bar I get the exact page (Product or Category) that I expect to get.



So in short it works for me.



BarryH[/QUOTE]



SORRY NOT QUITE CORRECT!!:confused:



Have only got products listing now as I was getting this



mydomain.co.uk - mydomain Resources and Information. (fine)

mydomain.co.uk - mydomain Resources and Information. (fine too)

mydomain.co.uk - mydomain Resources and Information. (OOPS) instead of…

mydomain.co.uk - mydomain Resources and Information.





Sorry for misleading I just didn’t see them!



BarryH

[quote name=‘BarryH’]SORRY NOT QUITE CORRECT!!:confused:



Have only got products listing now as I was getting this



mydomain.co.uk - mydomain Resources and Information. (fine)

mydomain.co.uk - mydomain Resources and Information. (fine too)

mydomain.co.uk - mydomain Resources and Information. (OOPS) instead of…

mydomain.co.uk - mydomain Resources and Information.





Sorry for misleading I just didn’t see them!



BarryH[/QUOTE]



You were misleading google bot, supplying non existing links.



Can you access



mydomain.co.uk - mydomain Resources and Information.



as



mydomain.co.uk - mydomain Resources and Information.



?

Hi Darius



In short NO!



Have only got products listing now and have re-submitted to google!

Apparently easier way, set the cs-cart category with html type category .

[quote name=‘attila’]i found an error



when make an update sitemap this is the error



[COLOR=“Red”]Warning: file_put_contents(sitemap.xml) [function.file-put-contents]: failed to open stream: Permission denied in demo/core/fn.fs.php on line 537[/COLOR][/QUOTE]



I am getting the same error



Warning: file_put_contents(sitemap.xml) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/vhosts/httpdocs/core/fn.fs.php on line 537



the core & httpdocs folder are 755… appreciate if once can suggest what to do… using with 207.



TIA

[quote name=‘coder’]I am getting the same error



Warning: file_put_contents(sitemap.xml) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/vhosts/httpdocs/core/fn.fs.php on line 537



the core & httpdocs folder are 755… appreciate if once can suggest what to do… using with 207.



TIA[/QUOTE]



maybe try httpdocs with 777

This sitemap although basic setup is good . The rest is unfortunately buggy for the means of the seo setup rules of cs-cart and I have decided to remove it for now. :confused:



Product/page SEF URL format: Accepts only “product_name.html”

categories SEF URL: Accept Only html

Show language in the URL: Does not accept

Act as HTML catalog: Does not accept

the sitemap has been updated to v2.7, all bugs mentioned above have been fixed, the print to file feature has been removed as this was the root cause of the issues, the zip has been updated in the first post and also on snorocket.com, please install, let us know the results, Thanks - Sno

[quote]

the print to file feature has been removed as this was the root cause of the issues

[/quote]



You removed the generation of the sitemap.xml file?



Not sure I understand how taking the same output and putting it to a file instead of the user’s screen can be the source of all problems.



The whole goal of generating a sitemap.xml file was to allow Google and other search engines to more effeciently crawl your site. Having to remember to go to Google and cut/paste after any update is a waste of time.



Guess I’ll just merge your “fixes” into the version I have on hand so that it works like a real sitemap generator…



tony

Hey Tony, if you can fix it that would be great, if not this one is working fine, the problem was category urls like:



[url]http://www.mysite.com/company/[/url]



were being written as:



[url]http://www.mysite.com/company.html[/url]



and then I got 300+ PM’s about the category not being in the url anymore, search engines can find your site as long as you have the sitemap url in your robots.txt file and once you set the link in google you don’t ever have to change it again…

[quote name=‘snorocket’]Hey Tony, if you can fix it that would be great, if not this one is working fine, the problem was category urls like:



[url]http://www.mysite.com/company/[/url]



were being written as:



[url]http://www.mysite.com/company.html[/url]



and then I got 300+ PM’s about the category not being in the url anymore, search engines can find your site as long as you have the sitemap url in your robots.txt file and once you set the link in google you don’t ever have to change it again…[/QUOTE]

So will the sitemap.xml file get updated automatically in the new version?

[quote name=‘snorocket’]the sitemap has been updated to v2.7, all bugs mentioned above have been fixed, the print to file feature has been removed as this was the root cause of the issues, the zip has been updated in the first post and also on snorocket.com, please install, let us know the results, Thanks - Sno[/QUOTE]



Hi



Still not generating Categories correctly…



Category

Get…mydomain.co.uk - mydomain Resources and Information.



Sub-category



Get… mydomain.co.uk - mydomain Resources and Information.

insread of…mydomain.co.uk - mydomain Resources and Information.



:confused:

[quote name=‘BarryH’]Hi



Still not generating Categories correctly…



Category

Get…mydomain.co.uk - mydomain Resources and Information.



Sub-category



Get… mydomain.co.uk - mydomain Resources and Information.

insread of…mydomain.co.uk - mydomain Resources and Information.



:confused:[/QUOTE]



Hi UPDATE



Must have had a cache problem because it works great now!



Thanks SNO

Add this


RewriteRule ^sitemap.xml$ index.php?dispatch=xml_sitemap [L]



to .htaccess below RewriteEngine on



sitemap will be accesable as



domain.com/sitemap.xml




instead of



Domain.com