For a while now I have been having issues with Google indexing my site. For some reason, it wouldn't index over 33 pages from my XML sitemap: (images not allowed for new users...)

It has been the case for the past couple of months. Why doesn't Google index my entire site? It's only 37 pages!


Google doesn't always index everything contained on a website. It is only interested in relevant content and for some reason, it considers 4 pages on your site to be content it's not interested in.

You can create a Webmaster Tools account for your website. In this account you can see if there are crawl errors occurring on these pages, or if you have something in robots.txt telling Google to ignore them. There is even a diagnostic tool that lets you read the page as Google would view it and if that's successful, manually submit the page to Google for indexing (once again dependent on Google considering it to be content they want to index).


I appreciate this is old but there is a consideration that is easily overlooked.

If you are dynamically creating your sitemap (say php for example). A site can get stuck on 1 url indexed from the sitemap if you don't format the url correctly.


Simple enough, right?

now lets say our variable is:

$SITE   =   'https://www.icalculator.info/';

All good right? Wrong... when the php is parsed the result is a url like this:


Note the double // after the domain. This is one of those very silly but incredibly easy mistakes to make. I do occasional SEO reviews for friends / odd contract. the amount of times I have seen that mistake. Anyway, shared now so hopefully if you have the dreaded one page from your sitemap showing in Google Webmaster tools, you can check this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.