Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 28th Nov 2011, 12:35 AM   #1
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

How to block my site from Indexing on Google/Yahoo/MSN?
Is it possible to do it thru .htaccess?

Please advise. Thx
PrincessJasmine is offline  
Unread 28th Nov 2011, 12:49 AM   #2
Warrior Member
 
Join Date: 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Use robots.txt You can create this file from within your Webmasters Tools account.
WritingFargo is offline  
Unread 28th Nov 2011, 12:54 AM   #3
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

I am not looking to sign up webmaster tools for that site, is there any other suggestion?

What should i put in the .htaccess file?
Thanks.
PrincessJasmine is offline  
Unread 28th Nov 2011, 01:05 AM   #4
Warrior Member
 
Join Date: 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Well just use the following code in your Robots.txt and place the file in website root.

User-agent: *
Disallow: /
WritingFargo is offline  
Unread 28th Nov 2011, 01:12 AM   #5
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Thanks.
but will this block direct traffic as well? (or even anchor links from other sites?)
PrincessJasmine is offline  
Unread 28th Nov 2011, 06:12 AM   #6
Active Warrior
 
Join Date: 2011
Posts: 36
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

best thing to do is to use robots.txt. Another method is to check if the visitator is a google robot, and change the content for him (it's called cloaking)
gamebak is offline  
Unread 28th Nov 2011, 06:44 AM   #7
Warrior Member
 
Join Date: 2011
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

You can also use:
<META name="robots" content="noindex, nofollow"/>
davidlarson87 is offline  
Unread 29th Nov 2011, 10:18 PM   #8
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Originally Posted by WritingFargo View Post

Well just use the following code in your Robots.txt and place the file in website root.

User-agent: *
Disallow: /
I know you said only put 'root'
but suppose i have a few sub-folder, should I put it into them as well?
Thx
PrincessJasmine is offline  
Unread 30th Nov 2011, 12:02 AM   #9
Active Warrior
 
Join Date: 2011
Posts: 61
Thanks: 14
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

I know you said only put 'root'
but suppose i have a few sub-folder, should I put it into them as well?
Thx
You don't need to add it into all the sub-folders. Just add it to the root folder, that's enough. Same thing applies to all the sub-folders too.

Thanks.
but will this block direct traffic as well? (or even anchor links from other sites?)
No. It doesn't block direct traffic. It only blocks search engines from indexing your pages.
scriptkid is offline  
Unread 30th Nov 2011, 10:37 AM   #10
Marketing with an accent.
War Room Member
 
RobKonrad's Avatar
 
Join Date: 2010
Location: Switzerland
Posts: 556
Thanks: 103
Thanked 179 Times in 135 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Hey Princess,

if you don't feel comfortable working on "raw" files in your root directory, use this plugin:

WordPress › KB Robots.txt « WordPress Plugins

that will add whatever you want to your robots.txt directly from WITHIN wordpress, without the need to change anything.

Cheers,
Rob

================================================== ===
This blog is awesome: http://www.robkonrad.com/blog. Read it.
================================================== ===
RobKonrad is offline  
Unread 14th Dec 2011, 10:40 AM   #11
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

UPDATE:

I made a sub-domain and placed the robots.txt on there.
I dont want my sub-domain to be crawled/indexed by search engines.

Since the robot.txt is placed on the sub-domain directory,
will that affect my 'main domain' as well? I still want my main domain to be crawled and indexed.

Thanks.
PrincessJasmine is offline  
Unread 14th Dec 2011, 11:21 AM   #12
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Originally Posted by robby1 View Post

hi,
just upload robot.txt file in your site and add which part of site you don't want to index in Google and other search engine
how do I do that?
right now, i have this on my robot.txt (on my sub-domain directory)


User-agent: *
Disallow: /

Thanks again!
PrincessJasmine is offline  
Unread 14th Dec 2011, 02:59 PM   #13
Internet Marketer
 
mrfriend's Avatar
 
Join Date: 2011
Location: New York
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

In wordpress dashboard goto Settings -> Privacy -> and select "Ask search engines not to index this site." You are done.
mrfriend is offline  
Unread 14th Dec 2011, 03:04 PM   #14
Active Warrior
 
Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Thanks. I am not using wordpress.

Well. i thought this will be a simple question...
All i want to know is that if the robot.txt is on my sub-domain directory,
will that impact the root directoy as well......

Thanks again!
PrincessJasmine is offline  
Unread 14th Dec 2011, 06:35 PM   #15
Active Warrior
 
drewhowell21's Avatar
 
Join Date: 2011
Location: North Carolina
Posts: 54
Thanks: 6
Thanked 9 Times in 7 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

If you're wanting to stop Google from crawling and indexing use this:

Code:
User-agent: *
Disallow: /folder1/

User-Agent: Googlebot
Disallow: /folder1/
Where folder would be the folder your subdomain is located (followed by a / ).
drewhowell21 is offline  
Unread 14th Dec 2011, 10:32 PM   #16
Inactive
War Room Member
 
Join Date: 2011
Location: Inactive
Posts: 173
Thanks: 87
Thanked 41 Times in 24 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Originally Posted by PrincessJasmine View Post


Well. i thought this will be a simple question...
All i want to know is that if the robot.txt is on my sub-domain directory,
will that impact the root directoy as well......
No, it will not affect your main webroot if it is in subdomain root.
Alastair McDermott is offline  
Unread 15th Dec 2011, 01:12 AM   #17
Active Warrior
 
Join Date: 2011
Posts: 60
Thanks: 0
Thanked 4 Times in 4 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

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).

rainso0 is offline  
Unread 19th Apr 2012, 09:11 AM   #18
Banned
 
Join Date: 2012
Location: Portland, Oregon
Posts: 48
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

You can block or remove pages using a robots.txt file. A robots.txt file restricts access to your site by search engine robots that crawl the web.
christinejones is offline  
Unread 19th Apr 2012, 01:38 PM   #19
VIP Warrior
War Room Member
 
Karen Blundell's Avatar
 
Join Date: 2008
Posts: 1,768
Thanks: 4,644
Thanked 1,335 Times in 894 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Originally Posted by drewhowell21 View Post

If you're wanting to stop Google from crawling and indexing use this:

Code:
User-agent: *
Disallow: /folder1/

User-Agent: Googlebot
Disallow: /folder1/
Where folder would be the folder your subdomain is located (followed by a / ).
this is the correct way to do it !

---------------
Karen Blundell is offline  
Unread 20th Apr 2012, 06:39 AM   #20
Warrior Member
 
Join Date: 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Use index.txt file for restrict your site from search engine

Allcityloan is offline  
Unread 20th Apr 2012, 09:48 PM   #21
Code Painter
War Room Member
 
saxatwork's Avatar
 
Join Date: 2008
Location: Bangalore, India.
Posts: 124
Thanks: 152
Thanked 31 Times in 27 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Allcityloan View Post

Use index.txt file for restrict your site from search engine
"Index.txt" ??? I didn't know you could do that... how's that done???

"Be Still Like A Mountain And Flow Like A Great River"
saxatwork is offline  
Unread 21st Apr 2012, 03:19 AM   #22
Software Entrepreneur
War Room Member
 
JayWiz's Avatar
 
Join Date: 2009
Posts: 145
Thanks: 24
Thanked 26 Times in 23 Posts
Default
Re: How to block my site from Indexing on Google/Yahoo/MSN?
Share on: 
fb share twitter share gplus share more share

Here is the step:
1. Create robots.txt in your root folder
2. Copy this code

User-agent: *
Disallow: /

=> To disallow for all folders

User-agent: *
Disallow: /myfolder1

=> To disallow for myfolder1 only

User-agent: *
Disallow: /private_file.html

=> To disallow for specific files

You can learn more from searching on google.
JayWiz is offline  
Closed Thread


Bookmarks

Tags
block, google or yahoo or msn, indexing, site


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:30 AM.