1

I have a website that is in Magento, I am looking at doing some url redirects in NGINX. I have a list of the current url and the new urls

How would I do this please?

Rob B
  • 11
  • 6
  • http://stackoverflow.com/a/18038165/1979882 – Vyacheslav Apr 26 '16 at 10:31
  • That is one way, but I have a CSV file with the curret urls and new urls. So I am just trying to see if there is a piece of code that I could use – Rob B Apr 26 '16 at 10:49
  • in this case I would advice to use ngixn+lua server. https://github.com/openresty/lua-nginx-module This is very simple to implement your scustom behaviour using simple scripts – Vyacheslav Apr 26 '16 at 11:03
  • use regex in `rewrite ` as wrote in the firth url – Vyacheslav Apr 26 '16 at 12:45

0 Answers0