Both http://example.comhttp://example.com
and https://example.comhttps://example.com
are showing up as duplicate content in the Google results. How do you remove the HTTP version from Google index but keep the HTTPS version using Google Search Console? Whenever I temporarily block http://example.comhttp://example.com
, it removes both HTTP and HTTPS versions from the index.