Skip to content

Instantly share code, notes, and snippets.

@santosh
Created June 18, 2015 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santosh/134f7f3c36a6dd7f11f1 to your computer and use it in GitHub Desktop.
Save santosh/134f7f3c36a6dd7f11f1 to your computer and use it in GitHub Desktop.
Malfunctioning .htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.sntsh\.com [NC]
RewriteRule ^(.*)$ http://sntsh.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^jenniferkashyap\.sntsh\.com$ [NC]
RewriteRule ^(.*) http://jenniferkashyap.com [L,R]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment