M
M
maks789452019-07-29 15:06:40
htaccess
maks78945, 2019-07-29 15:06:40

How to make a 301 redirect for a large number of pages?

Good afternoon, in order to make a redirect from one page to the second, this entry is used.
Redirect 301 /page-1.html /page-2.html
And if I need to do this for more than 60 pages, these values ​​​​are simply written for each page, or is there a more elegant way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-07-29
@maks78945

give at least a few links,
since at the moment the logic of changing the numbers by one is visible and the condition is up to 60, I'm not sure that you need to shift the numbers by one
, but preferably give all the urls.
And yes, sometimes you have to do 5K redirects and not 60

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question