Http to https problem in google

resiident

Junior Member
Joined
May 8, 2022
Messages
164
Reaction score
54
I recently transfer my website from http to https . I use redirect and canonical in wordpress but still

-Http url indexed by google
-New https not indexed by google
-Visitor drop

How can i force google to reindex all of my website. I sent sitemap to . No success

I just add https version of my website and delete http version in google search console
 
I'm not sure that I understand what you're trying to do but "transferring your site from http to https" is as simple as installing a SSL certificate via your domain's cpanel, and most hosting providers do this for free, so what on Earth are you talking about with redirections and canonicals??
 
I'm not sure that I understand what you're trying to do but "transferring your site from http to https" is as simple as installing a SSL certificate via your domain's cpanel, and most hosting providers do this for free, so what on Earth are you talking about with redirections and canonicals??

That part is simple but then you have to redirect the http version to the https version. Usually you do it with a line like this in the htaccess file

Code:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

If that line is there and it works there's not much more to be done. Google will take some time to make the switch.
 
1. Purchase an SSL certificate
2. Install an SSL certificate on your web hosting account
3. Ensure internal links direct to Https
4. Set up 301 redirects
5. Submit a new sitemap from their secure URL to the Google search console
 
That part is simple but then you have to redirect the http version to the https version
why do I have to redirect with htaccess?? I never did it and my domains always switched to https almost instantly
 
why do I have to redirect with htaccess?? I never did it and my domains always switched to https almost instantly

Probably Wordpress does this for you or whatever CMS you were using, but if you type in the http version of a site and you end up on the https version, that doesn't happen by magic! Something is redirecting you, and it's usually done in the htaccess. If you didn't put those redirect lines in there, something else did.
 
Probably Wordpress does this for you or whatever CMS you were using, but if you type in the http version of a site and you end up on the https version, that doesn't happen by magic! Something is redirecting you, and it's usually done in the htaccess. If you didn't put those redirect lines in there, something else did.
makes sense... And yeah, I use WP, along with Let'sEncrypt free SSL, so probably LE did this...

Thanks for the explanation
 
Back
Top