Answer the question
In order to leave comments, you need to log in
How to set up an internal redirect in htaccess?
Internal redirect not working.
HTACCESS itself:
RewriteEngine on
RewriteCond %{REQUEST_URI} (.*).(jpg|png|jpeg|gif)$ [NC]
RewriteRule ^(.*)$ www.site.com/img.gif [L]
Upon request, any pictures on my site should be replaced with a picture of another site.
Everything used to work before moving to another host. I remember that there was already such a problem, and it was solved by prescribing some settings in Apache. There is access to *.conf. Please help.
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