Trippy Trippy - 7 months ago 38
Apache Configuration Question

Why this simple htaccess rule does not work

Hi guys i did a rule :

RewriteRule ^actualite/ actualite.php [L,NC]

but i want to have this website/actualites/ it doesn't work.. and works only website/actualite/

Why this rule doesn't work ?
RewriteRule ^actualites/ actualite.php [L,NC]

Thx for your help


Try this rule with MultiViews turned off and optional s after actualites:

Options -MultiViews
RewriteEngine On

RewriteRule ^actualites?/ actualite.php [L,NC]