Last Updated: February 25, 2016
·
525
· alexcristea

Robots.txt for HTTPS requests

Serve different robots.txt files for HTTP and HTTPS connections:

###  Set robots.txt for https connections
RewriteCond %{SERVER_PORT} ^443$ 
RewriteRule ^robots.txt$ robots_ssl.txt