Created
September 18, 2013 17:14
-
-
Save geekdadley/6612390 to your computer and use it in GitHub Desktop.
to redirect to another site with 301 response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine on | |
| RewriteRule ^(.*)$ http://www.wangnan.me/$1 [R=301,L] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[R=301, L] => [P], means silently redirecting.