Redirect not work

pardis

Well-Known Member
#1
Hello :

on my server Redirect Code not work , guide to troubleshooting please :

Code:
RewriteCond %{HTTP_HOST} ^grafjo\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.grafjo\.com$
RewriteRule ^/?$ "http\:\/\/www\.grafjo\.net\/" [R=301,L]
 

NiteWave

Administrator
#2
if in .htaccess, try following:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^grafjo\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.grafjo\.com$
RewriteRule ^(.*)$ http://www.grafjo.net/$1 [R=301,L]
 
Top