Forum Moderators: open

Message Too Old, No Replies

Help with Google Search Operator !

Using "site: " in vain ! Suggestions please

         

Ak4you

5:03 pm on Aug 19, 2020 (gmt 0)

5+ Year Member



Hi, I have been trying to use the search operators to find the number of site pages indexed in Google.
All the following queries give different results:
1. site:example.com
2. site: example.com (there is a space between operator and domain name)
3. site:www.example.com
4. site: www.example.com

For all the 4 points above, I also tried domain name with http and https. And for all the combinations, i am getting different ' Number of Pages' in Google SERP.

I want to know the total number of pages indexed in SERP.

P.S. - There is no website duplicate and is being redirected to only https://www.example.com

not2easy

6:11 pm on Aug 19, 2020 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The site operator is not the reliable tool it once was, we have seen many here commenting on peculiar results. One thing to keep in mind is that Google views all those URL variations as being different sites. For this reason they expect webmasters to create a GSC account for each variation in order to ensure that you can see how they see each 'site'. You should be able to see the number of pages indexed in your GSC account.

Some of these suggestions may or may not apply to your case, but they are relevant and are things to check for when you have issues about indexing:

There may be people who visited your site and shared it on another site, using the wrong parameters or protocols. Google will try to visit those incorrect URLs and may even index them.

Technically, you are not required to submit a sitemap, but in some cases it can help Google understand how you want your properties indexed. When you change a site from http: to https: for example, you should only list https: URLs in the sitemap and they should not find old versions of sitemaps submitted. This also relates to canonical URLs to avoid content being viewed as duplicate.

If you have migrated your site at any time (from http: to https:, or from www to non www for example) ensure that it is done properly and that you see 301 responses (not 302) in your logs. Ensure that every old URL is landing on its new URL with a 301 server response. View your access logs to be certain of what Google is crawling.

Ak4you

7:02 pm on Aug 19, 2020 (gmt 0)

5+ Year Member



Ohkay! So, the only way to know the actual no. of pages indexed by google is from GSC only!

engine

7:20 pm on Aug 19, 2020 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Here's the correct syntax to use for the site operator command.

[support.google.com...]

Depending upon the site setup, you may get different results between example.com and www.example.com

Note, do not put a space after ":"

Either way, it's not accurate.

The best way to find out is to use GSC, assuming you are the site owner, of course.

tangor

8:38 pm on Aug 19, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What you will find with the GSC results listed above is---what is listed in GSC.

To know what pages g has indexed on your site just review your raw logs. Having said that, you will still not know what the g SERPS have, or how they will be presented due to all the issues not2easy listed above, and the fact that g's indexing is updated between their servers at different times and different days: CONSTANTLY.

Ak4you

8:54 am on Aug 20, 2020 (gmt 0)

5+ Year Member



Thanks @engine and @tangor.