Created
April 18, 2017 10:26
-
-
Save gybin02/f256c553f3fc2bcd77c1c26a7e557aa1 to your computer and use it in GitHub Desktop.
htaccess wordpress openshift
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^www.bp-china.com$ [NC] | |
RewriteRule ^(.*)$ http://www.bp-china.com$1 [L,R=301] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
最好成功的201 配置: