Google XML Sitemap for XC SEO
1 Attachment(s)
Thanks to the Jon Langevin effort I've created a small mod that will create you a Google Sitemap of all your products for XC SEO.
You can use this when the XML Sitemap generator takes a long time, like myself since I have more than 36k products. Just copy the file to your root folder and run it manually. It will create the links on the fly, which later you can save it and import it to Google Webmaster. Uploaded V.2.0 Enjoy it! |
Re: Google XML Sitemap for XC SEO
nice job qdox ;-)
|
Re: Google XML Sitemap for XC SEO
Quote:
Jon, Need your help. After reading seo articles realize that the categories must be included, however it is not rewriting correctly for the categories only. Would please take a look at the updated version above and let me know. Thanks |
Re: Google XML Sitemap for XC SEO
hey qdox, what's occurring/breaking when it runs?
something easier (imho) that would support any SEO mod, would be to put all of the XML stuff in a TPL file. I've actually written a google sitemap before, based on my XCSEO Sitemap for customers. I pretty much just stripped out anything that wasn't needed, added in the Google XML stuff, and then modified .htaccess to make the php file appear as an XML file by using smarty (the TPL file), that means most SEO mods would rewrite the links on their own, so you wouldn't have to hardcode anything :-) cheers |
Re: Google XML Sitemap for XC SEO
Hi there, I'm curious if you fixed your issue with generating categories?
Thanks, Robert Quote:
|
Re: Google XML Sitemap for XC SEO
QDox found a solution after speaking with me via PM. it turned out the callback to XC SEO wasn't passing the categoryid, we fixed that.
Cheers. |
Re: Google XML Sitemap for XC SEO
It doesn't appear to be working right unless there's another version to download somewhere.
Quote:
|
Re: Google XML Sitemap for XC SEO
I believe he coded this specifically for use with XC SEO, do you have XC SEO installed?
|
Re: Google XML Sitemap for XC SEO
Quote:
Yup, you installed it for me ;-) Check your email. |
Re: Google XML Sitemap for XC SEO
Download doesn't have the Category fix, so this is how to fix it:
Find Code:
$rowValue = $http_location ."/". $seo->_category_callback(array("home.php?cat=".$sitemap_category['categoryid'],false,'','categoryid='.$sitemap_category[''categoryid'],'',''), true, $sitemap_category['category']); Change to: Code:
$rowValue = $http_location ."/". $seo->_category_callback(array("home.php?cat=".$sitemap_category['categoryid'],false,'','cat='.$sitemap_category[''categoryid'],'',''), true, $sitemap_category['category']); Notice that I changed one of categoryid to cat. --- On another note, the coding has a limit of 100 products find the LIMIT 100 and remove it to let it have access to all your products. |
All times are GMT -8. The time now is 11:16 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.