Advertisement
Guest User

htaccess_wordpress_https

a guest
Jul 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine on
  3. RewriteCond %{ENV:HTTPS} !=on
  4. RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
  5. RewriteBase /
  6. RewriteRule ^index\.php$ - [L]
  7. RewriteCond %{REQUEST_FILENAME} !-f
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. RewriteRule . /index.php [L]
  10. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement