Naijacrux News:Welcome to Naijacrux Online Forum..Great Place To Get Tips Facts Updates and More ,Interact Discuss & Learn With Others !!.remember to register to enjoy much more update!!!New Updates From Naijacrux -Naijacrux Is Now Mobile Friendly - Download Our Android App On Our Forum Rules And Announcement Section.Our App Will be Live On Google Playstore And IOS Store Soon Aswell - CLICK HERE TO DOWNLOAD NAIJACRUX ANDROID APP !!! Dear Guest And Naijacrux Dedicated Members,!!! ,  You Can Now Receive Naijacrux Weekly New Post and Updates Via Email by Subscribing To Our Newsletter Using The Subscribe Button Above The Naijacrux Announcement And Discussion At The Top Home Page!!Never Miss A New Post And Updates Again.!Thank You.  !!!YOU ARE WELCOME TO NAIJACRUX INFORMATIVE LEARNING AND INTERACTIVE FORUM.This Website is an Intensive Forum of Learning We recommend you Register & Login to Enjoy much free stuffs ::>>Also remember to Update your Profile Immediately after registration. Thank you!>>>!!!!To All Advertisers And Patronizers, kindly Send Mail To Support@naijacrux.com For adverts Placement. thanks!!!


Author Topic: How to Remove a Web Page or site from Google Index and Other Search Engines  (Read 1865 times)

0 Members and 1 Guest are viewing this topic.

Offline mastercode

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2924
  • Karma: +0/-0
Loading...

So you have created a web site or a web page and you don?t want anyone else to be able to access it right? That?s a bit of a problem once Google, Yahoo, MSN, or some other search engine indexes it!

Once a web page or website is indexed, it can be found by anyone on the planet with an Internet connection. If you want to hide a page or website from search engines, you can do it in several ways.

I?ll try to walk you through the easier method first because it requires less technical knowledge. Basically, you can add a line of code to your HTML page or you can setup your web server to protect a file or directory.

hide page from google

Luckily, just about all search engines follow a web robots standard while crawling websites called Robots Exclusion Protocol. As a website owner, you can use the robots.txt file to give instructions to a search engine on what to index and what not to index.

So how does this work? It?s actually super simple! First, you create a text file called robots.txt using Notepad or any text editor. Now let?s say you want to block your entire website from being indexed by the search engines, so you would add these lines to your text file:

User-agent: *
Disallow: /

The User-agent refers to the robot that is crawling your website, i.e. Google, Yahoo, etc. * means all robots. Note that a robot, such as a spam robot, can ignore your file altogether if it feels like.

Only use a robots.txt file to block content from being indexed by major search engines, not for hiding information. If someone comes to your website, a robots.txt file will not prevent them from accessing that webpage and viewing it. So just make sure you understand what the file does, it prevents your site from showing up in Google search results pages (Yahoo and MSN also).

You can also block directories or individual pages on your site using a robots.txt file instead of blocking the entire website. To block a directory, you could add the following lines:

Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /~secret/

Note that you only need to add the user-agent line once, unless you want each robot to get a different set of instructions. If you want to block a page, you could use this:

Disallow: /private_file.html

Also, check out the Help section at Google to learn more on how to create a robots.txt file. Once you have finished writing up the file, you just need to upload it to the root of your website so that it can be accessed as follows:

http://www.example.com/robots.txt.

The next time the robot visits your site, it will read the information and follow the instructions. If this seems too complicated, you can also block access to your website or webpage using META tags.

The noindex meta standard is also followed by all of the major search engines. To use it, you have to add a line of code to the HEAD section on the webpage. To prevent all robots from indexing a page on your site, add this line to the HEAD section:

<meta name="robots" content="noindex">

When Google or any other search engine sees that line on the page, it will automatically drop the page from the search results, even if other pages link to it.

So those are the two ways you can hide a page from Google and other search engines. If you are not able to get this to work, post a comment and I will try to help you out.


 

 

How to know if your website is being indexed by Google - Website traffic tricks

Started by mastercode

Replies: 0
Views: 1706
Last post July 15, 2015, 10:13:07 PM
by mastercode
How to Screen Capture in Google Chrome and firefox browser

Started by newspostng

Replies: 0
Views: 2851
Last post December 23, 2016, 09:48:44 AM
by newspostng
How to Disable auto correct on Google Keyboard (Android and iOS)

Started by naij

Replies: 0
Views: 7737
Last post December 05, 2018, 01:50:12 AM
by naij
How to Export Google Chrome browser Tabs to TXT or HTML

Started by punch

Replies: 0
Views: 9622
Last post June 26, 2019, 05:05:15 AM
by punch
How To Enable Dark Mode In Most Google Smartphone Apps

Started by legendguru

Replies: 0
Views: 7373
Last post July 31, 2019, 05:48:49 AM
by legendguru