Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1818

Google search shows and indexed HTTP instead of HTTPS for my domain after SSL installation

$
0
0

I hosted my domain xagrotortek.in in July 2024 without an SSL certificate. In September 2024, I installed an SSL certificate via cPanel. The website opens fine over HTTPS on my local LAN, and Google Search Console confirms that the website is served over HTTPS.

However, Google search results still show HTTP, and when someone tries to access the website from a different network, it shows "Not Secure" and fails to load properly.

I have already checked that:

1.The site works on local networks.my website in local network2.I installed the SSL certificate in cPanel and verified that the website loads correctly over HTTPS on my local network.3.I checked Google Search Console, and it confirms that the website is being served over HTTPS.proof that my website served over https

my index.html:

<link rel="canonical" href="https://www.xagrotortek.in/" /><meta property="og:title" content="Xagrotor Tek - Leading Drone Solutions" />   <meta property="og:type" content="website" />  <meta property="og:url" content="https://xagrotortek.in" />   <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />

my .htaccess:

<IfModule mod_rewrite.c>  RewriteEngine On  RewriteBase /  RewriteCond %{HTTPS} off [OR]  RewriteCond %{HTTP_HOST} ^www\.xagrotortek\.in [NC]  RewriteRule ^(.*)$ https://xagrotortek.in/$1 [L,R=301]  RewriteRule ^index\.html$ - [L]  RewriteCond %{REQUEST_FILENAME} !-f  RewriteCond %{REQUEST_FILENAME} !-d  RewriteRule . /index.html [L]</IfModule># php -- BEGIN cPanel-generated handler, do not edit# Set the “ea-php81” package as the default “PHP” programming language.<IfModule mime_module>  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml</IfModule># php -- END cPanel-generated handler, do not edit

I expected Google to update the search results to show the HTTPS version of the site, and for users on external networks to be able to access the site securely over HTTPS.

What could be causing this issue and how can I resolve it so the site opens securely over HTTPS on external networks and updates correctly in Google search results?

my domain when i search it on google

I’m fairly new to this field and would appreciate any guidance to resolve this issue. I hope you guys can help me get my website accessible securely over HTTPS from any network and fix the Google search result issue. Thanks in advance!


Viewing all articles
Browse latest Browse all 1818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>