YoannB Posted October 1, 2009 Share Posted October 1, 2009 Bonjour,je cherche à améliorer mon écriture d'url. Je souhaite ne pas faire apparaitre le ID de catégorie.Actuellement : http://www.mondomaione.com/15-ma-categorieje voudrais : http://www.mondomaine.com/ma-categorieJe pense que c'est au niveau du fichier .htaccess (voir en pièce jointe) sur cette ligne :RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]comme je ne suis pas codeur...merci de votre aide. htaccess.txt Link to comment Share on other sites More sharing options...
krokolud Posted October 1, 2009 Share Posted October 1, 2009 Je penses pas que tu puisses faire ca.La boutique se sert de l'id catégorie pour afficher la page en conséquence.Si tu veux l'enlever il faudra modifier le kernel pour qu'il se base sur le nom de la catégorie pour afficher la page.Et encore même pas sur car tu peux avoir plusieurs catégories avec le même nom... Link to comment Share on other sites More sharing options...
LIKEAROBOT Posted October 1, 2009 Share Posted October 1, 2009 Hello, je rejoins maxtorpour moi c'est pas possible (du moins sur une 1.1)A +++ 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