You can find non-HTTPS pages indexed in Google by using the site: operator combined with the -inurl:https command. By entering ‘site:yourdomain.com -inurl:https’ into the search bar, you instruct the engine to display only those pages on your domain that lack the secure protocol in their indexed URL string. This direct method helps you audit your site security configuration without needing third-party crawling software.
Identifying these pages is the first step in protecting your visitors from mixed content warnings. When a browser loads an HTTPS page but pulls resources like images or scripts from an HTTP source, it triggers a security alert. Using Google search commands allows you to see exactly what the search engine sees, providing a clear list of URLs that require immediate attention.

Why does Google index non-HTTPS pages?
Google indexes non-HTTPS pages when your server configuration fails to redirect insecure requests to their secure counterparts. Even if you have an SSL certificate installed, improper server-side rules or inconsistent internal linking can lead to both versions of a page existing in the index. Search engines treat these as distinct entities unless you explicitly define the canonical source.
In a typical server setup, configuration errors often stem from legacy files. If your site has evolved over several years, you may have old folders or subdirectories that were never configured to force SSL. These pages remain available over port 80, and because they are accessible, the Google crawler continues to verify them as valid content, keeping them in the index alongside their secure alternatives.
Another reason for this behavior is the presence of hardcoded links. If your internal linking structure points to ‘http://example.com’ instead of the relative path or the ‘https’ version, crawlers will follow those paths and index them accordingly. Even with a 301 redirect in place, the initial HTTP version might persist in the search results until the crawler re-processes the entire site structure.

How to perform an audit using search operators
To identify these pages, you should adopt a systematic approach to querying your own site. Start by isolating potential insecure URLs and then verify their status codes manually. The goal is to clear your index of these entries to ensure users always receive encrypted content and to maintain the integrity of your site’s security profile.
- Use ‘site:yourdomain.com -inurl:https’ in the Google search bar to list all pages currently indexed without the secure protocol.
- Use ‘site:yourdomain.com inurl:http’ to find specific HTTP occurrences that might be causing mixed content issues.
- Check your robots.txt file to ensure you are not accidentally blocking HTTPS versions from being crawled.
- Verify that your .htaccess or Nginx configuration contains a permanent 301 redirect for all incoming HTTP traffic.
When conducting this audit, be prepared to investigate your subdomains as well. Often, the main site is secure, but a forgotten testing environment or a legacy blog subdomain on a different server might still be serving content over HTTP. Use the ‘site:subdomain.yourdomain.com -inurl:https’ command to check these areas specifically.
How Alien Road applies this process
At Alien Road, we treat security audits as the foundation of every technical engagement. When we onboard a client, we perform a manual search index verification before initiating larger technical audits. We look for discrepancies between the intended site structure and what Google actually displays in the results pages, ensuring that no legacy insecure pages are diluting the site’s authority.
By introducing proximity constraints, search professionals gain the ability to inspect how closely related concepts sit within an article body or heading structure.
Google Search Central
For example, during a recent audit for a retail client, we discovered that their image CDN was still using HTTP endpoints for older product galleries. By using search operators, we identified that dozens of these gallery pages were indexed as insecure. We provided the client with a direct list of these URLs, allowing their developers to update the link references and apply a global redirect rule, which cleared the mixed content errors within two weeks of the next crawl cycle.
What are the risks of ignoring mixed content?
Ignoring mixed content leads to browser warnings that discourage visitors from interacting with your site. Browsers like Chrome mark HTTP pages as ‘Not Secure,’ which can lead to higher bounce rates. Furthermore, search engines prefer HTTPS as a ranking signal, so maintaining a secure index is a requirement for modern performance.
- Decreased user trust due to persistent browser security warnings.
- Loss of referral data when users move from HTTPS sites to your HTTP pages.
- Inconsistent performance in search ranking metrics caused by duplicate content signals.
- Increased vulnerability to cross-site scripting or data interception on unencrypted pages.
These issues are not just theoretical. If a user lands on an HTTP page that is supposed to be secure, they may see a ‘Connection is not private’ warning. This is an immediate deterrent that causes most users to leave the site instantly. By regularly searching for these pages, you prevent these negative user experiences from affecting your brand reputation.
Where to start this week
Start your audit this week by running the ‘site:’ search command for your domain. Create a list of every HTTP URL that appears in the results. Once you have this list, update your server settings to redirect these specific paths to HTTPS. If you have a large site, focus on your top-performing pages first to ensure your most important content is secure immediately.
After implementing redirects, verify the changes by clicking on the old HTTP links. If your server is configured correctly, you should be automatically forwarded to the HTTPS version. Keep a log of your findings and re-run the search operator in seven days to confirm that Google has started to remove the insecure versions from its index.