Jump to content

(RESOLU)Pages d'erreur avec Livraison,mentions legales, conditions generales de ventes, a propos...


GAELLE

Recommended Posts

Bonjour

Je suis en local, et je tombe sur une page d'erreur lorsque je clique sur "Livraison", "mentions legales", "conditions generales de ventes", "a propos" (Outils->CMS)

Pouvez vous m'aider SVP ? car je bloque.
Quel est le fichier à modifier ?

MERCI.

Link to comment
Share on other sites

livraison : http://127.0.0.1/prestashop_1.1/prestashop/content/1-livraison PAGE INTROUVABLE HTTP 404 Non trouvé
Mentions légales : http://127.0.0.1/prestashop_1.1/prestashop/content/2-mentions-legales PAGE INTROUVABLE HTTP 404 Non trouvé
Conditions d'utilisation : http://127.0.0.1/prestashop_1.1/prestashop/content/3-conditions-generales-de-ventes NOT FOUND HTTP 404 not found
A propos : http://127.0.0.1/prestashop_1.1/prestashop/content/4-a-propos PAGE INTROUVABLE HTTP 404 Non trouvé

J'espère que ca t'aideras un peu... MERCI !

Link to comment
Share on other sites

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
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 ^([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

Link to comment
Share on other sites

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
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 ^([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



Ouvre ton fichier .htaccess avec Wordpad (pas Notepad) et rajoute dans la section # URL rewriting rules les 2 lignes :
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]
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...