Below is an updated google sitemap generator for use with google webmasters tool to generate category, manufacturer, information, category and product sitemap for google indexer. Indeed the same sitemap can be used for Bing and other search engines.
We used it while developing our online store here and found that it was having an error with timestamps. So we updated it to include timestamps.
This if for general community consumption. If you have any questions let me know.
Kind regards,
Genglob Administrator
Attachments
XML sitemap for google, bing, yahoo and ask.com
Reason: Title fixt - Url masked
The most terrifying words in the English language are: I'm from the government and I'm here to help.
Ronald Reagan
Digital Chaos | Graphic Design Studio http://www.digitalchaos.biz
Digital Chaos Prints | Custom Art Prints http://www.digitalchaosprints.biz
Code: Select all
echo '<loc>' . $catalog_url .'product/product&product_id='. $product['product_id'] . '</loc>' . "\n";
Code: Select all
echo '<loc>' . $catalog_url .'index.php?route=product/product&product_id='. $product['product_id'] . '</loc>' . "\n";
I do not care about my bad English.
God, give me courage to do what I can,
humility to admit what I can't,
and wisdom to know the difference.
Opencart mods (search suggestions and so on):
http://forum.opencart.com/viewtopic.php?p=71588#p71588" onclick="window.open(this.href);return false;
simples
Hi,genglob wrote:...Below is an updated google sitemap generator for use with google webmasters tool to generate category, manufacturer, information, category and product sitemap for google indexer. Indeed the same sitemap can be used for Bing and other search engines.....
I just plop it into the root dir, correct?
I notice in firefox it outputs the raw xml code, not parsed by the browser. this is correct?
I'm using it with ocv 1.3.2 and seems to work fine. have you had any issues with older versions?
thanks for creating this sitemap generator!
regards,
takayuki
Getting a few errors when google tries indexing g_sitemap as shown, mosty URL tag errors, new to php, so any help appreciated.
24 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: br
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: b
Problem detected on: Apr 15, 2010
25 Invalid XML tag
This tag was not recognized. Please fix it and resubmit. Parent tag: url
Tag: br
Thanks
I'm using OC 1.3.2
Thank you.
How do you setup the permissions of the sitemaps directory mentioned in
5. Modify the permission in admin so that you can access Generate Sitemaps in admin.
in the installation.txt file ?
I changed to 777 on a Linux host, but I receive an Access Denied error when I click on Generate Sitemap button I just installated.
Thanks,
jj
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Me too, I'm refering to point number 5 in installation.txt file contained in the zip file.i2Paq wrote:I use this one: Generate Google Sitemaps.
You use an FTP program like Filezilla to set the rights (chmod) to the directory.
Otherwise ask your host.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
You can do it (modify the permission) simply:jeffjones wrote:How do you setup the permissions of the sitemaps directory mentioned in
5. Modify the permission in admin so that you can access Generate Sitemaps in admin.
in the installation.txt file ?
I changed to 777 on a Linux host, but I receive an Access Denied error when I click on Generate Sitemap button I just installated.
1. On your administration page, System->Users->User Groups
2. Edit your Top Administrator setting
3. Select All on Access Permission and Modify Permission
4. Save and re-login with your top administrator account
Users browsing this forum: Semrush [Bot] and 8 guests