Q: fake image url htaccess - add seo text my image real url is
http://www.example.com/images/201712/2j80owr1sgg0co00k0.jpg
but I want to show image url as
http://www.example.com/images/201712/this-is-an-image-2j80owr1sgg0co00k0.jpg
I tried a lot of combinations but they did not work. Because I need last 1 part of url seperated by (-)
Thanks for help

A: You can use:
RewriteEngine on
RewriteRule ^(images/\d+/)[^/]+-(.+\.jpg)$ $1$2 [NC,L]

