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 the HTTPS version of the site from indexing. To do this, use the DisallowDisallow directive in the robots.txt file.
- Set HTTP links as canonical on the pages of the HTTPS site version.