robots_ssl.txt
and add this code:
User-agent: *
Disallow: /
Then add this to your .htaccess
Options +FollowSymLinks -MultiViews
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt
and you are done.
User-agent: *
Disallow: /
Options +FollowSymLinks -MultiViews
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt
No comments:
Post a Comment