I’m trying to replace occurs of two dots in my image URL with only one dot
something like this
http://www.test.com/image..jpg
should be
I made this one but it seams that not working as I expect.
RewriteEngine On
RewriteRule (.*)\..(jpe?g|gif|png)$ $1.$2 [R=302,NC,L]
Any help would be more than welcome.
1 Answer