Copied to clipboard

Flag this post as spam?

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


  • Peter Nielsen 159 posts 257 karma points
    May 07, 2012 @ 10:18
    Peter Nielsen
    0

    Add a line to URLReqwrite.config

    Hi,

    Is it possible to add a new line to the urlrewrite.config from the api. Like when i publish a node it uses a property called oldUrl from the node and creates a urlrewrite with the old and the current url.

    Somebody who can point me in the right direction? :-)

    /Peter

  • Martin Rud 260 posts 1001 karma points c-trib
    May 07, 2012 @ 12:12
    Martin Rud
    0

    Hi Peter,

    I don´t know if that´s possible, but what about installing this package: http://our.umbraco.org/projects/developer-tools/301-url-tracker

    It makes old url have a 301-redirect to the latest (actual) url of a node.

    /Martin

  • Peter Nielsen 159 posts 257 karma points
    May 07, 2012 @ 12:26
    Peter Nielsen
    0

    Hi Martin,

    Well... I can see what you mean. I have actually looked at this package one time... don't know why I decided I wanted to do it myself instead.I think I'll go with that package :-)

    Thanks

    /Peter

Please Sign in or register to post replies

Write your reply to:

Draft