Answer the question
In order to leave comments, you need to log in
How to write different rules in .htaccess for different URLs?
What rule to write in order for the address /blog/index and /news/index to be opened at the address /blog and /news respectively
Leave the rest of the addresses unchanged
Now the
RewriteRule ^(([^/]+/)*[^.] +)$ /$1.php [L]
How to write a rule and combine with the above?
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