Copied to clipboard

Flag this post as spam?

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


  • Chris 11 posts 30 karma points
    Jan 05, 2012 @ 13:54
    Chris
    0

    Robots.txt and SiteMap.xml

    I want to manually add Robots.txt and SiteMap.xml to my site node. If I add them manually will they get overwritten and any point. I've seen some packages to add them but I'm a bit unsure about them. Is there a recommended Umbraco approach. Cheers, Chris.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jan 05, 2012 @ 14:07
    Tom Fulton
    0

    Hi Chris,

    No, they shouldn't get overwritten by anything, Umbraco does not do anything with these files.  The robots.txt I would reccomend adding manually, but for the sitemap you should probably create it dynamically.  That way as pages are added and updated this will be reflected in your sitemap automatically.

    To do that it's probably easiest to start with one of the existing packages.  Or if you wanted you could create your own macro based on the Sitemap XSLT template and modify it to use an XML format.  I haven't used it but this seems to be a popular one:  http://our.umbraco.org/projects/website-utilities/cultiv-search-engine-sitemap

    Hope this helps,
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft