Answer the question
In order to leave comments, you need to log in
How to write one revritcond for multiple revriterule?
Hello!
I am writing a rule for a web server. I understand this poorly, I read the documentation, but have not yet reached the desired answer.
The task is as follows: to open another page at a certain address.
The page on which the content is located has the following form amp/produkcziya/pryamaya-uf-pechat/uf-pechat-na-polistirole/index.html.
Page to redirect to amp/produkcziya/pryamaya-uf-pechat/na-polistirole/.
My attempts look like this:
Ст. 1 - RewriteCond %{REQUEST_URI} ^/amp/.*
Ст. 2 - RewriteRule ^amp/uslugi/frezerovka/kompozita/$ amp/uslugi/frezerovka/frezerovka-kompozita/index.html [L]
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