TheProfosist

htaccess https

Jan 16th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. RewriteEngine On
  12. RewriteCond %{HTTP_HOST} ^(www.)?the-tech-exchange.com$
  13. RewriteRule ^(/)?$ wp [L]
  14. RewriteCond %{SERVER_PORT} 80
  15. RewriteRule ^(.*)$ https://the-tech-exchange.com/$1 [R,L]
Advertisement
Add Comment
Please, Sign In to add comment