Mobile app version of vmapp.org
Login or Join
Margaret670

: HTTPS indexing after migration I moved my website from HTTP to HTTPS version month ago, and I made all necessary changes, I made 301 redirect so all old links redirect to the HTTPS version,

@Margaret670

Posted in: #301Redirect #Https #Redirects

I moved my website from HTTP to HTTPS version month ago, and I made all necessary changes, I made 301 redirect so all old links redirect to the HTTPS version, and I added the new version to webmaster tools, submitted a new sitemap, and made all needed changes to my site, also changed all internal links to HTTPS, after that everything was just fine my site links in google changed to HTTPS and the visits to the HTTP version become fewer every day, but I was surprised when I saw my links in google changed to http again after that and visits to HTTP version rise day by day as you can see in the pic, 301 redirect working perfectly, now what I have to do to make the links appear in HTTPS version in google? any one can help me ?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Margaret670

2 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

use the .htaccess to force redirect to https, so that every visitor (including Google's index, gets the correct version):

Add this to the top of your .htaccess file:


RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$
www.example.com/ [R,L]


*be sure to replace example.com w/ your domain name, same goes for example.com

10% popularity Vote Up Vote Down


 

@Michele947

If all the links are redirected properly then you should have no traffic on the http pages.

Looks like this is a screenshot from Search Console. Did you set the preferred version of your site to the https version in SC site settings?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme