SeoAgencias Posted April 22, 2010 Share Posted April 22, 2010 Pratele, prosim o radu ....Pokud kliknu na nejaky produkt, tak adresa je neco v tomto stylu : www.xxx.com/product.php?id_product=31rad bych to zmenil na toto : www.xxx.com/31-hmhmhm.htmlnebo jeste lepe : www.xxx.com/hmhmhm.htmlDekuji Link to comment Share on other sites More sharing options...
Caleydon Posted April 22, 2010 Share Posted April 22, 2010 Admin > Preferences > Friendly URL > YesPotom treba vygenerovat .htaccess subor Link to comment Share on other sites More sharing options...
SeoAgencias Posted April 22, 2010 Author Share Posted April 22, 2010 Dekuji za rychlou odpoved, mohl bys mi to jeste trosku rozvest...vygeneruji .htaccess ( prazdny soubor? ) a kam ho umistim ?Diky .... Link to comment Share on other sites More sharing options...
Jonh Doe Posted April 22, 2010 Share Posted April 22, 2010 Negenerovat, zlobi to, vloz tam:#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]+)(\-[_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...
Caleydon Posted April 22, 2010 Share Posted April 22, 2010 Umistnis ho Do rootu servera a ak treba, das mu prava pre zapis (CMOD 777). Potom v admine vygenerujes jeho obsah. Link to comment Share on other sites More sharing options...
Caleydon Posted April 22, 2010 Share Posted April 22, 2010 @Jonh Doe: ver tomu, ze to co si poslal vyssie, zlobit bude. Link to comment Share on other sites More sharing options...
SeoAgencias Posted April 22, 2010 Author Share Posted April 22, 2010 .... diky vsem a jdu na to ........ Link to comment Share on other sites More sharing options...
Jonh Doe Posted April 22, 2010 Share Posted April 22, 2010 @Jonh Doe: ver tomu, ze to co si poslal vyssie, zlobit bude. sorry mas pravdu, to je starej.. http://www.prestashop.com/forums/viewthread/11634/P30/hlavn_diskuze/neptelsk_urltady je to vyresene.. 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