Advertisement
Guest User

Redirect to https .htaccess

a guest
Jun 11th, 2017
7,933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteCond %{SERVER_PORT} 80
  4. RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
  5. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement