Sign in to follow this  
Followers 0

rewriting version 6.3

5 posts in this topic

Posted · Report post

Je teste un url rewrintig

Je redirige bien produits et catégories

RewriteRule ^categorie-([0-9]+)\.html$ achat/index.php?catid=$1 [L]

RewriteRule ^produit-([0-9]+)\.html$ achat/produit_details.php?id=$1 [L]

Par contre quand on choisit le type de tri dans la page categorie j'ai

http://domaine.net/categorie-22.html&tri=nom_fr&sort=desc

je n'arrive pas a remplacer le $tri en ?tri via le htaccess

j'ai essayé

RewriteRule ^categorie-(.*)-tri-(.*)-sort-(.*)\.html$ achat/index.php?catid=$1?tri=$2&sort=$3

Quelqu'un aurait il une idée

Merci de votre aide

Share this post


: post
Share on other sites

Posted · Report post

as tu le module premium?

Share this post


: post
Share on other sites

Posted · Report post

Bonjour

Non j'ai ecrit un module pour moi

Mais j'ai trouvé une solution intermédiaire j'ai modifié le display.php et fait un test sur l'activation du module

Mais si quelqu'un a la solution en htaccess je prends

Share this post


: post
Share on other sites

Posted · Report post

désolé, je n'ai jamais trouvé en htaccess, c'est pour ça que j'ai pris le premium..

je te souhaite de trouver

Share this post


: post
Share on other sites

Posted · Report post

Merci pour ta réponse, la solution php fonctionne pour l'instant

Share this post


: post
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
Sign in to follow this  
Followers 0

Twitter Advisto ecommerce

Facebook PEEL Shopping