Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jul 21, 2011 @ 17:05
    Jeavon Leopold
    1

    Different robots.txt files for mutli-site installs

    Hi Lee,

    I have a situation where I need different robots.txt files for different sites all in the same Umbraco install, currently I have done this by using textbox multiple data type and a URLRewritting rule but I would love to be able to use the editor from your package as it really helps our editors manage rules.

    I can think of two potential approaches:

    1. Extend your package to support different robots.txt files but currently you are directly edit a physical file so might be complicated as would need to make to serving of the file become virtual, dependant on url

    2. Use your code to create a usercontrol wrapper data type that can be used in content

    I'm thinking option 2, but would really appreciate your opinion?

    Regards,

    Jeavon

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 21, 2011 @ 17:28
    Lee Kelleher
    0

    HI Jeavon,

    Take a look at Sebastiaan's Cultiv DynamicRobots package. I think it provides the functionality that you require.

    Otherwise, yes, feel free to take the source code and modifiy accordingly.

    Cheers, Lee.

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jul 21, 2011 @ 17:34
    Jeavon Leopold
    1

    Hi Lee,

    Sebastian's package is great if you have the same robots.txt for all sites but need to change the sitemap, but we actually have completely different contents of robots.txt per site, one site actually blocks everything and others are using the default Umbraco. I think I’m going to have a go at converting your editor to a data type. Will let you know how it goes. J

    Thanks,

    Jeavon

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 21, 2011 @ 17:39
    Lee Kelleher
    0

    Hi Jeavon,

    Hmmm... more I think about it, more I like the idea of a robots.txt data-type! :-)

    Let me know how it goes. If you think it's worthwhile including it in the main package, then I'm happy to add you as a collab on the project, etc.

    Thanks, Lee.

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jul 21, 2011 @ 17:44
    Jeavon Leopold
    0

    Cool, will keep you posted

    Cheers,

    Jeavon

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jul 25, 2011 @ 15:19
    Jeavon Leopold
    1

    Hey Lee,

    I have a user control wrapper data type working well, I can email you a test package/source if your interested? If/when I have more time, I would like to create a proper Abstract Data Editor but for now this is great!

    Cheers,

    Jeavon

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 25, 2011 @ 15:28
    Lee Kelleher
    0

    Hey Jeavon,

    Thanks great news!  Drop me an email (when you've got time - no rush), would love to take a look at it. Interested in including it with the rest of the package.

    #h5yr

    Cheers, Lee.

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Jul 25, 2011 @ 18:12
    Sebastiaan Janssen
    0

    Ooh, this sounds interesting, could probably obsolete my whole package. I'll keep an eye on this topic for progress.,

     

  • Ingen 13 posts 33 karma points
    Aug 09, 2012 @ 08:46
    Ingen
    0

    Did anyone make a package? I need this as well now, have tried a few things I've found elsewher but no luck yet.

Please Sign in or register to post replies

Write your reply to:

Draft