D
D
Derick Wire2014-04-02 11:54:31
htaccess
Derick Wire, 2014-04-02 11:54:31

Why doesn't a redirect from one domain to another work?

Code in .htaccess:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.k61\.dn\.ua$ [NC]
RewriteRule ^(.*)$ k61.dn.ua/$1 [R=301,L ]
RewriteCond %{HTTP_HOST} ^k61.donetsk.ua
RewriteRule ^(.*)$ k61.dn.ua/$1 [R=permanent,L]
from phpinfo():
Loaded Modules core prefork http_core mod_so mod_authz_host mod_include mod_log_config mod_mime mod_cgi mod_vhost_alias mod_dir mod_actions mod_alias mod_rewrite mod_fcgid mod_php5

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