@
@
@eashla2017-03-01 21:28:18
Search Engine Optimization
@eashla, 2017-03-01 21:28:18

How to make a lot of 301 redirects?

Good afternoon!
I am updating the site. The structure of a site with a large number of products has changed, but the products themselves have remained the same with the same description.
https://yandex.ru/support/webmaster/recommendation...
I'm going to transfer a new site instead of the old one, but I don't know how to make such a number of redirects (there will probably be 500 of them)
Advise how to create a large list of 301 redirects from the old structure site to a new one.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor Taran, 2017-03-02
@shambler81

1 you collect a file in Excel with 500 urls what and where.
2. https://donatstudios.com/RewriteRule_Generator
that's all.
If there is a logic like change 1 part of the url, for example, for 400 products, replace /catalog with /product
THEN attach the file here, I will make regular expressions for repeating elements.

A
Axian Ltd., 2017-03-02
@AxianLTD

Programmatically. Make a URL mapping table and programmatically issue the desired redirect when accessing the original URL.

E
eashla, 2017-03-03
@eashla

Compiled by exporting from CMS and working with formulas in Excel. I spent 3-4 hours compiling 700 links.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question