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

Aug 30, 2007 - 7:03 am 0 by
Filed Under Dynamic Site SEO

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.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google Supports Fewer Structured Data, Not More Like Promised

Jun 30, 2025 - 7:51 am
Bing Ads

Microsoft Removed Over One Billion Ads & 475,000 Advertiser Accounts

Jun 30, 2025 - 7:41 am
Google

Google Tests AI Mode In Chrome Search Bar (Desktop & Android)

Jun 30, 2025 - 7:31 am
Google

PSA: Fan Out Queries Are Not In Google Search Console

Jun 30, 2025 - 7:21 am
Google Ads

New Google Ads Broad Match Experiments Testing

Jun 30, 2025 - 7:11 am
Google Ads

Google Ads API Outages and Slowness; Microsoft Ads Warns About Google Imports

Jun 29, 2025 - 8:12 am
Previous Story: How To Place a Location Under your Google Search Ad