Copied to clipboard

Flag this post as spam?

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


  • MrBilde 13 posts 33 karma points
    Nov 04, 2011 @ 11:40
    MrBilde
    0

    Using locallink/relative links in richtext editor

    Hi, I would like umbraco to make relative links when I'm using the richtext editor.

    When I use it now, it generates the absolute url eg:

    http://www.subdomain.domain.com/page.aspx


    My site setup is like this:

    subdomain.domain.com
    subdomain.domain.de
    subdomain.domain.dk

    and I have enabled useDomainPrefixes:

     <useDomainPrefixes>true</useDomainPrefixes>

    Is it possible to make the richtext box generate locallinks or relative links, like so?

    /%7BlocalLink:1427%7D
    /path/page.aspx
  • MrBilde 13 posts 33 karma points
    Nov 08, 2011 @ 10:02
    MrBilde
    0

    I just realised that all links are saved by nodeid, so I guess Umbraco will take care of the links if the subdomain is changed or removed.

Please Sign in or register to post replies

Write your reply to:

Draft