Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteCond %{HTTP_HOST} !^www\.
- RewriteRule (.*) http://www.giant9.com/$1 [R=301,L]
- or
- RewriteCond %{HTTP_HOST} ^example\.com
- RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
- /*
- protected index.php
- */
- RewriteRule ^index.php$ http://www.example.com/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement