: One site with two different domain name indexed in Google My site is indexed in google with too different domain names , one with http and another with https . I was just wondering that
My site is indexed in google with too different domain names , one with http and another with https .
I was just wondering that if there is something I should do like trying omit one , or there is no problem and Google will take it .
Thanks.
More posts by @Smith883
1 Comments
Sorted by latest first Latest Oldest Best
Since the web is moving to https, you ought to consider forcing all visitors to https.
You can do this by inserting the following code in your .htaccess file
RewriteCond %{SERVER_PORT} =80
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ %{HTTP_HOST}%{REQUEST_URI} [R=301,L]
However you need to check your site does not have 'mixed content' of http and https. You will see a secure padlock if everything is OK. If not, check the console in Developer Tools in your browser.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.