nikmagnus Posted February 22, 2011 Share Posted February 22, 2011 Hello.My prestashop v1.4.0.13 has only one language in it: English. All the rest I have deleted.Only the CMS pages seem to be effected:If I click on the "Informations" title of the CMS block, it brings up:http://localhost/mywebsite/page-not-foundthe link from that click was:http://localhost/mywebsite/content/category/1-homesame with the cms pages themselves.If I turn off friendly URL's, the cms pages all work fine but the heading still brings an error.Ie if I click on the "Informations" title, I get:http://localhost/mywebsite/404.phpthe link from that click was:http://localhost/mywebsite/cms.php?id_cms_category=1but the cms pages load fine.http://localhost/mywebsite/cms.php?id_cms=3I have regenerate the .htaccess file after changing the friendly URL setting, but that doesnt seem to change anything.Here is the URL rewriting part.Any help with this please?Nik # URL rewriting rules RewriteRule ^api/?(.*)$ /mywebsite/webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /mywebsite/img/p/$1-$2$3.jpg [L] RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /mywebsite/img/p/$1-$2.jpg [L] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /mywebsite/img/c/$1$2.jpg [L] RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /mywebsite/product.php?id_product=$1 [QSA,L] RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /mywebsite/category.php?id_category=$1 [QSA,L] RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /mywebsite/product.php?id_product=$1 [QSA,L] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /mywebsite/supplier.php?id_supplier=$1 [QSA,L] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /mywebsite/manufacturer.php?id_manufacturer=$1 [QSA,L] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /mywebsite/cms.php?isolang=$1&id;_cms=$2 [QSA,L] RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /mywebsite/cms.php?isolang=$1&id;_cms_category=$2 [QSA,L] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html /mywebsite/product.php?id_product=$3&isolang;=$1 [QSA,L] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html /mywebsite/product.php?id_product=$2&isolang;=$1 [QSA,L] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*) /mywebsite/category.php?id_category=$2&isolang;=$1 [QSA,L] RewriteRule ^page-not-found$ /mywebsite/404.php [QSA,L] RewriteRule ^address$ /mywebsite/address.php [QSA,L] RewriteRule ^addresses$ /mywebsite/addresses.php [QSA,L] RewriteRule ^authentication$ /mywebsite/authentication.php [QSA,L] RewriteRule ^best-sales$ /mywebsite/best-sales.php [QSA,L] RewriteRule ^cart$ /mywebsite/cart.php [QSA,L] RewriteRule ^contact-us$ /mywebsite/contact-form.php [QSA,L] RewriteRule ^discount$ /mywebsite/discount.php [QSA,L] RewriteRule ^order-history$ /mywebsite/history.php [QSA,L] RewriteRule ^identity$ /mywebsite/identity.php [QSA,L] RewriteRule ^manufacturers$ /mywebsite/manufacturer.php [QSA,L] RewriteRule ^my-account$ /mywebsite/my-account.php [QSA,L] RewriteRule ^new-products$ /mywebsite/new-products.php [QSA,L] RewriteRule ^order$ /mywebsite/order.php [QSA,L] RewriteRule ^order-follow$ /mywebsite/order-follow.php [QSA,L] RewriteRule ^order-slip$ /mywebsite/order-slip.php [QSA,L] RewriteRule ^password-recovery$ /mywebsite/password.php [QSA,L] RewriteRule ^prices-drop$ /mywebsite/prices-drop.php [QSA,L] RewriteRule ^search$ /mywebsite/search.php [QSA,L] RewriteRule ^sitemap$ /mywebsite/sitemap.php [QSA,L] RewriteRule ^stores$ /mywebsite/stores.php [QSA,L] RewriteRule ^supplier$ /mywebsite/supplier.php [QSA,L] Link to comment Share on other sites More sharing options...
goos Posted March 6, 2011 Share Posted March 6, 2011 Same problem on 1.4.0.15but works with 2 languages onIs there one more line of rewrite rules needed to handle the absense of the language parameter? Link to comment Share on other sites More sharing options...
nikmagnus Posted March 6, 2011 Author Share Posted March 6, 2011 Would be great to have a bit of help with this, anyone?NIk Link to comment Share on other sites More sharing options...
pietro Posted March 26, 2011 Share Posted March 26, 2011 i was experiencing the same problem with the CMS friendly URLs after updating to PS 1.4I followed this threat and it worked, i basically changed the 2s for 1s.good luck, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now