Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # BEGIN WordPress
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{HTTPS} !on [NC]
  5. RewriteCond %{HTTP_USER_AGENT} (chrome|googlebot|safari|opera|firefox|internet explorer|ie) [NC]
  6. RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R=301,L]
  7. RewriteRule ^index\.php$ - [L]
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule . /index.php [L]
  11. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement