V
V
Vlad2016-03-16 13:23:36
CMS
Vlad, 2016-03-16 13:23:36

Why doesn't it redirect images?

I moved from one domain to another. Redirect registered through .htacces. All pages successfully redirect, but for some reason files (including no pictures) continue to open from the old domain and do not redirect to the new one. Tell me what needs to be fixed?

RewriteCond %{HTTP_HOST} ^multmult\.ru
RewriteRule ^(.*)$ http://multmult.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.multmult\.ru
RewriteRule ^(.*)$ http://multmult.com/$1 [R=301,L]

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www\.multmult\.ru [NC]
RewriteRule ^(.*) http://multmult.ru/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^.]+)(?<!/)$ /$1/ [R=301,L]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question