Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
- RewriteRule ^(.*)$ http://www.domain.com$1 [R=301,L]
- http://domain.com/ <-- good
- http://domain.com/file.php/ <-- bad
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement