Jump to content

wrong with Friendly url rewrite for Category URL showing


Recommended Posts

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([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 errors
ErrorDocument 404 /404.php

Link to comment
Share on other sites

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

  • 1 month later...
×
×
  • Create New...