Is there a way to block SSL / https site using this plugin? What would I put in the robots.txt file to stop the search engines from seeing the https site?
Thank you
Is there a way to block SSL / https site using this plugin? What would I put in the robots.txt file to stop the search engines from seeing the https site?
Thank you
You can do this with .htaccess.
Basically, you have a separate robots.txt for https, and with mod_rewrite in .htacess, you do something like:
RewriteCond %{HTTPS} on
RewriteRule ^/robots.txt$ robots.ssl.txt [P]
This will basically point any HTTPS queries for robots.txt to the robots.ssl.txt, in which you can put:
User-agent: *
Disallow: /
That'll prevent indexing on HTTPS.
This topic has been closed to new replies.