Answer the question
In order to leave comments, you need to log in
How to configure gluing http and https?
After analyzing it turned out that there are a lot of http and https duplicates on the site, in order to deal with this problem, you need to make a gluing, tell me how to make it as high quality as possible?
Answer the question
In order to leave comments, you need to log in
301 redirect from http to https
, you can also specify the Host directive in robots.txt
You need to make a 301 redirect:
For most servers, the following lines of code in the .htaccess file will do:
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://site.ru/$1 [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question