Forum Moderators: phranque

Message Too Old, No Replies

?osCsid.html

Here's a fix for bad osCommerce links

         

Styno

2:47 pm on Jun 24, 2009 (gmt 0)

10+ Year Member



I had this problem with SEO url rewriting

I figured out there was something essentially wrong in the source code, not the rewriting rules.

product_info.php?product_id=...?oscId=... was default in my os commerce, this should be

products_id=...&oscId=...

the problem is this:

<a href="' . tep_href_link('product_info.php?products_id='.$p_id) . '">

should be

<a href="' . tep_href_link("product_info.php","products_id=".$p_id) . '">

there are 4 files who use this in source (as far I found)
-products_new.php
-specials.php
-modules\product_listing.php
-modules\new_products.php

I hope this helps, seems its working properly for me now.