Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options -Indexes
- # Redirect www urls to non-www
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^www.example.com [NC]
- RewriteRule (.*) http://example.com/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement