Results 1 to 2 of 2

Thread: Multi-domain site - serving different robots.txt?

  1. #1
    User
    Join Date
    04-10-11.
    Posts
    162

    Default Multi-domain site - serving different robots.txt?

    We have a multi-domain site which uses two different site roots. We need to alter the robots.txt file for one of the domains but leave it as it is for the other. They share the same file system so if we change the one and only robots.txt it will change it for both sites.

    Is there any way around this?

    Thanks!

  2. #2
    New user
    Join Date
    01-07-14.
    Posts
    5

    Default

    Maybe you could use htaccess rules to serve different robot files for each domain:
    http://stackoverflow.com/a/16982326/1489841
    http://stackoverflow.com/a/19090271/1489841

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •