Answer the question
In order to leave comments, you need to log in
How to change image links using .htaccess?
Hello.
Tell me how to change the links for pictures through .htaccess
in the path the address is "models/model11/11.jpg" I need to change it to something else, for example "img/model11-11.jpg"
in the file I wrote like this
"RewriteRule ^models/[ A-Za-z0-9-]+)/(.*).jpg$ /img/$1-$2.jpg "
but it doesn't work if I add [QSA] at the end it doesn't load error 502 at all
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question