Created
January 27, 2014 10:09
-
-
Save zdravkok/8646113 to your computer and use it in GitHub Desktop.
swap between two robots.txt files depending on HTTP Protocol port
This file contains hidden or 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
RewriteEngine on | |
RewriteCond %{SERVER_PORT} ^443$ | |
RewriteRule ^robots\.txt$ robots_ssl.txt [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment