R
R
raron2018-11-05 02:45:44
Digital certificates
raron, 2018-11-05 02:45:44

How to migrate to ssl?

More specifically, yes. the site (WordPress) has not yet been indexed by search engines .. there is an ssl certificate, I wrote a redirect to https in the .htaccess file like this:

RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$ [OR]
RewriteCond %{HTTP} =on
RewriteRule ^(.*)$ https://мой-сайт.com/$1 [R=301,L]

, everything works, but I'm wondering (if I run it now) whether search engines will index the main (old) http.
Because if, for example, you don’t pay for ssl for the next year (it probably won’t work?), then it turns out that all traffic for that year will fall and start indexing (all over again) the usual http? 777? Or is it better to avoid it? Tell me more if it's possible for a beginner where I'm wrong and how best to do it all?
2. Yes, and .. is such a redirect that I made considered a gluing of the so-called mirror sites?
or gluing is just a redirect for different domains (for example) site.ru to site-2.com?
now there are a lot of articles, it’s difficult to understand everything in a day, in short, please help someone who fumbles ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-11-05
@raron

instruction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question