Copied to clipboard

Flag this post as spam?

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


  • Linx 98 posts 258 karma points
    Feb 24, 2023 @ 14:50
    Linx
    0

    How to format URL in RTE

    Hi all

    I have an RTE in Umbraco 8. When i highlight a word and select a page i would like to modify the URL to add some extra parameters. For example

    Original URL (after highlighting word and selecting a page in Umbraco)

    /myContent/somepage/somepageOne/SomePageTwo
    

    would now become

    /material/myContent/somepage/somepageOne/SomePageTwo?id=1
    

    How could i achieve this?

    Thank you

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Feb 24, 2023 @ 19:06
    Huw Reddick
    1

    just add it to the anchor/querystring parameter

    ww

  • Linx 98 posts 258 karma points
    Feb 24, 2023 @ 19:16
    Linx
    0

    Thanks so that resolves the end of the URL, what's about the start?

    Notice the word material at the start

  • Huw Reddick 1736 posts 6076 karma points MVP c-trib
    Feb 24, 2023 @ 19:28
    Huw Reddick
    1

    you can't add a prefix or edit the url you pick, but you could type the url manually if you can't actually pick it as a node.

    Why do you need to add this prefix?

  • Linx 98 posts 258 karma points
    Feb 24, 2023 @ 19:33
    Linx
    0

    I need to add a word before it so it goes into another system (long story)....

    Although I was thinking they could type in the URL manually the issue with this is the URLs could be pretty long.

    Is there a way to intercept that call by page, node, doc type or something similar so I can edit the URL and let it continue to the page intended?

Please Sign in or register to post replies

Write your reply to:

Draft