Last active
December 11, 2015 15:28
-
-
Save martisj/4620654 to your computer and use it in GitHub Desktop.
doesnt rewrite to correct url
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
# Use PHP5 Single php.ini as default | |
AddHandler application/x-httpd-php5s .php | |
RewriteEngine On | |
#For martinsjastad.com and frontsideinteractive.com | |
# automatically redirect user from www.martinsjastad.com to martinsjastad.com | |
# automatically redirect user from www.frontsideinteractive.com to frontsideinteractive.com | |
RewriteCond %{HTTP_HOST} =www.martinsjastad.com [NC] | |
RewriteRule (.*) http://martinsjastad.com/$1 [R=301,L] | |
RewriteCond %{HTTP_HOST} =www.frontsideinteractive.com [NC] | |
RewriteRule (.*) http://frontsideinteractive.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i try to go to www.martinsjastad.com the http response is Location: http://.com/ .....