| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#21
|
|||||||||
|
|||||||||
Re: free google sitemap
Hi
Me Again I did that but when I logged in today (next Day) it created another blank sitemap.xml so re- commented them out again any idea's thanks lewis Quote:
__________________
Thank's Lewis Afford www.mobile-phone-batteries.eu X-cart v4.4.5 gold www.mobile-phone-batteries.co.ukv4.4.5 gold www.qualitechnic.co.uk v4.4.5 gold Add-on: X-AOM (Advanced Order Management) |
|||||||||
#22
|
|||||||
|
|||||||
Re: free google sitemap
Hi,
It's very strange. I think that problem in previous Sitemap Generator. You turned off it, but it still generate empty sitemap file. I think you comment 2 lines of code in my module and my module has generated correct sitemap.xml. These 2 lines just allow my script generate sitemap only once per day. When they are commented my script generate sitemap each time when you visit your admin home page. Alex Maybe previous Sitemap Generator used cron and you did not turn off it? Quote:
|
|||||||
#23
|
|||||||||
|
|||||||||
Re: free google sitemap
Hi Alex
Yes its strange Yes i have proved it it rewriting the sitemap every i login ok with those lines commented out is there something we are missing here lewis Quote:
__________________
Thank's Lewis Afford www.mobile-phone-batteries.eu X-cart v4.4.5 gold www.mobile-phone-batteries.co.ukv4.4.5 gold www.qualitechnic.co.uk v4.4.5 gold Add-on: X-AOM (Advanced Order Management) |
|||||||||
#24
|
|||||||
|
|||||||
Re: free google sitemap
Lewis,
I have found bug in this file. Thank you very much for your help I have fixed it. Also I have made new version of this this module. New features: - you can turn on/off this module by admin area (General Settings/Google SiteMap options) - you can add any links in sitemap.xml file by admin area For updating just owerwrite sitemap.php file ! Thank you Alex UPDATED: last version on #34 post. |
|||||||
|
#25
|
|||||||||
|
|||||||||
Re: free google sitemap
Hi Alex
Yes You have fixed it great, its updated fine today thank you very much for a great service lewis Quote:
__________________
Thank's Lewis Afford www.mobile-phone-batteries.eu X-cart v4.4.5 gold www.mobile-phone-batteries.co.ukv4.4.5 gold www.qualitechnic.co.uk v4.4.5 gold Add-on: X-AOM (Advanced Order Management) |
|||||||||
|
#26
|
|||||||||
|
|||||||||
Re: free google sitemap
Hi Alex,
I hope you don't me posting corrections for this module. The way file is right now urls have no extension if X-Cart Clean URL's are used, ie the settings in admin for Clean URL's are not applied, resulting in wrong urls in sitemap.xml. Also module is not showing in modules or settings - you are missing config and language tables entries for this to work - and I took out the initial db calls form the php file - no need for them to be there. The way you had it there was no way to turn on/off the module. Moved filename in settings if users want to experiment with different names so not to override existing file. Here is how the install.txt looks like, see the red part Code:
Here is the sitemap.php, see the red part Code:
There are some other changes in the php file but they are mostly cosmetic.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#27
|
|||||||||
|
|||||||||
Re: free google sitemap
Hi Alex
Just a quick note after looking at the sitemap.xml after the last post. I see the the categories dont have the following slash <loc>http://www.qualitechnic.co.uk/cat-Tools-Toolkits</loc> <lastmod>2010-09-05</lastmod> and the the product dont have the .html <loc>http://www.qualitechnic.co.uk/SE-Z400-Connecting-Ribbon</loc> <lastmod>2010-09-05</lastmod> is this OK Thank you Lewis Quote:
__________________
Thank's Lewis Afford www.mobile-phone-batteries.eu X-cart v4.4.5 gold www.mobile-phone-batteries.co.ukv4.4.5 gold www.qualitechnic.co.uk v4.4.5 gold Add-on: X-AOM (Advanced Order Management) |
|||||||||
#28
|
|||||||||
|
|||||||||
Re: free google sitemap
No that is not ok. And is not only the cats but your products links are missing the .html extension. See my post above for a fix.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#29
|
|||||||||
|
|||||||||
Re: free google sitemap
Thanks Steve
But You Code dont match my code as mine is the latest see couple posts before Quote:
lewis Quote:
__________________
Thank's Lewis Afford www.mobile-phone-batteries.eu X-cart v4.4.5 gold www.mobile-phone-batteries.co.ukv4.4.5 gold www.qualitechnic.co.uk v4.4.5 gold Add-on: X-AOM (Advanced Order Management) |
|||||||||
#30
|
|||||||||
|
|||||||||
Re: free google sitemap
Actually the code I posted fixes the code you are reffering to. But you can still use the code you have just replace
Code:
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|