Product URLs (again)
Hola,
I've been playing around with using the Google Sitemap generator and noted that it choked on the long URLs like this:
/product.php?productid=16276&cat=259&page=1
In thinking about this a bit I wondered if the cart actually needed to know the category and page number so I trimmed the URL down to:
/product.php?productid=16276
and found it worked fine.
Now I can see a very easy way to generate URLs for the Google Sitemap generator configuration file by simply querying the database for the products and then tacking that info onto the URL in the XML format the config file uses.
Am I overlooking something?
If there are no major issues here, why shouldn't I be able to modify the X-Cart code so that whenever the cart points to a product page is drops all of the extraneous parameters? I get the feeling this is way too simple...
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
|