View Single Post
  #10  
Old 08-11-2008, 06:26 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default 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.
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote