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

Search Forum Recap

Daily Search Forum Recap: April 28, 2025

Apr 28, 2025 - 10:00 am
Google

Deposition: Google Used Search Signals & Data To Train Gemini AI Models

Apr 28, 2025 - 7:41 am
Bing Search

Bing Copilot Answer More Videos Section

Apr 28, 2025 - 7:31 am
Google

Google Tests New Shipping, Returns & Payment Section In Retail Knowledge Panel

Apr 28, 2025 - 7:21 am

Apple Updates Applebot Docs: Explaining Applebot-Extended vs Applebot

Apr 28, 2025 - 7:11 am
Google Search Engine Optimization

Google Search Console API Data Stuck On April 22

Apr 28, 2025 - 5:56 am
Previous Story: How To Place a Location Under your Google Search Ad