Quantcast
Viewing all articles
Browse latest Browse all 4759

Simple question about redirects

Hello all

Started to dabble in nginx lately but I'm still having issues with many redirects and rewrites.

I can make and understand simple ones but need help with some, for instance...

I have a website and plenty links and images are ending with random string of numbers...for instance https://www.somewebiste.com/images/cat-image-7646465545...

I want to make a rule that will find all those links and redirect them to https://www.somewebiste.com/images/cat-image

How would I proceed to do it?

Thank you in advance

Viewing all articles
Browse latest Browse all 4759

Trending Articles