Welcome! Log In Create A New Profile

Advanced

Simple question about redirects

Posted by Tirca 
Simple question about redirects
July 05, 2017 10:35AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready