Copied to clipboard

Flag this post as spam?

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


  • Nick Portelli 76 posts 102 karma points
    Mar 18, 2011 @ 19:13
    Nick Portelli
    0

    Razor searchEngineSitemapChangeFreq help

    I've installed the Razor version because it is shiney and new..and I want to learn to use Razor.  

    My first question is what is the default for the searchEngineSitemapChangeFreq?  When ever it is requested? If so then I suppose that is good.

    But I's still like to know how to add the property to the script...wait NM I think I see the macro now.  That's probably where you do it.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 20, 2011 @ 08:14
    Sebastiaan Janssen
    0

    There is no default.. If you read the script, you will see that only if the frequency has a value, it will be added.

    As to where to add them: 

    optionally you can add the update frequency and importance by adding these properties to your document types (and filling them in):

    - searchEngineSitemapChangeFreq
    - searchEngineSitemapPriority

    Valid values for change frequency are: always, hourly, daily, weekly, monthly, yearly, never
    Valid values for priority are: 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Mar 20, 2011 @ 22:21
    Biagio Paruolo
    0

    Is it possibile to assign priority to a page? that is first level pages have 1 priority, 2nd level 2 priority, and so on....

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Mar 22, 2011 @ 21:41
    Sebastiaan Janssen
    0

    You could change the Razor template to do this, but it is not recommended: "if you can provide unique insight, then do it", but "don't do anything sneaky or we will ignore it" 

Please Sign in or register to post replies

Write your reply to:

Draft