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.
Set redirects from HTTPS pages to the corresponding HTTP pages. Remember to make sure that both site versions are available to the robot.
Note. The HTTPS protocol is more secure. It significantly reduces the risk that personal data (usernames, passwords, bank card numbers and so on) could be intercepted, and also helps prevent content substitution, including ad replacement, when loading the site.