blindeye Posted May 18, 2011 Share Posted May 18, 2011 Is there a way to edit the .htacess file so product id number does not show up in the urlNow it's: /1-xxxx.htmlI guess you have to edit something in this lineRewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]Thank you Link to comment Share on other sites More sharing options...
liquidesnake Posted May 18, 2011 Share Posted May 18, 2011 nope impossible. the product ID is needed to make the request to the database. so I don't think. Link to comment Share on other sites More sharing options...
blindeye Posted May 19, 2011 Author Share Posted May 19, 2011 The product ID is off course needed for the database call - but why is it needed for the short url?I would like it to be like this:/xxxxx.html Link to comment Share on other sites More sharing options...
Recommended Posts