S
S
Sergey Yakovlev2019-09-28 07:39:11
htaccess
Sergey Yakovlev, 2019-09-28 07:39:11

How to properly form a 301 redirect?

Sorry for the elementary question, but the right answer is needed quickly. I've heard that this can happen.
The structure of the site has changed.
It was: site.ru/content/razdel1
site.ru/content/razdel2, etc.
It became: site.ru/razdel1
site.ru/razdel2
That's RewriteRule ^content/(.+)$ /$1 [R=301,L]right?

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