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

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google

Google Tests AI Search Options Beyond AI Mode

Mar 18, 2025 - 2:40 pm
Search Forum Recap

Daily Search Forum Recap: March 18, 2025

Mar 18, 2025 - 10:00 am
Google

Google Tests Links In AI Overviews To More Search Results

Mar 18, 2025 - 7:51 am
Google Ads

Google Ads Images Double Expand Swipe Carousel

Mar 18, 2025 - 7:41 am
Google Ads

First Order Discount Label On Google Shopping Ads

Mar 18, 2025 - 7:31 am
Google

Google Tests Three Rows Of Google Shopping Ads

Mar 18, 2025 - 7:21 am
Previous Story: How To Place a Location Under your Google Search Ad