Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{HTTP_HOST} !^www\.mysite\.com$ [NC]
- RewriteRule .? http://www.mysite.com%{REQUEST_URI} [R=301,L]
- Redirect 301 /index.html http://www.mysite.com/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement