guest* Posted August 18, 2010 Share Posted August 18, 2010 What is the original name of this modul. It seems that it is not installed, because I cannot find it at Backend Moduls and also the links are not "friendly", I found there something like canonincal... I have the german Edition of presta 1.3.1.1.I tried to install seo-updater, but this I think ist nothing with "friendly URLS"Presta ist intalled on a IIS7 Server with PHP 5.2.13, SQL 5.1.47. Link to comment Share on other sites More sharing options...
eltitos Posted August 18, 2010 Share Posted August 18, 2010 It's not a module, it's an option to activate in the preference tab "Friendly URL"Then you have to create a file .htaccess in the prestashop folder, after that you have to generate the contains in Tools -> generator Link to comment Share on other sites More sharing options...
guest* Posted August 18, 2010 Author Share Posted August 18, 2010 Hi can you please post a picture where I can find this ? I have an official german version and the language is translated, so I have to localize it before. the .htacces I hav already on the server, but no friendly URLS and the .htacces is only like this, so no rewrite. Perhaps I have a problem with the rewrite-module on the IIs7 ??# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums# Catch 404 errorsErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
guest* Posted August 18, 2010 Author Share Posted August 18, 2010 I got it... but now I cannot see any picture and also all links I follow create a 404... What did I wrong ???My .htaccess ist now like this:# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums# URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [L,E]RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]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]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]RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
guest* Posted May 28, 2011 Author Share Posted May 28, 2011 generate a new .htaccess and clear the cache of your browser. After I did this, all worked again. 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