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
Written by Alex Cristea
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Https
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#