One SEO professional asked John Mueller on YouTube about checking their site in Google using the site query search operator. When they checked their site, it only showed 28 instead of 180 URLs.
They wanted to know – why is this? Why aren’t all URLs showing up?
John explained that the short answer to this question is – the site query is not meant to be complete or used for diagnostic purposes.
A site query is a specific kind of search that limits the results to a certain website.
It’s really just the word site, a colon, and then the website’s domain.
While using this query limits the results to a specific website, it’s not meant to be a comprehensive collection of all the pages from that site.
If you want to find out how many pages Google has indexed from your site, then you would want to use Google Search Console instead.
Within Google Search Console, you can see how your pages are shown in search, as well as the number of pages that are currently indexed.
In short, don’t worry about the counts shown in a site:query. Use Google Search Console instead.
You can watch the entire video here: