Jump to content

[RESOLU] Page accueil inaccessible suite URL simplifiée


Recommended Posts

Bonjour à tous,

Merci par avance de l'aide que vous pourrez m'apporter.

 

Le site : http://www.standuppaddle-shop.net/

 

Je vous fais un bref résumé :

 

- j'ai installé ma première boutique prestashop avec OVH comme hébergeur (mutualisé).

 

- Voyant l'alerte rouge sur les URL simplifiées, j'ai essayé de basculer sur ce mode d'affichage après avoir cherché des infos et autres vidéos.

 

- Sur le papier cela semble assez simple sauf que dans la pratique c'est une peu plus compliqué. Bilan de cette journée de manips et recherches sur différents forums :

 

1 : plus de page d'accueil accessible (erreur 500).

 

2 : si je tape standuppaddle-shop.net (sans les www), j'ai une erreur 404 même si des modules dans la sidebar apparaissent comme le panier, paiement paypal, objets déjà vus,

 

3 : les autres pages semblent fonctionner, je peux y accéder et les URLs sont simplifiées.

un exemple, celle de la catégorie magazine : http://standuppaddle.../fr/5-magazines

 

Si quelqu'un peut m'apporter un regard extérieur, cela m'aiderait beaucoup.

 

 

Je vous mets en copie mon htaccess :

 

SetEnv PHP_VER 5

SetEnv REGISTER_GLOBALS 0

<IfModule mod_rewrite.c>

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

RewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,L]

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2$3.jpg [L]

RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]

RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$1$2.jpg [L]

RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]

RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L]

RewriteRule ^([a-z]{2})/[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$2&isolang=$1&noredirect=1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$2&isolang=$1 [QSA,L]

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

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

RewriteRule ^([a-z]{2})/([0-9]+)__[a-zA-Z0-9-]* /supplier.php?isolang=$1&id_supplier=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)_[a-zA-Z0-9-]* /manufacturer.php?isolang=$1&id_manufacturer=$2 [QSA,L]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$1&noredirect=1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]

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

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

RewriteRule ^en/page-not-found$ /404.php?isolang=en [QSA,L]

RewriteRule ^en/address$ /address.php?isolang=en [QSA,L]

RewriteRule ^en/addresses$ /addresses.php?isolang=en [QSA,L]

RewriteRule ^en/authentication$ /authentication.php?isolang=en [QSA,L]

RewriteRule ^en/best-sales$ /best-sales.php?isolang=en [QSA,L]

RewriteRule ^en/cart$ /cart.php?isolang=en [QSA,L]

RewriteRule ^en/contact-us$ /contact-form.php?isolang=en [QSA,L]

RewriteRule ^en/discount$ /discount.php?isolang=en [QSA,L]

RewriteRule ^en/guest-tracking$ /guest-tracking.php?isolang=en [QSA,L]

RewriteRule ^en/order-history$ /history.php?isolang=en [QSA,L]

RewriteRule ^en/identity$ /identity.php?isolang=en [QSA,L]

RewriteRule ^en/manufacturers$ /manufacturer.php?isolang=en [QSA,L]

RewriteRule ^en/my-account$ /my-account.php?isolang=en [QSA,L]

RewriteRule ^en/new-products$ /new-products.php?isolang=en [QSA,L]

RewriteRule ^en/order$ /order.php?isolang=en [QSA,L]

RewriteRule ^en/order-follow$ /order-follow.php?isolang=en [QSA,L]

RewriteRule ^en/quick-order$ /order-opc.php?isolang=en [QSA,L]

RewriteRule ^en/order-slip$ /order-slip.php?isolang=en [QSA,L]

RewriteRule ^en/password-recovery$ /password.php?isolang=en [QSA,L]

RewriteRule ^en/prices-drop$ /prices-drop.php?isolang=en [QSA,L]

RewriteRule ^en/search$ /search.php?isolang=en [QSA,L]

RewriteRule ^en/sitemap$ /sitemap.php?isolang=en [QSA,L]

RewriteRule ^en/stores$ /stores.php?isolang=en [QSA,L]

RewriteRule ^en/supplier$ /supplier.php?isolang=en [QSA,L]

RewriteRule ^en$ /en/ [QSA,L]

RewriteRule ^en/([^?&]*)$ /$1?isolang=en [QSA,L]

RewriteRule ^fr/page-non-trouvee$ /404.php?isolang=fr [QSA,L]

RewriteRule ^fr/adresse$ /address.php?isolang=fr [QSA,L]

RewriteRule ^fr/adresses$ /addresses.php?isolang=fr [QSA,L]

RewriteRule ^fr/authentification$ /authentication.php?isolang=fr [QSA,L]

RewriteRule ^fr/meilleures-ventes$ /best-sales.php?isolang=fr [QSA,L]

RewriteRule ^fr/panier$ /cart.php?isolang=fr [QSA,L]

RewriteRule ^fr/contactez-nous$ /contact-form.php?isolang=fr [QSA,L]

RewriteRule ^fr/bons-de-reduction$ /discount.php?isolang=fr [QSA,L]

RewriteRule ^fr/suivi-commande-invite$ /guest-tracking.php?isolang=fr [QSA,L]

RewriteRule ^fr/historique-des-commandes$ /history.php?isolang=fr [QSA,L]

RewriteRule ^fr/identite$ /identity.php?isolang=fr [QSA,L]

RewriteRule ^fr/fabricants$ /manufacturer.php?isolang=fr [QSA,L]

RewriteRule ^fr/mon-compte$ /my-account.php?isolang=fr [QSA,L]

RewriteRule ^fr/nouveaux-produits$ /new-products.php?isolang=fr [QSA,L]

RewriteRule ^fr/commande$ /order.php?isolang=fr [QSA,L]

RewriteRule ^fr/details-de-la-commande$ /order-follow.php?isolang=fr [QSA,L]

RewriteRule ^fr/commande-rapide$ /order-opc.php?isolang=fr [QSA,L]

RewriteRule ^fr/avoirs$ /order-slip.php?isolang=fr [QSA,L]

RewriteRule ^fr/mot-de-passe-oublie$ /password.php?isolang=fr [QSA,L]

RewriteRule ^fr/promotions$ /prices-drop.php?isolang=fr [QSA,L]

RewriteRule ^fr/recherche$ /search.php?isolang=fr [QSA,L]

RewriteRule ^fr/plan-du-site$ /sitemap.php?isolang=fr [QSA,L]

RewriteRule ^fr/magasins$ /stores.php?isolang=fr [QSA,L]

RewriteRule ^fr/fournisseurs$ /supplier.php?isolang=fr [QSA,L]

RewriteRule ^fr$ /fr/ [QSA,L]

RewriteRule ^fr/([^?&]*)$ /$1?isolang=fr [QSA,L]

RewriteRule ^es/pagina-no-encuentra$ /404.php?isolang=es [QSA,L]

RewriteRule ^es/direccion$ /address.php?isolang=es [QSA,L]

RewriteRule ^es/direcciones$ /addresses.php?isolang=es [QSA,L]

RewriteRule ^es/autenticacion$ /authentication.php?isolang=es [QSA,L]

RewriteRule ^es/mas-vendidos$ /best-sales.php?isolang=es [QSA,L]

RewriteRule ^es/carro-de-la-compra$ /cart.php?isolang=es [QSA,L]

RewriteRule ^es/contactenos$ /contact-form.php?isolang=es [QSA,L]

RewriteRule ^es/descuento$ /discount.php?isolang=es [QSA,L]

RewriteRule ^es/estado-pedido$ /guest-tracking.php?isolang=es [QSA,L]

RewriteRule ^es/historial-de-pedidos$ /history.php?isolang=es [QSA,L]

RewriteRule ^es/identidad$ /identity.php?isolang=es [QSA,L]

RewriteRule ^es/fabricantes$ /manufacturer.php?isolang=es [QSA,L]

RewriteRule ^es/mi-cuenta$ /my-account.php?isolang=es [QSA,L]

RewriteRule ^es/nuevos-productos$ /new-products.php?isolang=es [QSA,L]

RewriteRule ^es/carrito$ /order.php?isolang=es [QSA,L]

RewriteRule ^es/devolucion-de-productos$ /order-follow.php?isolang=es [QSA,L]

RewriteRule ^es/pedido-rapido$ /order-opc.php?isolang=es [QSA,L]

RewriteRule ^es/vales$ /order-slip.php?isolang=es [QSA,L]

RewriteRule ^es/contrasena-olvidado$ /password.php?isolang=es [QSA,L]

RewriteRule ^es/promocion$ /prices-drop.php?isolang=es [QSA,L]

RewriteRule ^es/buscar$ /search.php?isolang=es [QSA,L]

RewriteRule ^es/mapa-del-sitio$ /sitemap.php?isolang=es [QSA,L]

RewriteRule ^es/tiendas$ /stores.php?isolang=es [QSA,L]

RewriteRule ^es/proveedores$ /supplier.php?isolang=es [QSA,L]

RewriteRule ^es$ /es/ [QSA,L]

RewriteRule ^es/([^?&]*)$ /$1?isolang=es [QSA,L]

RewriteRule ^de/seite-nicht-gefunden$ /404.php?isolang=de [QSA,L]

RewriteRule ^de/adresse$ /address.php?isolang=de [QSA,L]

RewriteRule ^de/adressen$ /addresses.php?isolang=de [QSA,L]

RewriteRule ^de/authentifizierung$ /authentication.php?isolang=de [QSA,L]

RewriteRule ^de/verkaufshits$ /best-sales.php?isolang=de [QSA,L]

RewriteRule ^de/warenkorb$ /cart.php?isolang=de [QSA,L]

RewriteRule ^de/kontaktieren-sie-uns$ /contact-form.php?isolang=de [QSA,L]

RewriteRule ^de/discount$ /discount.php?isolang=de [QSA,L]

RewriteRule ^de/auftragsverfolgung-gast$ /guest-tracking.php?isolang=de [QSA,L]

RewriteRule ^de/bestellungsverlauf$ /history.php?isolang=de [QSA,L]

RewriteRule ^de/kennung$ /identity.php?isolang=de [QSA,L]

RewriteRule ^de/hersteller$ /manufacturer.php?isolang=de [QSA,L]

RewriteRule ^de/mein-Konto$ /my-account.php?isolang=de [QSA,L]

RewriteRule ^de/neue-Produkte$ /new-products.php?isolang=de [QSA,L]

RewriteRule ^de/bestellung$ /order.php?isolang=de [QSA,L]

RewriteRule ^de/bestellungsverfolgung$ /order-follow.php?isolang=de [QSA,L]

RewriteRule ^de/schnell-bestellung$ /order-opc.php?isolang=de [QSA,L]

RewriteRule ^de/bestellschein$ /order-slip.php?isolang=de [QSA,L]

RewriteRule ^de/kennwort-wiederherstellung$ /password.php?isolang=de [QSA,L]

RewriteRule ^de/angebote$ /prices-drop.php?isolang=de [QSA,L]

RewriteRule ^de/suche$ /search.php?isolang=de [QSA,L]

RewriteRule ^de/sitemap$ /sitemap.php?isolang=de [QSA,L]

RewriteRule ^de/shops$ /stores.php?isolang=de [QSA,L]

RewriteRule ^de/zulieferer$ /supplier.php?isolang=de [QSA,L]

RewriteRule ^de$ /de/ [QSA,L]

RewriteRule ^de/([^?&]*)$ /$1?isolang=de [QSA,L]

RewriteRule ^it/pagina-non-trovata$ /404.php?isolang=it [QSA,L]

RewriteRule ^it/indirizzo$ /address.php?isolang=it [QSA,L]

RewriteRule ^it/indirizzi$ /addresses.php?isolang=it [QSA,L]

RewriteRule ^it/autenticazione$ /authentication.php?isolang=it [QSA,L]

RewriteRule ^it/vendite-migliori$ /best-sales.php?isolang=it [QSA,L]

RewriteRule ^it/carrello$ /cart.php?isolang=it [QSA,L]

RewriteRule ^it/contattaci$ /contact-form.php?isolang=it [QSA,L]

RewriteRule ^it/sconto$ /discount.php?isolang=it [QSA,L]

RewriteRule ^it/ospite-monitoraggio$ /guest-tracking.php?isolang=it [QSA,L]

RewriteRule ^it/storico-ordine$ /history.php?isolang=it [QSA,L]

RewriteRule ^it/identita$ /identity.php?isolang=it [QSA,L]

RewriteRule ^it/produttori$ /manufacturer.php?isolang=it [QSA,L]

RewriteRule ^it/il-mio-account$ /my-account.php?isolang=it [QSA,L]

RewriteRule ^it/nuovi-prodotti$ /new-products.php?isolang=it [QSA,L]

RewriteRule ^it/ordine$ /order.php?isolang=it [QSA,L]

RewriteRule ^it/seguito-ordine$ /order-follow.php?isolang=it [QSA,L]

RewriteRule ^it/ordine-veloce$ /order-opc.php?isolang=it [QSA,L]

RewriteRule ^it/nota-di-ordine$ /order-slip.php?isolang=it [QSA,L]

RewriteRule ^it/password-recupero$ /password.php?isolang=it [QSA,L]

RewriteRule ^it/riduzione-prezzi$ /prices-drop.php?isolang=it [QSA,L]

RewriteRule ^it/cerca$ /search.php?isolang=it [QSA,L]

RewriteRule ^it/sitemap$ /sitemap.php?isolang=it [QSA,L]

RewriteRule ^it/negozi$ /stores.php?isolang=it [QSA,L]

RewriteRule ^it/fornitore$ /supplier.php?isolang=it [QSA,L]

RewriteRule ^it$ /it/ [QSA,L]

RewriteRule ^it/([^?&]*)$ /$1?isolang=it [QSA,L]

RewriteRule ^lt/page-not-found$ /404.php?isolang=lt [QSA,L]

RewriteRule ^lt/address$ /address.php?isolang=lt [QSA,L]

RewriteRule ^lt/addresses$ /addresses.php?isolang=lt [QSA,L]

RewriteRule ^lt/authentication$ /authentication.php?isolang=lt [QSA,L]

RewriteRule ^lt/best-sales$ /best-sales.php?isolang=lt [QSA,L]

RewriteRule ^lt/cart$ /cart.php?isolang=lt [QSA,L]

RewriteRule ^lt/contact-us$ /contact-form.php?isolang=lt [QSA,L]

RewriteRule ^lt/discount$ /discount.php?isolang=lt [QSA,L]

RewriteRule ^lt/guest-tracking$ /guest-tracking.php?isolang=lt [QSA,L]

RewriteRule ^lt/order-history$ /history.php?isolang=lt [QSA,L]

RewriteRule ^lt/identity$ /identity.php?isolang=lt [QSA,L]

RewriteRule ^lt/manufacturers$ /manufacturer.php?isolang=lt [QSA,L]

RewriteRule ^lt/my-account$ /my-account.php?isolang=lt [QSA,L]

RewriteRule ^lt/new-products$ /new-products.php?isolang=lt [QSA,L]

RewriteRule ^lt/order$ /order.php?isolang=lt [QSA,L]

RewriteRule ^lt/order-follow$ /order-follow.php?isolang=lt [QSA,L]

RewriteRule ^lt/quick-order$ /order-opc.php?isolang=lt [QSA,L]

RewriteRule ^lt/order-slip$ /order-slip.php?isolang=lt [QSA,L]

RewriteRule ^lt/password-recovery$ /password.php?isolang=lt [QSA,L]

RewriteRule ^lt/prices-drop$ /prices-drop.php?isolang=lt [QSA,L]

RewriteRule ^lt/search$ /search.php?isolang=lt [QSA,L]

RewriteRule ^lt/sitemap$ /sitemap.php?isolang=lt [QSA,L]

RewriteRule ^lt/stores$ /stores.php?isolang=lt [QSA,L]

RewriteRule ^lt/supplier$ /supplier.php?isolang=lt [QSA,L]

RewriteRule ^lt$ /lt/ [QSA,L]

RewriteRule ^lt/([^?&]*)$ /$1?isolang=lt [QSA,L]

RewriteRule ^cs/page-not-found$ /404.php?isolang=cs [QSA,L]

RewriteRule ^cs/address$ /address.php?isolang=cs [QSA,L]

RewriteRule ^cs/addresses$ /addresses.php?isolang=cs [QSA,L]

RewriteRule ^cs/authentication$ /authentication.php?isolang=cs [QSA,L]

RewriteRule ^cs/best-sales$ /best-sales.php?isolang=cs [QSA,L]

RewriteRule ^cs/cart$ /cart.php?isolang=cs [QSA,L]

RewriteRule ^cs/contact-us$ /contact-form.php?isolang=cs [QSA,L]

RewriteRule ^cs/discount$ /discount.php?isolang=cs [QSA,L]

RewriteRule ^cs/guest-tracking$ /guest-tracking.php?isolang=cs [QSA,L]

RewriteRule ^cs/order-history$ /history.php?isolang=cs [QSA,L]

RewriteRule ^cs/identity$ /identity.php?isolang=cs [QSA,L]

RewriteRule ^cs/manufacturers$ /manufacturer.php?isolang=cs [QSA,L]

RewriteRule ^cs/my-account$ /my-account.php?isolang=cs [QSA,L]

RewriteRule ^cs/new-products$ /new-products.php?isolang=cs [QSA,L]

RewriteRule ^cs/order$ /order.php?isolang=cs [QSA,L]

RewriteRule ^cs/order-follow$ /order-follow.php?isolang=cs [QSA,L]

RewriteRule ^cs/quick-order$ /order-opc.php?isolang=cs [QSA,L]

RewriteRule ^cs/order-slip$ /order-slip.php?isolang=cs [QSA,L]

RewriteRule ^cs/password-recovery$ /password.php?isolang=cs [QSA,L]

RewriteRule ^cs/prices-drop$ /prices-drop.php?isolang=cs [QSA,L]

RewriteRule ^cs/search$ /search.php?isolang=cs [QSA,L]

RewriteRule ^cs/sitemap$ /sitemap.php?isolang=cs [QSA,L]

RewriteRule ^cs/stores$ /stores.php?isolang=cs [QSA,L]

RewriteRule ^cs/supplier$ /supplier.php?isolang=cs [QSA,L]

RewriteRule ^cs$ /cs/ [QSA,L]

RewriteRule ^cs/([^?&]*)$ /$1?isolang=cs [QSA,L]

RewriteRule ^nl/page-not-found$ /404.php?isolang=nl [QSA,L]

RewriteRule ^nl/address$ /address.php?isolang=nl [QSA,L]

RewriteRule ^nl/addresses$ /addresses.php?isolang=nl [QSA,L]

RewriteRule ^nl/authentication$ /authentication.php?isolang=nl [QSA,L]

RewriteRule ^nl/best-sales$ /best-sales.php?isolang=nl [QSA,L]

RewriteRule ^nl/cart$ /cart.php?isolang=nl [QSA,L]

RewriteRule ^nl/contact-us$ /contact-form.php?isolang=nl [QSA,L]

RewriteRule ^nl/discount$ /discount.php?isolang=nl [QSA,L]

RewriteRule ^nl/guest-tracking$ /guest-tracking.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-history$ /history.php?isolang=nl [QSA,L]

RewriteRule ^nl/identity$ /identity.php?isolang=nl [QSA,L]

RewriteRule ^nl/manufacturers$ /manufacturer.php?isolang=nl [QSA,L]

RewriteRule ^nl/my-account$ /my-account.php?isolang=nl [QSA,L]

RewriteRule ^nl/new-products$ /new-products.php?isolang=nl [QSA,L]

RewriteRule ^nl/order$ /order.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-follow$ /order-follow.php?isolang=nl [QSA,L]

RewriteRule ^nl/quick-order$ /order-opc.php?isolang=nl [QSA,L]

RewriteRule ^nl/order-slip$ /order-slip.php?isolang=nl [QSA,L]

RewriteRule ^nl/password-recovery$ /password.php?isolang=nl [QSA,L]

RewriteRule ^nl/prices-drop$ /prices-drop.php?isolang=nl [QSA,L]

RewriteRule ^nl/search$ /search.php?isolang=nl [QSA,L]

RewriteRule ^nl/sitemap$ /sitemap.php?isolang=nl [QSA,L]

RewriteRule ^nl/stores$ /stores.php?isolang=nl [QSA,L]

RewriteRule ^nl/supplier$ /supplier.php?isolang=nl [QSA,L]

RewriteRule ^nl$ /nl/ [QSA,L]

RewriteRule ^nl/([^?&]*)$ /$1?isolang=nl [QSA,L]

RewriteRule ^fi/page-not-found$ /404.php?isolang=fi [QSA,L]

RewriteRule ^fi/address$ /address.php?isolang=fi [QSA,L]

RewriteRule ^fi/addresses$ /addresses.php?isolang=fi [QSA,L]

RewriteRule ^fi/authentication$ /authentication.php?isolang=fi [QSA,L]

RewriteRule ^fi/best-sales$ /best-sales.php?isolang=fi [QSA,L]

RewriteRule ^fi/cart$ /cart.php?isolang=fi [QSA,L]

RewriteRule ^fi/contact-us$ /contact-form.php?isolang=fi [QSA,L]

RewriteRule ^fi/discount$ /discount.php?isolang=fi [QSA,L]

RewriteRule ^fi/guest-tracking$ /guest-tracking.php?isolang=fi [QSA,L]

RewriteRule ^fi/order-history$ /history.php?isolang=fi [QSA,L]

RewriteRule ^fi/identity$ /identity.php?isolang=fi [QSA,L]

RewriteRule ^fi/manufacturers$ /manufacturer.php?isolang=fi [QSA,L]

RewriteRule ^fi/my-account$ /my-account.php?isolang=fi [QSA,L]

RewriteRule ^fi/new-products$ /new-products.php?isolang=fi [QSA,L]

RewriteRule ^fi/order$ /order.php?isolang=fi [QSA,L]

RewriteRule ^fi/order-follow$ /order-follow.php?isolang=fi [QSA,L]

RewriteRule ^fi/quick-order$ /order-opc.php?isolang=fi [QSA,L]

RewriteRule ^fi/order-slip$ /order-slip.php?isolang=fi [QSA,L]

RewriteRule ^fi/password-recovery$ /password.php?isolang=fi [QSA,L]

RewriteRule ^fi/prices-drop$ /prices-drop.php?isolang=fi [QSA,L]

RewriteRule ^fi/search$ /search.php?isolang=fi [QSA,L]

RewriteRule ^fi/sitemap$ /sitemap.php?isolang=fi [QSA,L]

RewriteRule ^fi/stores$ /stores.php?isolang=fi [QSA,L]

RewriteRule ^fi/supplier$ /supplier.php?isolang=fi [QSA,L]

RewriteRule ^fi$ /fi/ [QSA,L]

RewriteRule ^fi/([^?&]*)$ /$1?isolang=fi [QSA,L]

RewriteRule ^pl/page-not-found$ /404.php?isolang=pl [QSA,L]

RewriteRule ^pl/address$ /address.php?isolang=pl [QSA,L]

RewriteRule ^pl/addresses$ /addresses.php?isolang=pl [QSA,L]

RewriteRule ^pl/authentication$ /authentication.php?isolang=pl [QSA,L]

RewriteRule ^pl/best-sales$ /best-sales.php?isolang=pl [QSA,L]

RewriteRule ^pl/cart$ /cart.php?isolang=pl [QSA,L]

RewriteRule ^pl/contact-us$ /contact-form.php?isolang=pl [QSA,L]

RewriteRule ^pl/discount$ /discount.php?isolang=pl [QSA,L]

RewriteRule ^pl/guest-tracking$ /guest-tracking.php?isolang=pl [QSA,L]

RewriteRule ^pl/order-history$ /history.php?isolang=pl [QSA,L]

RewriteRule ^pl/identity$ /identity.php?isolang=pl [QSA,L]

RewriteRule ^pl/manufacturers$ /manufacturer.php?isolang=pl [QSA,L]

RewriteRule ^pl/my-account$ /my-account.php?isolang=pl [QSA,L]

RewriteRule ^pl/new-products$ /new-products.php?isolang=pl [QSA,L]

RewriteRule ^pl/order$ /order.php?isolang=pl [QSA,L]

RewriteRule ^pl/order-follow$ /order-follow.php?isolang=pl [QSA,L]

RewriteRule ^pl/quick-order$ /order-opc.php?isolang=pl [QSA,L]

RewriteRule ^pl/order-slip$ /order-slip.php?isolang=pl [QSA,L]

RewriteRule ^pl/password-recovery$ /password.php?isolang=pl [QSA,L]

RewriteRule ^pl/prices-drop$ /prices-drop.php?isolang=pl [QSA,L]

RewriteRule ^pl/search$ /search.php?isolang=pl [QSA,L]

RewriteRule ^pl/sitemap$ /sitemap.php?isolang=pl [QSA,L]

RewriteRule ^pl/stores$ /stores.php?isolang=pl [QSA,L]

RewriteRule ^pl/supplier$ /supplier.php?isolang=pl [QSA,L]

RewriteRule ^pl$ /pl/ [QSA,L]

RewriteRule ^pl/([^?&]*)$ /$1?isolang=pl [QSA,L]

RewriteRule ^pt/page-not-found$ /404.php?isolang=pt [QSA,L]

RewriteRule ^pt/address$ /address.php?isolang=pt [QSA,L]

RewriteRule ^pt/addresses$ /addresses.php?isolang=pt [QSA,L]

RewriteRule ^pt/authentication$ /authentication.php?isolang=pt [QSA,L]

RewriteRule ^pt/best-sales$ /best-sales.php?isolang=pt [QSA,L]

RewriteRule ^pt/cart$ /cart.php?isolang=pt [QSA,L]

RewriteRule ^pt/contact-us$ /contact-form.php?isolang=pt [QSA,L]

RewriteRule ^pt/discount$ /discount.php?isolang=pt [QSA,L]

RewriteRule ^pt/guest-tracking$ /guest-tracking.php?isolang=pt [QSA,L]

RewriteRule ^pt/order-history$ /history.php?isolang=pt [QSA,L]

RewriteRule ^pt/identity$ /identity.php?isolang=pt [QSA,L]

RewriteRule ^pt/manufacturers$ /manufacturer.php?isolang=pt [QSA,L]

RewriteRule ^pt/my-account$ /my-account.php?isolang=pt [QSA,L]

RewriteRule ^pt/new-products$ /new-products.php?isolang=pt [QSA,L]

RewriteRule ^pt/order$ /order.php?isolang=pt [QSA,L]

RewriteRule ^pt/order-follow$ /order-follow.php?isolang=pt [QSA,L]

RewriteRule ^pt/quick-order$ /order-opc.php?isolang=pt [QSA,L]

RewriteRule ^pt/order-slip$ /order-slip.php?isolang=pt [QSA,L]

RewriteRule ^pt/password-recovery$ /password.php?isolang=pt [QSA,L]

RewriteRule ^pt/prices-drop$ /prices-drop.php?isolang=pt [QSA,L]

RewriteRule ^pt/search$ /search.php?isolang=pt [QSA,L]

RewriteRule ^pt/sitemap$ /sitemap.php?isolang=pt [QSA,L]

RewriteRule ^pt/stores$ /stores.php?isolang=pt [QSA,L]

RewriteRule ^pt/supplier$ /supplier.php?isolang=pt [QSA,L]

RewriteRule ^pt$ /pt/ [QSA,L]

RewriteRule ^pt/([^?&]*)$ /$1?isolang=pt [QSA,L]

</IfModule>

 

# Catch 404 errors

ErrorDocument 404 /404.php

 

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType image/gif "access plus 1 month"

ExpiresByType image/jpeg "access plus 1 month"

ExpiresByType image/png "access plus 1 month"

ExpiresByType text/css "access plus 1 week"

ExpiresByType text/javascript "access plus 1 week"

ExpiresByType application/javascript "access plus 1 week"

ExpiresByType application/x-javascript "access plus 1 week"

ExpiresByType image/x-icon "access plus 1 year"

</IfModule>

 

FileETag INode MTime Size

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

</IfModule>

Edited by fidolu (see edit history)
Link to comment
Share on other sites

Bonsoir,

 

J'ai eu le même problème mais sur l'ensemble de mon site

Presta = 1.5.4.1

Hébergement = ovh mutu premium

Installation dans un sous-rep

Activation url simplifié = erreur 500

Sans url simplifié = tout est ok

 

J'ai ceci en tete de mon htaccess :

 

RewriteEngine On
RewriteBase /nomdemonsousrep
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

 

En rajoutant ces 3 dernières lignes :

Url simplifié = fonctionne (aucune erreur 500) mais je n'ai plus aucune image produits ni en page d'accueil, ni dans les fiches produits (même en regénérant les images, nettoyant le cache....), j'ai le ? à la place.

 

Donc rajoute ces 3 lignes ça devrait fonctionner.

 

Pour le reste du htaccess :

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule . - [E=REWRITEBASE:/nomdusousrep/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule . - [E=REWRITEBASE:/nomdusousrep/2r-antiquites/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^.*$ - [NC,L]
RewriteCond %{HTTP_HOST} ^www.mondomaine.fr$
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
FileETag INode MTime Size
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
 AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript
</IfModule>
</IfModule>
#If rewrite mod isn't enabled
ErrorDocument 404 /nomdusousrep/404.php
# ErrorDocument 404 /nomdusousrep/index.php?controller=404
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

 

Si quelqu'un a un htaccess qui fonctionne pour prestashop 1.5.4.1 sur un ovh mutu, je suis preneur, ça fait 10 jours que je me prends la tête avec l'activation des url simplifiés.

 

En espérant que ça arrange ta page d'accueil

Link to comment
Share on other sites

Merci webmestre06 pour ton aide, c'est très sympa.

En effet, en ayant ajouté les trois lignes dont tu parles à savoir

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

Je n'avais plus les images et les catégories étaient redirigées vers la home.

J'ai donc supprimé la 3ème ligne de mon htaccess et là, tout marche nickel pour moi.

Je ne sais pas si cela servira à quelqu'un (attention de bien vider le cache de firefox si vous testez sur ce navigateur, sinon vous ne verrez pas de différences).

Pour moi le problème est résolu.

Encore merci

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...