Answer the question
In order to leave comments, you need to log in
301 redirect for SEO, do you need a redirect of internal pages?
Hello. There was an old site on the domain, the question arose of making a completely new site from scratch, and leaving the domain the same, but when reworking the site, some page links could not be left the same and they just had to be changed (for example, it was site.ru/asd, but it became site.ru/abc). The problem is that the site is in the top for very competitive queries in search engines and internal pages are no exception. Do I need a 301 redirect of internal pages, and if so, how to organize it correctly, please tell me!!!
As far as I understand it should look like this in .htaccess:
Options +FollowSymlinks
RewriteEngine on
rewriterule ^asd/(.*)$ site.ru/abc/$1 [r=301,nc]
Options +FollowSymlinks
RewriteEngine on
rewriterule ^asd/(.*)$ site.ru/abc/$1 [r=301,nc]
rewriterule ^asd1/(.*)$ site.ru/abc1/$1 [r=301,nc ] ]
rewriterule ^asd2/(.*)$ site.ru/abc2/$1 [r=301,nc]
rewriterule ^asd3/(.*)$ site.ru/abc3/$1 [r=301,nc]
Options +FollowSymlinks
RewriteEngine on
rewriterule ^asd/(.*)$ site.ru/abc/$1 [r=301,nc]
Options +FollowSymlinks
RewriteEngine on
rewriterule ^asd1/(.*)$ site.ru/abc1/$1 [r=301,nc]
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