Noindex https codeAdd a :
add.htaccess file to redirect HTTPS to HTTP, and to redirect requests for the .htaccess
Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https RewriteRule ^(.*)$ httprobots.txt file to one that dissalows HTTPS crawling://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #doan ma nay tu choi index https tu robot RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^robots.txt$ robots_https.txt
add file robots_https.txt
# Redirect HTTPS to HTTP
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_https.txt
User-agent: * Disallow:Then add a /robots_https.txt with this in it:
User-agent: *
Disallow: /