tommy Posted December 26, 2008 Share Posted December 26, 2008 # URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]#the two rules above run well, but the four rules below can't...... After you click the correlative links on frontend, they show blank webpage...... can someone have met such problem too help me??RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
tommy Posted December 26, 2008 Author Share Posted December 26, 2008 Additiona:Test Environment :GODADDY SHARED HOSTING, apache 1.3.33PHP 5.2.XMYSQL 5.XRewriteEngine On Link to comment Share on other sites More sharing options...
tommy Posted December 29, 2008 Author Share Posted December 29, 2008 Anybody can help me ,pls, very appreciate it! Do i need turn to apache 2.x server? or not? Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2008 Share Posted December 29, 2008 Check this for godaddy user: http://forums.digitalpoint.com/showthread.php?t=90729 Link to comment Share on other sites More sharing options...
zenrider420 Posted December 29, 2008 Share Posted December 29, 2008 i used to use GoDaddy for my hosting, but they have issues with the Friendly URL's that Prestashop creates... After a few tech support phone calls with thier support reps, no resolution was ever found. I switched to a different host, and have had no issues what-so-ever with them and friendly URL's... I know this is not what you were looking for as an answer, but i would suggest switching your hosting provider to someone who does not have all the propriatary backend crap that Godaddy uses... Link to comment Share on other sites More sharing options...
QuadDamage Posted February 28, 2009 Share Posted February 28, 2009 I found the answer everyone! If you use Godaddy, or any other host that gives you the URL rewrite problem, go here>>>http://prestashop-godaddy.blogspot.comIt worked perfect! No more 404! Link to comment Share on other sites More sharing options...
Recommended Posts