Managing the Robots.txt File for Sites Sharing Same Local Files

Aug 30, 2007 • 7:03 am | comments (0) by twitter Google+ | Filed Under Database Driven & Dynamic Site SEO & Tips
 

A Cre8asite Forums thread asks how can he generate unique robots.txt files for each domain he has, when each of those sites are sharing the same local files through a form of IIS mirroring?

There are several ways to do this, however, member Pittbug, said he had the same issue. He explained that he wrote domain specific rules in isapi_rewrite to define a unique robots.txt file per domain. He explains that you can set it up as, "robots1.txt will appear as www.domain1.com/robots.txt, robots-b.txt will appear as www.domain2.com/robots.txt" and so on.

Of course you can also dynamically generate your robots.txt file on a per domain basis via your database, I would assume.

The bottom line, as Ammon Johns explains,

I'd simply tell the developers what needs to be done, and let them figure out their own preferred method of achieving it, as they'll know the limitations of their system better than I can.

I agree a 100%, just understand what solution they come up with and how ti will impact the spiders and crawling process.

Forum discussion at Cre8asite Forums.

Previous story: How To Place a Location Under your Google Search Ad
 

Comments:

No comments.

blog comments powered by Disqus