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
#forward http to https and non-www to www with only 1 hop | |
#hop test https://varvy.com/tools/redirects/ | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] | |
</IfModule> | |
#Block Wordpress authors scan | |
<IfModule mod_rewrite.c> |