Copied to clipboard

Flag this post as spam?

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


  • Diego 1 post 71 karma points
    Jun 10, 2016 @ 19:12
    Diego
    0

    Overwrite URL published content to contain the createDate (yyyyMMdd) in the url

    Hey guys.

    I have a requirement to overwrite the URL of a publised content to have in it the createDate (yyyyMMdd). For example:

    From: /content/published-item/ (Create Date: 2016-06-10) To: /content/20160610/published-item/

    What I could use to to it? I believe it might be something related having a custom UrlProvider.

    Thanks, Diego

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Jun 11, 2016 @ 08:43
    David Brendel
    3

    Hi Diego,

    yes this can be achieved with an UrlProvider and ContentFinder.

    Have a look here: http://24days.in/umbraco/2014/urlprovider-and-contentfinder/

    Regards David

Please Sign in or register to post replies

Write your reply to:

Draft