Results 1 to 8 of 8

 

Thread: Robots.txt & Domains

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Mar 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Hi there,

    I wonder if anyone can help me.

    We have a site that we are launching an affiliate program for. They have the .com and .co.uk domain names and do their own PPC using the .co.uk URL.

    I would like them to replicate the .com site and allow affiliates to use this for their own PPC ads.

    However - they do not want two different version of the files flying about, but can replicate it based on using the same fileset in apache.

    Here is my problem - if they do this they will have duplicate content - is there a way of setting up the robots.txt file to be DOMAIN specific. If they are using the same files then they would use the same robots.txt - so ideally we only want to block on the .com

    Hope that makes sense - if anyone has any suggestions please let me know.

    Cheers

  2. #2
    Supercod's Avatar
    Super Moderator

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Scotland, UK.
    Posts
    3,658
    Thanks
    14
    Thanked 26 Times in 12 Posts
    Mirror the site in a different directory, point the domain to that directory, and just put a robots.txt that blocks everything in that directory, also might be worth adding norobot,noindex,nofollow tags to all the pages on the mirror site but that be a bit more complex to do.

    Oh and I am not 100% sure on this but even doing all that I am not sure if google will think your breaking PPC rules or not.

    Any possibility of coming up with a fair plan to allow Affiliates and Merchant to live side by side in the PPC space, the client might even remove themselves from everything accept the brand if the Affiliates do a good job.
    Clarke - On Twitter @ClarkeDuncan

    Check out my Blog at www.affiliatemarketingblog.co.uk

  3. #3
    Negative SEO is fun!

    Status
    Offline
    Join Date
    Sep 2003
    Posts
    1,389
    Thanks
    0
    Thanked 39 Times in 35 Posts
    >> is there a way of setting up the robots.txt file to be DOMAIN specific.

    Fortunately, there's no other way it can be. Robots.txt files need to uploaded to the root of a domain, so the path is domain.com/robots.txt - that's the only place it will be valid, so it's the only place a spider will look. All commands are therefore assumed to relate to the domain it has been placed in.

    Also, note that different subdomains are treated differently, too. You could simply have a subdomain affiliates., and robots.txt it out, then use a global 301 to the www version. Done that before elsewhere, worked a treat

  4. #4
    tbp
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 22 Times in 22 Posts
    I haven't had a need to try this, but I think this would work? You can test it anyway through google sitemaps using the robots.txt test facility.

    Have two robots.txt files, one called robots1.txt and one called robots2.txt

    Then set up mod rewrite to redirect

    http://www.domain.co.uk/robots.txt to robots1.txt

    and

    http://www.domain.com/robots.txt to robots2.txt

    To the search engine it would appear that its just a standard robots.txt at the root of the website.

  5. #5
    Negative SEO is fun!

    Status
    Offline
    Join Date
    Sep 2003
    Posts
    1,389
    Thanks
    0
    Thanked 39 Times in 35 Posts
    It'd work, I'm just not sure why you'd do it... 2 URLs, 2 sets of content... why not just put different robots.txt files in the root of each domain? What purpose does the redirect serve?

  6. #6
    tbp
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 22 Times in 22 Posts
    No, I didn't mean have 2 sets of content. You have one site with both the .co.uk and .com pointing at it.

    You then redirect just robots.txt, to the appropriate one for the domain, allowing all for .co.uk and blocking all for .com. To the search engine it just appears as a standard robots.txt in the root of the website, but depending on which domain they visited the site on depends on which robots.txt file is served to them ie robots1.txt or robots2.txt.

  7. #7
    Supercod's Avatar
    Super Moderator

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Scotland, UK.
    Posts
    3,658
    Thanks
    14
    Thanked 26 Times in 12 Posts
    It's like if both domains have there own VirtualHost setup in the Apache config, simply use Alias /robots.txt and point it to the file outside of the normal directory structure so it won't be picked up when using the other domain name.

    Result same site, same directory's but the VirtualHost is setup to give each domain it's own robots.txt one would be a every search engine welcome and the other would be set up to tell them all to stay away. Like tbp, never actually done it but it's very possible to do.
    Clarke - On Twitter @ClarkeDuncan

    Check out my Blog at www.affiliatemarketingblog.co.uk

  8. #8
    Registered User

    Status
    Offline
    Join Date
    Mar 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks tbp & Supercod - I think both of these options will work so will send to the web developer to take a look at.

    Cheers
    J



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fantastic domains industry relevant + ONE WORD domains
    By flashfreddy in forum Domains & Websites For Sale
    Replies: 3
    Last Post: 26-06-09, 01:51 PM
  2. Merchants shops = how many domains = we rip you off
    By Itchy in forum Affiliate Marketing Lounge
    Replies: 16
    Last Post: 20-09-06, 02:22 PM
  3. 1,122 3-letter .EU domains available from today!
    By Stephen George in forum Domains & Websites For Sale
    Replies: 0
    Last Post: 07-06-06, 08:28 AM
  4. Few domains to clear out
    By aus in forum Domains & Websites For Sale
    Replies: 0
    Last Post: 26-05-05, 04:39 AM
  5. .co.uk Loan / Casino / Travel / Console domains for sale.
    By paullas in forum Web Hosting & Security
    Replies: 0
    Last Post: 13-04-05, 11:47 AM

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
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2