Answer the question
In order to leave comments, you need to log in
Why doesn't ReDirect work when the server response is 301?
Domain:
www.tkstour.com
tkstour.com
A domain with www gives a 301 server response code, but if you access it from a browser, the page is simply not available. You can see for yourself.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$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 questionAsk a Question
731 491 924 answers to any question