How do I keep the HTTP version of the site available?
For sites that have two versions (HTTP and HTTPS), the address accessible over HTTPS can become the main mirror. This means that it will show up in search results instead of the HTTP version. To keep the HTTP version as the main mirror, use one of these methods:
- Prohibit indexing for the HTTPS site version by using Disallow directives in the robots.txt file.
- Set HTTP links as canonical on the pages of the HTTPS site version.