skeedo Posted May 29, 2005 Posted May 29, 2005 When I turn on Search Engine Safe urls, all my products are displayed out of stock. Why? How can I fix this? <?php $prod_quantity = tep_get_products_stock($products_id); switch ($prod_quantity) { case 0: print '<img src="images/stock_soldout.gif" border="0">'; break; case 1: print '<img src="images/stock_instock.gif" border="0">'; break; case 2: print '<img src="images/stock_instock.gif" border="0">'; break; case 3: print '<img src="images/stock_instock.gif" border="0">'; break; case 4: print '<img src="images/stock_instock.gif" border="0">'; break; default: print '<img src="images/stock_instock.gif" border="0">'; } ?>
Jumping Rabbit Posted May 30, 2005 Posted May 30, 2005 Your problem seems to be a quite unique one, i have never seen it mentioned before. But you should be aware that this is not the only issue which can result by setting Search Engine URls to true. Take notice of the text, Still in development: Use Search-Engine Safe URLs (still in development) The safest route is to have them set to false. If you feel the need for more search engine urls, the best and safest option is to install one of the searchengine friendly url contributions, like Ultimate Seo Urls, Sef link transformer or Nimmit Sefs They are all available in the Contribution section Faster Checkout - osCommerce Knowledge Base - Anyone meet offline?, Has anyone of you cyberkids meet offline? For newbees do atleast read this 4 points: Basic info - Search tips and help - Posting tips and help - Basics for Design
skeedo Posted May 30, 2005 Author Posted May 30, 2005 Well google recently did something to their engine and now indexed URLs to my site have no description, so it is not possible to find my site on google by a keyword search. The only way around this I know of is turning on the search engine safe URLs...those mods you listed don't look like any joyride install. Is there a different way to combat this problem
Recommended Posts
Archived
This topic is now archived and is closed to further replies.