Welcome to WebmasterWorld Guest from 54.158.143.40

Forum Moderators: goodroi

Message Too Old, No Replies

Robots.txt

Can we give it another name

   
2:12 pm on Jul 23, 2013 (gmt 0)

5+ Year Member



Hello
One of my dear fellow has given robots.txt file another name like robetistic.txt. Could you please explain me whether it is good or a bad practice to name a robots.txt file with another name? Or, if it is valid (giving another name), what about Google then? will google crawl the new name of robots.txt.
thanks,
Bilal
2:26 pm on Jul 23, 2013 (gmt 0)

WebmasterWorld Senior Member sem4u is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The filename must be called robots.txt to be crawled by Google and other search engines. Copy the content of the other file to robots.txt and delete the other one.
2:46 pm on Jul 23, 2013 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



according to The Robots Exclusion Protocol:
http://www.robotstxt.org/robotstxt.html [robotstxt.org]
the url is:
http://www.example.com/robots.txt


you can also see "Examples of valid robots.txt URLs" in the Google Developers Robots.txt Specifications:
http://developers.google.com/webmasters/control-crawl-index/docs/robots_txt [developers.google.com]
10:20 pm on Jul 23, 2013 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



You can silently rewrite from robots.txt to anyname.anyextension. Some people hereabouts do this as part of sneakily serving up a UA-specific robots.txt. But the URL has to be hostname/robots.txt.
11:49 pm on Jul 23, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



sneakily serving up a UA-specific robots.txt

It is not sneaky at all.

It is a simple server configuration.

No bots are misled or otherwise harmed in the process.

...
1:24 am on Jul 24, 2013 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



We have differing definitions of the word "sneaky". In my lexicon, anything involving a rewrite is sneaky. Not necessarily bad, but undeniably hidden and behind-the-scenes.
2:14 am on Jul 24, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



undeniably hidden and behind-the-scenes

What, like the Apache configuration, the PHP code, and so much else?

Serving different responses to different user-agents is perfectly normal and reasonable.

But nobody likes a sneak.

...
5:25 pm on Dec 17, 2013 (gmt 0)

5+ Year Member



thanks guys for helping me out.. thanks for you help.. God bless you all.. Sorry for late reply, actually got ill for long. Thanks again dudes