1

For migration and SEO reasons I need to force redirections for a large list of URLS.

Something like:

Redirect 301 /old/00001.jpg /new/00001_{UNIXTIMESTAMP}_{name}.jpg
...
Redirect 301 /old/99999.jpg /new/99999_{UNIXTIMESTAMP}_{name}.jpg

Also need constantly edit these lines as you can see in the structure. So the question is, which is the preferred way to include all these directives that are changing dynamically?

I'm using apache.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.