Answer the question
In order to leave comments, you need to log in
Question about redirects. How to do it right?
Good afternoon! help me figure out what I need =)
there is a landing page
there is an ssl certificate
Hence the first question is which address is better or more correct to indicate in Yandex webmaster
1) httpS://site.ru/?
2) http://site.ru/?
3) with www...?
4) without www...?
As I understand it, there are more options
5) httpS://www and without www
but this is a game in my opinion
At the moment my main mirror is httpS://site.ru, but "/" is displayed in the page tab in the search - just slash
In my .htaccess
it is now specified:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Answer the question
In order to leave comments, you need to log in
All answers can be found here:
https://pixelplus.ru/samostoyatelno/stati/indeksat...
https://github.com/madeas/analytics/blob/master/.h...
https://github.com /phanan/htaccess
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question