Copied to clipboard

Flag this post as spam?

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


  • sidney.andrews@vdfp 10 posts 20 karma points
    Jun 09, 2009 @ 23:53
    sidney.andrews@vdfp
    0

    Extensionless Hyperlinks from Content Picker

    This may be a super simple question but I have tried searching the forum and maybe I don't know exactly what to search for. I love Umbraco and have one last issue with it before I deploy it sitewide for my employer.

    I use extensionless URLs via IIS wildcard application mapping and have been very happy with it. I have rewrote the XSLT files for the Sitemap, Navigation and other components of the website to spit out extensionless URLs. However, when one of my test users use the "Insert Link" action in TinyMCE, they are returned a hyperlink of the format {localink:xxxx} and that is parsed into a hyperlink on the page that includes the .aspx extension in the URL. Is there any class I can override or a XSLT file I can rewrite to modify this behavior? Thank you for any help you may be able to provide.

    Again, this may be pretty obvious!

  • Medjeti 75 posts 126 karma points
    Jun 25, 2009 @ 16:21
    Medjeti
    1

    Hey Sidney,

    I'm not sure, but it sounds like you didn't configure Umbraco to use friendly urls.

    In the web.config:

    <configuration>
    <appSettings>
    <add key="umbracoUseDirectoryUrls" value="true"/>
    <appSettings>
    <configuration>

    Once this is set up (together with the IIS wildcard mapping), Umbraco will handle all the link parsing for you, including links from TinyMCE.

    Hope this answers your question...

  • Barry 99 posts 187 karma points
    Aug 13, 2009 @ 20:48
    Barry
    0

    This is excellent, extensionless urls with 1 change to my config :) - I have IIS7 hosting by the way and used the 3.5 web.config file version. Fantastic.

Please Sign in or register to post replies

Write your reply to:

Draft