Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
  3. RewriteRule ^(.*)$ http://www.domain.com$1 [R=301,L]
  4.  
  5. http://domain.com/ <-- good
  6. http://domain.com/file.php/ <-- bad
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement