- Web Design
- Graphic Design
- Content Management
- E-Commerce
- Freelance
- Flash Designers
- Application Development
- Internet Marketing
- Search Engine Optimisation
- Database Development
- Outsource
- Multimedia Design
- IT Consulting
- Project Management
- Copywriters
- Website Maintenance
- Web Hosting
- Network Administration
- Technical Support
- Web Security
- System Administration
- Web Software
Using a robots.txt File |
| Date Added: April 27, 2008 09:20:41 AM |
| Author: John Pollock |
| Category: System Administration |
This is a useful file that keeps search engines from indexing pages you do not want spidered. Why would you not want a page indexed by a search engine? Perhaps you want to display a page that shows an example of spamming the search engines. This type of page might include an example of repeated keywords, hidden tags with keywords, and other things that could get a page or an entire site banned from a search engine. The robots.txt file is a good way to prevent this page from getting indexed. However, not every site can use it. The only robots.txt file that the spiders will read is the one at the top html directory of your server. This means you can only use it if you run your own domain. The spiders will look for the file in a location similar to these below: http://www.pageresource.com/robots.txt Any other location of the robots.txt file will not be read by a search engine spider, so the file locations below will not be worthwhile: http://www.pageresource.com/html/robots.txt Now, if you have your own domain- you can see where to place the file. So let's take a look at exactly what needs to go into the robots.txt file to make the spider see what you want done. If you want to exclude all the search engine spiders from your entire domain, you would write just the following into the robots.txt file: User-agent: * If you want to exclude all the spiders from a certain directory within your site, you would write the following: User-agent: * If you want to do this for multiple directories, you add on more Disallow lines: User-agent: * If you want to exclude certain files, then type in the rest of the path to the files you want to exclude: User-agent: * If you are curious, here is what I used to keep an article from getting indexed: User-agent: * If you want to keep a specific search engine spider from indexing your site, do this: User-agent: Robot_Name You'll need to know the name of the search engine spider or robot, and place it where Robot_Name is above. You can find these names from the web sites of the various search engines. So, if you need to exclude something from search engine indexing, this is the most effective tool recognized by the search engines- so use it to keep the spiders out of any part of your web you want them to avoid. |
|
|
- Web Design Services
- Getting Keyword Density Right For SEO
- SEO: Search Engine Optimization And Why It...
- Handy Hints for Web Designers
- How to Research and Find Your Niche Online
- Your Choice of Web Site Color
- Your Secret Weapon: The Web Design Directory
- Beating Adwords - Rank Quickly With Google...
- Using a robots.txt File
- Basics of Web Design
- What Niche Marketing is Not
- Setting Your Brand Apart from the Rest
- 5 Great Ways of Driving Targeted Traffic t...
- Why keyword research is a vital part of th...
- Social Media Optimization: New trend in SEO
- How to Hire a Professional SEO Consultant?
- SEO versus Website Design
- Why Do You Need A Internet Marketing Coach...
- Article syndication: get yourself advertis...
- Steps for Writing Web Content for SEO
- How I Decide Which Open Source AJAX Librar...
- What Is Ajax
- PHP Frameworks
- Stop struggling with creating quality XHTM...
- Common PHP Errors
- Active Links: 247
- Pending Links: 29
- Todays Links: 5
- Active Articles: 116
- Pending Articles: 0
- Todays Articles: 0
- Total Categories: 22
- Sub Categories: 0

