Copied to clipboard

Flag this post as spam?

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


  • Pantelis 53 posts 107 karma points
    Sep 18, 2012 @ 13:34
    Pantelis
    0

    Custom Alternative Links (or rewrite)

    Greetings,

    I have a website with structure in the form of "www.domain.com/folder/subfolder/page" and I'd like to have some quick links such as "go.domain.com/link-1" or "www.domain.com/go/link-1" where "link-1" would be an optional textfield property on the "page".

    I'd appreciate if someone could help me start this, or if there are different options to implement this with alternative links or a rewrite script I'd like some suggestions!

    Thank you! :-)

  • dan 29 posts 53 karma points
    Sep 18, 2012 @ 20:25
    dan
    0

    I know in the past that I've been able to use the built in URL rewrite tool that IIS provides. Not sure if this article would work. http://www.iis.net/downloads/microsoft/url-rewrite

    If link-1 is a property on the page, couldn't you use something in the code behind to display the text on the go page depending on the URL.

    if url contains link-1 then show umbraco property link-1 text.

  • Pantelis 53 posts 107 karma points
    Sep 21, 2012 @ 17:20
    Pantelis
    0

    This could work, url rewrite to pass the "link-1" property as a querystring to a "/go" page and then make a perm redirect with xslt using "link-1" param.

    Thanks for the input :-)

Please Sign in or register to post replies

Write your reply to:

Draft