: 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,
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 ?
More posts by @Margaret670
2 Comments
Sorted by latest first Latest Oldest Best
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
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?
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.