P
P
pcdesign2016-04-11 12:56:24
Nginx
pcdesign, 2016-04-11 12:56:24

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

1 answer(s)
A
Alexey Romanenko, 2016-04-11
@pcdesign

And if you use map ( serverfault.com/questions/441235/maintaining-redir...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question