B
B
Bruckks2018-11-02 13:22:17
Google
Bruckks, 2018-11-02 13:22:17

Question about transferring a site from http to https, how to do it right from the point of view of SEO?

The situation is this:
There is a site, "Google Analytics" is connected to it. The search console did not enter a site of any version, neither http nor https. Just like in Yandex.Webmaster, the site has not been added either. But it has been brewing on the Internet for a long time and I would not want to lose positions. How to competently build a move to https and add all these features without leaving the positions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mars, 2018-11-08
@Marsseo73

1. Make a redirect in the .htaccess file:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

2. In the Yandex webmaster: Indexing -> Moving site -> Select a domain and check the box "Add HTTPS".
You can also enter the Host directive in Robots.txt
As well as an option on each page of the site (if there are not many of them), write: Where for the place https://mysite.ru , specify a link to the page for which it is registered. Specified in HEAD somewhere near the title, description and keywords meta tags. I usually use all three methods, but as practice says, for Yandex it is enough to specify in the webmaster and register host.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question