Google Indexing — how to fix

2 min readJul 23, 2022


Search engines doing really great job in indexing content. Of course everyone wants to be at the top of the search results. But sometimes it can lead to security issues. In this short article we will give a few examples and describe how you can fix the indexing problem.

Note: This information is provided for educational purposes. The author is not responsible for your actions.


1) The query below is made in an attempt to find the git directory

intitle:”index of” “/.git/config” “2022”

2) The query below is made in an attempt to find a Netsparker security scanning report

intitle:”netsparker scan report” ext:pdf

More examples can be found here:

How to fix it?

You may play with Google to check what is indexed in your case. Usually, you need to remove indexing for at least two subdomains(APP and API).

  1. No pages for API ( and APP( should be indexed. Add the following route for /robots.txt:

User-agent: *

Disallow: /

2. For the React HTML template add the following:

<meta name=”robots” content=”noindex” />

3. Submit a search index removal to google for any routes that have been indexed

Read more

Implementing Application Security on your project

DevSecOps — What Security Controls exist and when to implement them?

iOS Apps Security scanners practical comparison

OSCP Preparation

Follow me and stay secure!




MSc in Cyber Security, OSCP, eWPTXv2, CEH Master. Awarded by Apple, Trello, Paysera..