Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. http://example.com --> https://example.com
  2. http://www.example.com --> https://example.com
  3. https://www.example.com --> https://example.com
  4.  
  5. RewriteEngine On
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteCond %{REQUEST_FILENAME} !-f
  8. RewriteRule ^(.*)$ redirect.php?id=$1&page=$2 [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement