HOW TO HIDE LINK FROM GOOGLE SEARCH

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mijanur
Forum Newbie
Posts: 10
Joined: Wed Aug 02, 2006 8:23 am

HOW TO HIDE LINK FROM GOOGLE SEARCH

Post by Mijanur »

Hi

I was wondering if anyone can help with this query i wanted to hide the followinf link from google search


can anyone advise me on how i can do that please.

if i serach for in google it show me all the pages but i do not want this page to be shown.

how can i over come this problem??


thanx for your time :-)

:D


Moe
Last edited by Mijanur on Tue Jul 10, 2007 9:41 am, edited 1 time in total.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

robots.txt ?
Mijanur
Forum Newbie
Posts: 10
Joined: Wed Aug 02, 2006 8:23 am

Post by Mijanur »

robots.txt ?

whats that? im soory i dont know much about coding :-(

Kind Regards
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Create a file called robots.txt and add the following lines

Code: Select all

User-agent: *
Disallow: /admin1
Also, it doesn't hurt to do a quick search on the subject either, or even make your title not in all capitol letters :wink:
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

robots.txt is a file you put on your website that tells robots (web search engine spiders) what they're allowed to access. The format for robots.txt files is pretty simple, a search in Google will get you hundreds of tutorials and stuff.

However, this isn't really what you want. If the page is already in Google then a robots.txt file on your server isn't going to remove it. For that you'll have to use the "URL Removal Request Tool" .. http://www.google.com/support/webmaster ... topic=8459
Mijanur
Forum Newbie
Posts: 10
Joined: Wed Aug 02, 2006 8:23 am

Post by Mijanur »

Thanx for your help guys. i didnt know of robot.txt bofore until today :-)

kind ragards
Mijanur
Forum Newbie
Posts: 10
Joined: Wed Aug 02, 2006 8:23 am

Post by Mijanur »

i have created a file robot.txt and uploaded it with the folowing code

User-agent: *
Disallow: /admin1

it still appears on google. does it take a while for it to become active?

kind regards
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

onion2k has already commented on that.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

onion2k wrote:If the page is already in Google then a robots.txt file on your server isn't going to remove it. For that you'll have to use the "URL Removal Request Tool" .. http://www.google.com/support/webmaster ... topic=8459
Post Reply