Created
December 17, 2016 18:04
-
-
Save MrityunjaiKumar/226079facfa04f03e7d3f369963342ff to your computer and use it in GitHub Desktop.
ssl_apache.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L] | |
</IfModule> | |
define('FORCE_SSL_ADMIN', true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment