Advertisement
NicolaiTeglskovDK

HTTPS redirect

Nov 5th, 2017
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # BEGIN WordPress
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteRule ^index\.php$ - [L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /index.php [L]
  9. </IfModule>
  10. # END WordPress
  11.  
  12. # Begin HTTPS redirect
  13. <IfModule mod_rewrite.c>
  14. RewriteEngine On
  15. RewriteCond %{SERVER_PORT} 80
  16. RewriteRule ^(.*)$ https://zenziot.com/$1 [R,L]
  17. </IfModule>
  18. # END HTTPS redirect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement