| | #1 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
|
How to block my site from Indexing on Google/Yahoo/MSN? Is it possible to do it thru .htaccess? Please advise. Thx |
| |
| | #2 |
| Warrior Member Join Date: 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
Use robots.txt You can create this file from within your Webmasters Tools account.
|
| |
| | #3 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
|
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. |
| |
| | #4 |
| Warrior Member Join Date: 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
Well just use the following code in your Robots.txt and place the file in website root. User-agent: * Disallow: / |
| |
| | #5 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
|
Thanks. but will this block direct traffic as well? (or even anchor links from other sites?) |
| |
| | #6 |
| Active Warrior Join Date: 2011
Posts: 36
Thanks: 0
Thanked 2 Times in 2 Posts
|
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)
|
| |
| | #7 |
| Warrior Member Join Date: 2011
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
|
You can also use: <META name="robots" content="noindex, nofollow"/> |
| |
| | #8 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
| |
| |
| | #9 | ||
| Active Warrior Join Date: 2011
Posts: 61
Thanks: 14
Thanked 1 Time in 1 Post
|
| ||
| |
| | #10 |
| Marketing with an accent. War Room Member Join Date: 2010 Location: Switzerland
Posts: 556
Thanks: 103
Thanked 179 Times in 135 Posts
|
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. ================================================== === | |
| |
| | #11 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
|
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. |
| |
| | #12 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
| |
| |
| | #13 |
| Internet Marketer Join Date: 2011 Location: New York
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
|
In wordpress dashboard goto Settings -> Privacy -> and select "Ask search engines not to index this site." You are done.
|
| |
| | #14 |
| Active Warrior Join Date: 2011
Posts: 71
Thanks: 8
Thanked 1 Time in 1 Post
|
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! |
| |
| | #15 |
| Active Warrior Join Date: 2011 Location: North Carolina
Posts: 54
Thanks: 6
Thanked 9 Times in 7 Posts
|
If you're wanting to stop Google from crawling and indexing use this: Code: User-agent: * Disallow: /folder1/ User-Agent: Googlebot Disallow: /folder1/ |
| |
| | #16 |
| Inactive War Room Member Join Date: 2011 Location: Inactive
Posts: 173
Thanks: 87
Thanked 41 Times in 24 Posts
| |
| |
| | #17 |
| Active Warrior Join Date: 2011
Posts: 60
Thanks: 0
Thanked 4 Times in 4 Posts
|
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). |
| | |
| |
| | #18 |
| Banned Join Date: 2012 Location: Portland, Oregon
Posts: 48
Thanks: 0
Thanked 1 Time in 1 Post
|
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.
|
| |
| | #19 |
| VIP Warrior War Room Member Join Date: 2008
Posts: 1,768
Thanks: 4,644
Thanked 1,335 Times in 894 Posts
| |
| --------------- | |
| |
| | #20 |
| Warrior Member Join Date: 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
Use index.txt file for restrict your site from search engine
|
| | |
| |
| | #21 |
| Code Painter War Room Member Join Date: 2008 Location: Bangalore, India.
Posts: 124
Thanks: 152
Thanked 31 Times in 27 Posts
| |
|
"Be Still Like A Mountain And Flow Like A Great River"
| |
| |
| | #22 |
| Software Entrepreneur War Room Member Join Date: 2009
Posts: 145
Thanks: 24
Thanked 26 Times in 23 Posts
|
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. |
| |
|
| Bookmarks |
| Tags |
| block, google or yahoo or msn, indexing, site |
| |