Bonjour à tous
Je rencontre un problème avec l'url-rewriting
le rewriting des URL simples marche sans soucis par contre j'ai un souci sur ce type de redirection
quand je saisi l'url "formation-barbier-rasage.html" dans mon navigateur il s'affiche une page d'erreur avec la notification suivante:RewriteRule ^formation-barbier-rasage\.html$ /formations.php?formation=barbier [L]
apparemment ma variable "formation=barbier" n'est pas prise en compteThe requested URL /formations.php was not found on this server.
J'ai beau me démener je ne comprends pas d'où ça vient.
Je compte sur vos lumières
Voici le code de mon fichier .htaccess
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 # # Attention : The .htaccess must correspond to the config_referencement.php (Dir : Includes) # # Le serveur doit suivre les liens symboliques : Options +FollowSymlinks SetEnv PHP_VER 5 RewriteEngine on RewriteRule ^formation-ongles-coiffure-esthetique\.html$ index.php RewriteRule ^formation-conseil-image-relooking\.html$ /formations.php?formation=relooking [L] RewriteRule ^formation-extensions-cheveux\.html$ /formations.php?formation=extension [L] RewriteRule ^formation-barbier-rasage\.html$ /formations.php?formation=barbier [L] RewriteRule ^formation-tribal-hair-design\.html$ /formations.php?formation=tribal [L] RewriteRule ^formation-marketing-communication\.html$ /formations.php?formation=boostbusiness [L] RewriteRule ^formation-maquillage\.html$ /formations.php?formation=makeup [L] RewriteRule ^formation-prothesiste-ongulaire\.html$ /formations.php?formation=styliste [L] RewriteRule ^contact-formation-coiffure-esthetique\.html$ contact.php RewriteRule ^mentions-legales\.html$ mentions.php
Merci d'avance pour vos réponses
Partager