A
A
AstonMartin2021-08-17 09:25:20
Nginx
AstonMartin, 2021-08-17 09:25:20

Will nginx process a file with 50k redirects?

Hello!

We have a large content project moving to another engine and urls.
About 30k pages like /index.php?t=123456 will be moved to addresses like /new-topic-name
Plus, there are still many redirects from paginated pages to new addresses.
In general, if you just make rules through "rewrite", then you can get about 50k lines of rules.

Do you think nginx will normally work with such a redirect file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-08-17
@shambler81

no problem
If you are afraid of loading then make these redirects to 404.php
actually in this case they will work only when they are accessed in other cases they will not load the system at all. and when moving, you will not need to think about them.
Well, it's easier to write them in it;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question