Tech

Inurl:http -Inurl:https: What It Means and How to Use It

Type inurl:http -inurl:https into Google and you are not searching for a website, a product, or a topic. You are giving Google a set of instructions. The query tells Google to show pages that have “http” in their web address while leaving out pages that have “https” in their address. In plain terms, it is a quick way to find non-secure HTTP pages that Google has indexed.

That sounds simple, and the idea behind it is simple. The details matter, though, because each part of the query does a different job, and the combination behaves in ways that surprise people who use it for the first time. This article breaks inurl:http -inurl:https down piece by piece, shows what it returns, explains the main real world use, which is finding insecure pages during a technical SEO audit, and covers the mistakes that make the results useless.

What Does inurl:http -inurl:https Mean?

The short answer is that it is a Google search operator combination that filters results by what appears in the URL. It asks Google for pages whose address contains the letters “http” but not the letters “https”.

To understand it fully, split it into its three parts. The first part is inurl:http. The operator inurl: tells Google to look at the URL of a page rather than its content. Whatever follows the colon is the text Google should look for inside that URL. So inurl:http asks for pages with “http” somewhere in their address.

The second part is the minus sign. In Google search, a minus sign placed directly before a term excludes that term from the results. It works the same way before an operator. So -inurl:https tells Google to remove any page whose URL contains “https”.

The third part is the word https itself, which is the value of the second operator. Put together, the full query means: show me pages with “http” in the URL, but exclude pages with “https” in the URL.

There is one detail that trips people up. Every URL that starts with https also contains the letters “http”, because “https” begins with “http”. That is exactly why the exclusion part exists. Without -inurl:https, the first half alone would return secure pages too. The minus part is what makes the query useful: it strips the secure pages away and leaves the plain HTTP ones.

What Is the inurl: Operator?

The inurl: operator is one of Google’s advanced search operators. Normal searches look at the words on a page. The inurl: operator changes the target and looks at the words in the page address instead.

For example, inurl:blog tells Google to return pages that have the word “blog” in their URL. That could be a page at example.com/blog/how-to-start or a page at example.com/my-blog-post. The word does not need to appear in the title or the body text. It only needs to appear in the address.

There is a related operator called allinurl:. While inurl: applies only to the word directly after the colon, allinurl: requires every word that follows it to appear in the URL. So allinurl:blog seo asks for pages with both “blog” and “seo” in the address. For most everyday checks, inurl: is enough.

One rule applies to every operator: never put a space between the operator and its value. The query inurl:http works. The query inurl: http does not, because Google then treats “inurl:” as an ordinary word and “http” as a separate search term. The same rule applies to site:, intitle:, filetype:, and every other operator.

It is also worth knowing that Google treats inurl: as a soft match rather than a strict filter. A 2026 compliance test of working operators found that inurl: matched the URL in about 74 percent of results. That means some returned pages may not literally contain the term in their address. Google treats the operator as a strong hint, not a guarantee. So always verify the URL of a result yourself instead of trusting the operator alone.

What Is the Minus Operator?

The minus sign is Google’s exclusion operator. Put it directly before a word or an operator and Google removes matching results. Searching seo -youtube returns pages about SEO that do not mention YouTube. Searching site:example.com -inurl:blog returns pages on example.com that do not have “blog” in the URL.

The minus sign only works when it touches the term it excludes. A space between the minus and the term breaks it. The query – inurl:https would search for the words “inurl” and “https” as ordinary text. The correct form is -inurl:https, with no space.

The minus operator is what turns this query from a curiosity into a tool. On its own, inurl:http is noisy, because it matches secure pages as well. Adding -inurl:https removes the secure pages and leaves the insecure ones. That single character is the difference between a useless result set and a useful one.

How inurl:http -inurl:https Works

When you type inurl:http -inurl:https into Google, the search engine applies the two instructions in order. First it collects pages whose URL contains “http”. Then it removes every page whose URL contains “https”. What remains should be pages served over plain HTTP.

In practice the results fall into a few groups. The most common group is old pages on websites that moved to HTTPS but left some HTTP versions indexed. Another group is small or abandoned sites that never installed a security certificate. A third group is pages on odd protocols or file paths that happen to contain the letters “http” in their address without being normal web pages at all. The exclusion part can also surface strange results, such as FTP pages or other protocol pages, because those addresses contain “http” as a substring in some form but never contain “https”.

That is why the query is rarely used on its own. By itself, across the whole web, it returns a random pile of insecure pages from everywhere. Its real value appears when it is combined with the site: operator, which restricts the search to one domain. The query site:yourdomain.com -inurl:https asks Google for pages on your own site that are not served over HTTPS. That is the version SEO professionals actually run.

The Main Use: Finding Non-Secure HTTP Pages in an SEO Audit

The most important use of this query is a technical SEO audit after a site moves from HTTP to HTTPS. When a website switches to secure connections, every old HTTP address should redirect to its HTTPS version. In the real world, that cleanup is often incomplete. Some pages are missed, some redirects point to the wrong place, and some old addresses stay in Google’s index for months.

Running site:yourdomain.com -inurl:https shows which of those pages Google still has indexed over HTTP. Each result is a page that needs attention. The fix is usually a permanent 301 redirect from the HTTP address to the matching HTTPS address. After the redirect is in place, the HTTP version should drop out of the index over time.

This matters for three reasons. First, security. Browsers warn visitors that HTTP pages are “not secure”, and some visitors leave rather than continue. Second, trust. A site that mixes secure and insecure pages looks unfinished, and users notice. Third, search performance. Google has said that HTTPS is a ranking signal, and insecure pages tend to rank slightly lower than secure ones. A site with stray HTTP pages indexed can also waste crawl budget, because Google keeps visiting addresses that should no longer exist.

Here is how to run the check step by step. Open Google and type site:yourdomain.com -inurl:https, replacing yourdomain.com with your real domain. Look at the number of results and skim the list. Open a few of the returned pages and check whether they redirect to HTTPS or load over plain HTTP. For every page that still serves over HTTP, add a 301 redirect to its HTTPS version. If the page no longer exists, redirect it to the closest matching HTTPS page or remove it and let it return a 404. Then check Google Search Console to confirm the HTTP versions are dropping out of the index.

A variation of the same check uses the positive form. The query site:yourdomain.com inurl:http returns HTTP pages directly. Some SEO guides prefer the exclusion form because it can catch pages where “http” appears in the address in an unusual position. Either form works for a basic audit, and running both and comparing the results is a sensible habit.

Other Ways SEO Professionals Use This Query

Finding insecure pages is the headline use, but the same pattern helps with several other jobs.

One common job is checking a competitor’s site. The query site:competitor.com -inurl:https shows whether a rival still has HTTP pages indexed. That tells you something about how carefully they maintain their site, and it can reveal old content that they have forgotten about.

Another job is finding pages with specific parameters that got indexed by accident. Search engines sometimes index URLs with tracking parameters, session IDs, or old directory names. Combining inurl: with those terms helps surface them. For example, site:yourdomain.com inurl:?sort= finds indexed pages with a sort parameter.

A third job is link building research. Guest post hunters combine operators to find pages that accept contributions, such as intitle:”write for us” inurl:write-for-us. The inurl: part narrows the results to pages whose address suggests a contributor page, which cuts out a lot of noise.

A fourth job is brand monitoring. Searching your brand name with -inurl: terms can help separate your own site’s pages from mentions elsewhere. It is a small trick, but it saves time when a brand name is also a common word.

Common Mistakes When Using inurl:http -inurl:https

Several mistakes make this query return confusing results. The first is adding a space after the colon. As noted above, inurl: http does not work as an operator. The value must touch the colon.

The second mistake is forgetting the minus sign, or placing it with a space. Without -inurl:https, the results include secure pages, and the query tells you nothing useful about insecure pages.

The third mistake is running the query without site: and expecting a clean list. Across the whole web, the query returns millions of random HTTP pages. It only becomes useful when it is pointed at one domain.

The fourth mistake is treating the results as exact. Because inurl: is a soft match, some results will not literally contain “http” in their URL. Always open the result and check the address bar before acting on it.

The fifth mistake is assuming that zero results means zero problems. Google does not index every page on a site, so an HTTP page that Google has never crawled will not appear. For a complete audit, pair this quick check with a proper crawl using a tool such as Screaming Frog, and with the coverage report in Google Search Console. Those tools see pages that Google’s index does not.

The sixth mistake is confusing the URL with the content. The operator only looks at the address. A page can mention HTTP a hundred times in its text and still not match inurl:http if the letters do not appear in its URL. Likewise, a page can match the operator while its content has nothing to do with HTTP at all.

What inurl:http -inurl:https Cannot Do

This query has real limits, and knowing them keeps you from drawing wrong conclusions. It cannot tell you whether a page actually loads over HTTP. It only tells you what Google’s index recorded about the URL. A page can appear in the results while already redirecting correctly, because the index entry is old.

It cannot find pages Google has not indexed. If an insecure page was never crawled, it will not show up. It cannot find insecure resources inside a secure page either. Mixed content, such as an HTTPS page that loads an image over HTTP, is invisible to this query. Browser developer tools or a crawl report are the right tools for that problem.

It also cannot replace a proper migration check. After moving a site to HTTPS, you still need to check redirects, canonical tags, internal links, sitemaps, and the Search Console coverage report. The operator query is a quick spot check, not a full audit.

Finally, it cannot be used to find other people’s private information. It only returns pages that Google has already indexed and made public. It is a public search feature, not a hacking tool. The security community sometimes calls operator combinations “Google dorks” when they are used to find exposed files or login pages, but that is a different use, and it is not what this query is for.

How to Fix the HTTP Pages You Find

Finding the pages is only half the job. Fixing them is what protects visitors and rankings. Start by listing every HTTP URL the query returns. Then, for each one, decide what should happen to it. If the page still exists, set up a 301 redirect to its HTTPS version. If the page was removed, redirect it to the closest relevant HTTPS page. If there is no relevant page, let it return a 404 and remove it from your sitemap.

Next, check your internal links. If your own pages still link to HTTP addresses, update those links to HTTPS. Internal HTTP links can keep old addresses alive in the index even after redirects are added. Then check your XML sitemap and make sure it lists only HTTPS addresses. A sitemap that still contains HTTP URLs sends Google mixed signals.

Finally, check your canonical tags. Every page should point its canonical tag at its HTTPS version. A page that canonicalizes to its own HTTP address tells Google that the insecure version is the preferred one, which defeats the purpose of the migration. After the fixes are in place, ask Google to recrawl the affected pages through Search Console, and re-run the operator query after a few weeks to confirm the HTTP versions are gone.

Frequently Asked Questions

What does inurl:http -inurl:https do?

It asks Google to show pages with “http” in their URL while excluding pages with “https” in their URL. The result is a list of pages that Google has indexed over plain, non-secure HTTP.

Why would anyone search for HTTP pages with inurl:http -inurl:https?

The main reason is a technical SEO audit. After a site moves to HTTPS, this query helps find old HTTP pages that are still indexed, so they can be redirected to their secure versions.

Does inurl:http -inurl:https work on any website?

Yes, but it is most useful with the site: operator added, such as site:example.com -inurl:https. Without site:, it returns random HTTP pages from across the whole web.

Is the inurl: operator in inurl:http -inurl:https exact?

No. Google treats inurl: as a soft match. A 2026 test found it matched the URL in about 74 percent of results. Always verify a result by checking the actual URL before acting on it.

What is the difference between inurl: and allinurl: in inurl:http -inurl:https?

The inurl: operator applies to the single word right after the colon. The allinurl: operator requires every word after it to appear in the URL. For example, allinurl:blog seo needs both words in the address.

Why do HTTP pages still appear in Google after a site moves to HTTPS, according to inurl:http -inurl:https?

Because the old addresses can stay in the index until Google recrawls them. Missing redirects, HTTP links inside your own pages, HTTP addresses in the sitemap, and canonical tags pointing at HTTP versions all keep them alive longer.

Can I use inurl:http -inurl:https to find someone’s private pages?

No. It only returns pages Google has already indexed and made public in search results. It cannot reveal pages that are not indexed or that require a login.

What should I do if my site has many HTTP pages indexed, found with inurl:http -inurl:https?

Add 301 redirects from each HTTP address to its HTTPS version, update internal links and your sitemap to HTTPS, fix canonical tags, and then request recrawling in Google Search Console. Re-run the operator query after a few weeks to confirm the pages are gone.

Conclusion

The query inurl:http -inurl:https looks cryptic at first glance, but it is simply two instructions joined together. The first half asks Google for pages with “http” in the URL. The second half removes pages with “https” in the URL. What is left is a list of non-secure HTTP pages that Google has indexed.

Used on its own, it is a curiosity. Combined with site:, it becomes a practical tool for technical SEO audits, because it exposes the HTTP pages that a site migration left behind. Each one is a page that should redirect to HTTPS, and fixing them protects visitors, builds trust, and removes a small but real ranking disadvantage.

The key points to remember are simple. Never put a space after the colon in an operator. Always include the minus part, or secure pages will flood the results. Point the query at one domain with site: to make it useful. Verify every result by opening the URL, because inurl: is a soft match. And treat the query as a quick check, not a full audit: pair it with a crawl and Search Console for complete coverage.

Read Also: Best Fire Red Team: Top Pokémon Picks and How to Build One

Related Articles

Back to top button