4
4
4upik2014-11-23 10:31:31
htaccess
4upik, 2014-11-23 10:31:31

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 question

Ask a Question

731 491 924 answers to any question