Wednesday, March 9, 2022

[FIXED] Confidential data showing on google search. How to disable?

Issue

I developed a helpdesk system in our company and put on web.

One of my colleague reported to me that his employee info is shown on the Google search when he tried to search for his name. There's a module where the system asks for an employee number when applying for service request and retrieve some basic employee info.

How can I disable this? Is it something to do with SEO? I don't have enough idea.

I am using Codeigniter as my framework.

Any help is greatly appreciated.


Solution

In CodeIgniter view files inside head add Meta tag

meta name="robots" content="noindex"

<!DOCTYPE html>
<html><head>
<meta name="robots" content="noindex" />
(…)
</head>
<body>(…)</body>
</html>

The robots meta tag in the above example instructs search engines not to show the page in search results. For detailed info please check this documentation by Google. https://developers.google.com/search/docs/advanced/robots/robots_meta_tag



Answered By - James Mascarenhas

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.