H
H
Hello America2017-05-16 16:32:09
Regular Expressions
Hello America, 2017-05-16 16:32:09

How to set the correct regular expression for a redirect in htaccess from mysite.ru/en_content to mysite.ru/en/content?

How to set correct regular expression for redirect in htaccess from mysite.ru/en_anypage to mysite.ru/en/anypage ? Something dark forest for me this topic, and specifying a redirect for thousands of links is not reasonable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2017-05-16
@shambler81

The regular expression implies a certain selection of matches
you have an exact match which regular expression you need /
Can you at least hint which of these will change?
en?
content?
domain ?
specify the question. I will write an answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question