Answer the question
In order to leave comments, you need to log in
How to correctly write a redirect in .htaccess?
There is the following task:
you need to make a redirect from the link
domain.ru/ishop/3_1
to the link
domain.ru/katalog/razdel
Those methods that I found either do not work or give out something like domain.ru/katalog/razdel?q=ishop/ 3_1
How do I understand underlining is something like a parameter? Because after it you can pass any set of characters and the 404 error will not return.
Answer the question
In order to leave comments, you need to log in
RewriteRule ^old-page.html$ new-page.html [R=301,NC,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question