Hi,
I don’t understand why when I enter the url directly (https://mysite.com
), it works very well.
However, when I search for “my brand name” from a search engine and try to access my website, I get an error message “connection not private” and it redirects me to the url https://othersite.com
.
I checked nginx’s .conf file. I restarted nginx. I checked the ssl certificate.
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello @2b0c9f00c48c44aeb337263a462e06
I’ll follow Bobby’s recommendation on requesting a review from Google Search Console (formerly Webmaster Tools). As mentioned you can submit your site’s sitemap to ensure Google accurately indexes your current content which should resolve your issue here.
Hope that this helps!
Heya,
The error message “This Connection Is Not Private” is typically associated with SSL/TLS certificate issues. However, if your website is working fine when accessed directly via URL but showing this error when accessed from a search engine, the problem may be more complex.
Here are some steps to diagnose and fix the issue:
SSL/TLS Certificate:
Nginx Configuration:
Web Application:
.htaccess
or equivalent configuration files for any unexpected redirection rules if you’re using software that utilizes such files (though.htaccess
is mainly for Apache, not Nginx).Search Console:
DNS Hijacking or Cache:
Malware Scan:
Check with Your Hosting Provider:
HTTP Headers:
curl -I https://mysite.com/
to see the headers.External Links:
If after going through these steps, the problem persists, you may want to consider seeking help from a cybersecurity professional or a system administrator who can provide a deeper investigation into the issue.
Hi there,
Based on what you’ve described, it seems there might be a discrepancy between what is indexed on search engines and the actual content of your website. It sounds like Google has indexed a different site based on the
mysite
search term.To break this down:
Direct URL Access: When you enter the URL
https://mysite.com
directly into your browser, you’re bypassing any intermediary steps and going straight to the site. The fact that this works without issues is a positive sign. It indicates that your server, Nginx configuration, and SSL certificate are likely set up correctly.Search Engine Results: When you search for “mysite” on a search engine, you’re presented with results that the search engine has indexed in the past. If the first result is redirecting you to a different website, it’s possible that the search engine has old or incorrect data associated with your domain.
There could be several reasons for this:
Steps Forward: To address the issue, I recommend the following:
Google Search Console: Sign up for Google Search Console (formerly Webmaster Tools). This tool allows you to see how Google views your site. Once you’ve verified your domain, you can check for any crawl errors or security issues. Importantly, you can also submit your site’s sitemap to ensure Google accurately indexes your current content.
Check Other Search Engines: Verify if this behavior is consistent across other search engines. If it’s a Google-specific issue, then focusing on the Google Search Console is key. Otherwise, you might need to address it with multiple search engines.
Manual Review: Double-check your site’s files and database, especially if you’re using a CMS. Sometimes malicious redirects are injected into
.htaccess
files or within the database.In conclusion, while your direct URL access is functioning correctly, it’s essential to ensure search engines correctly index your site to ensure visitors can find you easily. Starting with the Google Search Console will give you insights into any potential issues or discrepancies Google may have with your site.
Hope that this helps!
Best,
Bobby