php - htaccess ignoring RewriteRule following new RewriteCond & RewriteRule -
the below code works rewrite page.php
rewriteengine on rewriterule ^pages/(.+)$ /page.php?page=$1 [l]
the when adding below bit new redirect works rewrite of page.php stops.
rewriteengine on rewritecond %{http_host} ^www.example.fr [nc] rewriterule ^(.*)$ http://www.example.fr/fr/$1 [l,r=301,nc] rewriterule ^pages/(.+)$ /page.php?page=$1 [l]
can explain why , how fix page.php rewrite stops working when code has not changed, have added new redirect works.
Comments
Post a Comment