Jump to content

Kam Racing

Members
  • Content count

    8
  • Joined

  • Last visited

  1. <- ignore, i don't think the link to product_info.php does anything, it was just left over from my previous hashed attempts... to clean it up replace 'http://www.kam-racing.com/product_info.php/cPath/78/products_id/' with $s1 and it should still work
  2. obviously changing the link to product_info.php to whatever it is on your site
  3. i've just managed to get it working on my site :) if you add this bit of code to the top of product_info.php it should work on the product pages with search engine safe urls turned on. it will probably break the page if search engine safe urls is turned off though. function selfURL() { $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI']; } function strleft($s1, $s2) { return substr($s1, 0, strpos('http://www.kam-racing.com/product_info.php/cPath/78/products_id/', $s2)); } $urlstring = selfURL(); $products_id = substr_replace($urlstring, '', 0, -3);
  4. i don't suppose anyone has managed to come up with a fix for this yet?
  5. Kam Racing

    SEO'ed URL and Google - Gives no proper results

    try cutting down the keywords
  6. I believe the problem is in how the product id is being picked up for referencing against the database but i'm not sure how to change the code to reflect this
  7. i got this when i first installed the module (I did the line by line code update)... to solve it i uploaded the files supplied from the admin and the categories.php and then redid my modifications to those files.. i've just got the issue with the "Use Search-Engine Safe URLs" to fix
  8. I have noticed on my install that when on the "Configuration - My Store" page, the "Use Search-Engine Safe URLs" is set to true, it does not show the specified meta tags for the product page. When it is set to false it shows them.... Is this the same error that everyone else is getting? Does any one know how to fix this?
×