How to hide a specific website page URL from search engines?

  • My project is an e-commerce website that contains many static and dynamic pages. I want to hide only one page from search engines. If someone is looking for this text, then it should not be displayed in a search engine such as "Google", "Yahoo", etc.

http://www.mysitename.com/users/download/id

The above URL should be hidden in search engines.

If someone is looking for my mysitename, then the above link is also displayed in Google search at the moment. what can i do for this?

+4
source share
3 answers

Add the robots.txt file to the root directory of your site with the following contents:

 User-agent: * Disallow: /users/download/id 

This approach basically tells the search engine not to index /users/download/id .

This does not mean that every search engine will do this, but most modern search engines will take this file into account.

+6
source

You can use the Seo technique ...

There is code that you can put in your HTML code that will prevent bots from waving your pages. This code is placed in the title of your web page (meaning between tags and tags) as a meta tag (and you thought that the meta tags were for keywords only).

Here are four examples of what this code will look like:

 <meta name="robots" content="index,follow"> <meta name="robots" content="noindex,follow"> <meta name="robots" content="index,nofollow"> <meta name="robots" content="noindex,nofollow"> 
+2
source
  <meta name="googlebot" content="noindex,nofollow,noarchive,nosnippet,noodp" /> <meta name="robots" content="noindex,nofollow,noarchive,nosnippet,noodp" /> 
0
source

All Articles