Copied to clipboard

Flag this post as spam?

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


  • Bex 444 posts 555 karma points
    Jun 09, 2014 @ 14:26
    Bex
    0

    Can I edit the sitemap?

    Hi

    Our client has asked that we add some pages generated from our database products to the xml sitemap. Do you use XSLT or another way to generate the sitemap that I can update or do I need to make a completely separate one?

    Thanks

    Bex

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 10, 2014 @ 06:58
    Richard Soeteman
    0

    Hi Bex,

    No it's generated on best practices. You can edit prio etc and you can disable some pages based on naviHide or document type configuration. What is it that your client want you to change?

    Best,

    Richard

  • Bex 444 posts 555 karma points
    Jun 10, 2014 @ 10:03
    Bex
    0

    Hi Richard!

    Thanks for your reply!

    They advertise different products/experiences and these come from a totally separate database so aren't part of umbraco, but they each have their own page (well query string based but url rewritten, so something like /producttype/productname) and they want these to appear in the sitemap.

    I was just wondering if I'm able to add them somehow?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 10, 2014 @ 10:36
    Richard Soeteman
    0

    Hi Bex,

    Ah now I see why you want to modify.But unfortunately it's not possible to add those at runtime. You might want to use a different sitemap package, or generate your own and add those product url's o it.

    I'll make sure there will be events in the near future where you can add those url's yourself during rendering of the sitemap but will take at least a couple of weeks.

    Best,

    Richard

  • Bex 444 posts 555 karma points
    Jun 10, 2014 @ 10:40
    Bex
    0

    That's great that you'll be adding the events at some point!

    I shall use a separate package or generate my own for the time being and hopefully add them back into yours when the functionality is available.

  • Bex 444 posts 555 karma points
    Jun 10, 2014 @ 15:48
    Bex
    0

    Hi Richard

    Just checking, does the same go for the robots file? I'd like to add my custom sitemap to it as it's no longer sitemap.xml it's an aspx page!

    Thanks

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jun 11, 2014 @ 07:10
    Richard Soeteman
    0

    Hi Bex,

    Yes you can. Right click on a domain in domain/rootnode settings, select robot.txt file and you can edit the sitemap url.

    Best,

    Richard

  • Bex 444 posts 555 karma points
    Jun 11, 2014 @ 10:02
    Bex
    0

    Ah great! Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft