Mobile app version of vmapp.org
Login or Join
Smith883

: 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

@Smith883

Posted in: #GoogleSearchConsole #SearchEngines #Seo

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme