Redirects from CSV… any suggestions?

Hi,

We have a server running multiple websites and we’re dealing with a live CSV file that has thousands of redirects. We’re using Apache with cPanel and Nginx as a reverse proxy.

I’m thinking of writing a script to read each line and update the .htaccess files, but it would be great if we could handle this at the Apache global level (or Nginx global level, although that might be a bit much for each request).

Anyone have any ideas or suggestions on how to go about this? Thanks in advance!

Could you explain a bit more? Why do you have so many redirects in the first place?

Bellamy said:
Could you explain a bit more? Why do you have so many redirects in the first place?

It’s because of some bad SEO rules from a client, unfortunately not something I can change haha