Answer the question
In order to leave comments, you need to log in
RewriteRule for CNC does not work correctly. Guys who knows the answer?
Hello everyone, just now I was checking the operation of the rule for auto changing the url through the .htaccess file
. For some reason, it does not work on the hosting. All I need is to change the link like this:
sait.ru/r1/index_feed.php?id=9
TO
sait.ru/r1/post/9.html
The rule was written like this:
RewriteEngine on
RewriteRule ^post/([-a-z0 -9]+.html)$ index_feed.php?id=$1 [L]
Tell me guys who knows why it doesn't work?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question