Answer the question
In order to leave comments, you need to log in
How to redirect old urls to new urls in nginx?
There is a table in Excel with 500 old urls and 500 new urls.
View:
/aaa/bbb/ccc -> /new.html
/xxx/ddd -> /new/sss.html
There is nothing to catch on. There is no relationship between the old url and the new url.
What is the best way to write a 301 redirect in nginx for this case?
Answer the question
In order to leave comments, you need to log in
And if you use map ( serverfault.com/questions/441235/maintaining-redir...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question