Wednesday, June 20, 2012

prestashop cms page not showing, not loading, url friendly

in prestashop 1.4, cms page may not load when you turn on URL friendly

the fix is



#RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /shop/cms.php?isolang=$1&id_cms=$2 [QSA,L]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /shop/cms.php?isolang=$1&id_cms=$1 [QSA,L]
#RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /shop/cms.php?isolang=$1&id_cms_category=$2 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /shop/cms.php?isolang=$1&id_cms_category=$1 [QSA,L]


More than 3 requests, I'll translate this to Chinese.
超过3个请求,我就会把这篇文章翻译成中文。