Webmaster Forum

Go Back   Webmaster Forum > Dealing with Search Engines (SEO, Ranking & Services) > Search Engine Optimization

Search Engine Optimization General discussions about search engine optimization (SEO), keywords, sandbox and related issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-25-2009, 06:08 AM
WMG Newcomer
 
Join Date: Aug 2009
Posts: 17
iTrader: (0)
dealsforums is on a distinguished road
Post How do I use a Robots file or do you have an example of one?

Hi EveryBody,i have been working working for a private company.
Could anyone please tell me How do I use a Robots file?
If anyone have example with this.. please reply me

Thanks in Advance for the reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2  
Old 08-27-2009, 09:12 AM
~kev~'s Avatar
WMG Resident Alien
Recent Blog: Rambo First Blood
 
Join Date: Aug 2009
Location: Texas
Posts: 84
iTrader: (0)
~kev~ is on a distinguished road
Default

Here is an example.

User-agent: *
Disallow: /and the path or file you do not want indexed

Lets say you have a test php file you are working on and do not want it indexed. Then this is what the robos.txt file would look like.

User-agent: *
Disallow: /test.php

To add more then one file to the list,

User-agent: *
Disallow: /test1.php
Disallow: /test2.php
Disallow: /test3.php
Disallow: /test4.php
Disallow: /test5.php

To add a directory to the file
User-agent: *
Disallow: /test1.php
Disallow: /test-directory/

and that will stop all search engines from indexing the test-directory.
__________________
pc gaming | digital camera forum

Last edited by ~kev~ : 08-27-2009 at 09:14 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #3  
Old 08-28-2009, 12:06 AM
WMG Newcomer
 
Join Date: Aug 2009
Posts: 17
iTrader: (0)
dealsforums is on a distinguished road
Default Re:How do I use a Robots file or do you have an example of one?

Thanks for clarifying me easily
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #4  
Old 12-07-2009, 07:04 AM
WMG Resident Alien
 
Join Date: Sep 2009
Location: Delhi, India
Posts: 66
iTrader: (0)
surinder is on a distinguished road
Default

Thanks Kev and Hsvyas you guys explain very well about robot file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #5  
Old 02-06-2010, 01:37 AM
WMG Newcomer
 
Join Date: Oct 2009
Posts: 18
iTrader: (0)
ameto is on a distinguished road
Default

You can also do it on per page basis using meta robot tag..

<meta name="robots" content="noindex nofollow" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #6  
Old 02-09-2010, 01:23 AM
WMG Newcomer
 
Join Date: Feb 2010
Posts: 5
iTrader: (0)
Dincome is on a distinguished road
Default

Quote:
Originally Posted by ameto View Post
You can also do it on per page basis using meta robot tag..

<meta name="robots" content="noindex nofollow" />
Yeah but you have to place this tag on each page. And with robots.txt you can place all instructions at single page.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #7  
Old 02-15-2010, 01:49 AM
WMG Newcomer
 
Join Date: Jan 2010
Posts: 30
iTrader: (0)
Sikhar is on a distinguished road
Default

Quote:
Originally Posted by ~kev~ View Post
Here is an example.

User-agent: *
Disallow: /and the path or file you do not want indexed

Lets say you have a test php file you are working on and do not want it indexed. Then this is what the robos.txt file would look like.

User-agent: *
Disallow: /test.php

To add more then one file to the list,

User-agent: *
Disallow: /test1.php
Disallow: /test2.php
Disallow: /test3.php
Disallow: /test4.php
Disallow: /test5.php

To add a directory to the file
User-agent: *
Disallow: /test1.php
Disallow: /test-directory/

and that will stop all search engines from indexing the test-directory.
yeah its good that if you are using robots file to our site but could you tell me one thing how can identify that which folder we are trying to stop to cache or index its really working or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #8  
Old 02-15-2010, 09:44 AM
WMG Resident Alien
 
Join Date: Jun 2009
Posts: 76
iTrader: (0)
urminenow is on a distinguished road
Default

please visit this site to understand more about robots.txt

http://www.javascriptkit.com/howto/robots.shtml
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
  #9  
Old 02-17-2010, 12:06 AM
WMG Resident Alien
 
Join Date: Jul 2009
Posts: 50
iTrader: (0)
stevejeff is on a distinguished road
Default

Quote:
Originally Posted by dealsforums View Post
Hi EveryBody,i have been working working for a private company.
Could anyone please tell me How do I use a Robots file?
If anyone have example with this.. please reply me

Thanks in Advance for the reply
I can suggest you http://www.robotstxt.org/orig.html where you can find the details and formats for robots.txt file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Share on Facebook
Reply With Quote
Reply


Thread Tools
Display Modes

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

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


Sponsored


Latest Freelance Jobs from Project4Hire


Latest Ad Spaces for Sale at AdSpace-Auctions.com



Recommended Sites
Freelance Web Designers
Work At Home Discussion Forum
Ad Marketplace
Health & Wellness Forum
Find Online Deals and Bargains

Other Forums: Video Games Forum | Movies Forum | Computers & Consumer Electronics Forum
All times are GMT -4. The time now is 06:52 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.1