Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} off
  3. https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  4. RewriteCond %{HTTP_HOST} !^www\.
  5. https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  6. # BEGIN WordPress
  7. <IfModule mod_rewrite.c>
  8. RewriteEngine On
  9. RewriteBase /
  10. RewriteRule ^index\.php$ - [L]
  11. RewriteCond %{REQUEST_FILENAME} !-f
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. RewriteRule . /index.php [L]
  14. </IfModule>
  15.  
  16. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement