Guest Posted February 28, 2009 Share Posted February 28, 2009 Zdravím užívateľov fóra.Možno máte podobný problém ako ja. Týka sa súboru htaccess.txt, ktorý obsahuje v latest release chybný obsah. Mne osobne nefungoval. Pri zapnutých seo urls v admine (a slušne premenovanom .htaccess v roote aplikácie) po kliknutí na každú url píše chybu #404 - stránka nenájdená. Prikladám upravený obsah súboru .htaccess s opravou ... # 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] 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 ...chýbali lomítka Možno to niekomu pomôže. Videl som tu na fóre podobné dotazy s tou istou chyb. hláškou.Pekný deň...Tomanóczy Michal Link to comment Share on other sites More sharing options...
QuadDamage Posted February 28, 2009 Share Posted February 28, 2009 This should be the answer. http://prestashop-godaddy.blogspot.comIt is in English, so I hope you can read it. Or just use Google translate. Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2009 Share Posted February 28, 2009 This should be the answer. http://prestashop-godaddy.blogspot.comIt is in English, so I hope you can read it. Or just use Google translate. No, this should be not the answer, because I didn't ask any question This is my solving of problem with seo urls. The file htaccess.txt or .htaccess (after rename) contains some errors (imho). Compare my version of htaccess and the version in the latest package that is available on this site. In old version of htaccess missing slashes '/' .Have a nice day.Mike. Link to comment Share on other sites More sharing options...
kkshop Posted March 7, 2009 Share Posted March 7, 2009 hm co s tym skusil som to tovje a nejde nam to..URL su vsade OK okrem v ZOBRAZENE produkty.Tam su url asi ak predavas parky v takomto tvare:http://1-parka-cabajska.htmlnamiesto http://www.tvojobchod.sk/1-parka-cabajska.htmlco s tym? Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2009 Share Posted March 7, 2009 Hm, to ale nevyzerá na chybu v htaccess . Predpokladám, že chyba je v systéme, ale nič podobné sa mi nestalo. Mne to fičí zatiaľ celkom fajn.EDIT: Máš pravdu. Pri user-defined produktoch sa to správa tak, ako popisuješ. Skúsim nájsť chybu. Ak už niekto niečo podobné riešil, uvítam(e) jeho rady EDIT2: Takže v SVN verzii to bolo už opravené, ako mi do PM napísal Damien Metzger. Ide o súbor /classes/link.php . Prikladám prílohu... Link.php Link to comment Share on other sites More sharing options...
devo Posted August 12, 2009 Share Posted August 12, 2009 kkshop: asi uz to mas vyresene, ale treba pro nekoho: Na problem "http://1-parka-cabajska.html" mi pomohla jednoducha rada: na karte produktu nutno zaradit produkt do nejake standardni kategorie (napr. iPods), ne jen do Home (Startseite). Vysledek: http://www.tvojobchod.sk/1-parka-cabajska.html Link to comment Share on other sites More sharing options...
OKMobil Posted September 1, 2009 Share Posted September 1, 2009 http://www.prestashop.com/forums/viewthread/18801/hlavn_diskuze/ptelsk_url_fungujou_ale_relativn_cesty_z_fo_v_bloku_prohlednute_produkty_ne Link to comment Share on other sites More sharing options...
zmija832 Posted September 14, 2009 Share Posted September 14, 2009 Dobrý den, prosím o radu, při zapnutí hezkých URL, se mi nezobrazují fotografie zboží, po vypnutí hezkých URL se zase zobrazují, co s tím, děkuji za odpověď Link to comment Share on other sites More sharing options...
abroucek Posted March 5, 2010 Share Posted March 5, 2010 Tento problém s obrázky mám také... prosím o radu Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 5, 2010 Share Posted March 5, 2010 Obrázky nefungují za použití htaccessu vytvořenýho eshopem, vytvořte si vlastní dle parametrů, který tu jsou milionkrát spamovaný.... Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 5, 2010 Share Posted March 5, 2010 # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([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 errors ErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
abroucek Posted March 6, 2010 Share Posted March 6, 2010 co tam musím změnit? Protože takhle mi to nefunguje Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 6, 2010 Share Posted March 6, 2010 co tam musím změnit? Protože takhle mi to nefunguje link.php? tools.php? hosting? obsluhu počítače? 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