E
E
Egor2015-05-05 04:55:20
Search Engine Optimization
Egor, 2015-05-05 04:55:20

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]

But here the question immediately arises, if I need to change a lot of links, can I write like this:
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]

Or does this rule need to be rewritten for each link, like this?
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

2 answer(s)
D
Dmitry, 2015-05-22
@Kurskov

yes
yes
no

E
Egor, 2015-05-23
@melann

Guys, thanks for the responses!
I solved the issue as follows: I
found a plugin for WordPress, called "Safe Redirect Manager". All decided, all right!
I think this post will not go unnoticed and will be useful to others!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question