|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
A high performance database engine using optimized data access for all development environments including Delphi, Visual Studio .NET, Visual Basic, Visual FoxPro. and more. Learn More |
|
#1
|
|||
|
|||
|
Need help with robots.txt
I put together a robots.txt file. Some of the free sites I go to say there is no problem while other sites say there is a problem. Here is my file, does anybody have any ideas. I want the whole site avaliable except those three directories.
User-Agent: * Disallow: /script Disallow: /cgi-bin Disallow: /admin Allow: / sitemap: http://www.mysitemap.com/sitemap.xml |
|
#2
|
||||
|
||||
|
Lose the last line to be sure
__________________
|
|
#3
|
||||
|
||||
|
As per the original spec for the robots.txt protocol, one the "Disallow:" operator is allowed. (It's an "exclusion" protocol).
This is the right way: Code:
Disallow: /script Disallow: /cgi-bin Disallow: /admin The sitemap line is not part of the spec. A validator will choke on this.
__________________
Darrin J. Ward, Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! ** Get a Free ChatBox - ChatButton. |
|
#4
|
||||
|
||||
|
Ew yes by last line I meant the "Allow" line. Sorry if I wasn't clear.
I didn't even consider the sitemap bit. Use Google Webmaster Central for that if you must |
![]() |
| Viewing: SEO Chat Forums > Search Engine Strategies > Search Engine Spiders > Need help with robots.txt |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|