Advertisement
Guest User

help

a guest
Apr 27th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1.  
  2. # BEGIN GD-SSL
  3. <IfModule mod_rewrite.c>
  4. Options +FollowSymLinks
  5. RewriteEngine On
  6. RewriteCond %{HTTPS} !=on
  7. RewriteCond %{HTTP_USER_AGENT} ^(.+)$
  8. RewriteCond %{SERVER_NAME} ^www\.domain\.com$
  9. RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  10. Header add Strict-Transport-Security "max-age=300"
  11. </IfModule>
  12. # END GD-SSL
  13.  
  14.  
  15. # BEGIN WordPress
  16. <IfModule mod_rewrite.c>
  17. RewriteEngine On
  18. RewriteBase /
  19. RewriteRule ^index\.php$ - [L]
  20. RewriteCond %{REQUEST_FILENAME} !-f
  21. RewriteCond %{REQUEST_FILENAME} !-d
  22. RewriteRule . /index.php [L]
  23. </IfModule>
  24.  
  25. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement