Copied to clipboard

Flag this post as spam?

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


  • Tarunjit 103 posts 146 karma points
    May 21, 2020 @ 09:14
    Tarunjit
    0

    Allow Dot In Url

    Hi All,

    As per requirement in our project we need urls which allow Dot in url, e.g. http://www.xyz.com/agent/tarun.chhatwal

    How ever umbraco is simply replacing "." symbol as mention ed in url with blank. the url is generated as http://www.xyz.com/agent/tarunchhatwal

    I have done changed in UmbracoSettings.config file by adding section as given below so as to add "." in url. How ever now "." symbol is getting converted to "-" symbol http://www.xyz.com/agent/tarun-chhatwal.

    Here are the settings we have added in UmbracoSettings.config file :

      <char org=".">.</char>
    
    </urlReplacing>
    

    Any help on this help will be highly appreciated.

    Thanks

    Tarunjit Singh

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    May 21, 2020 @ 09:38
    Nik
    1

    Hi Tarunjit,

    I have a feeling you might struggle with this to be honest as a . normally indicates a file. IIRC it will trigger a different HTTP handler in IIS and to prevent that Umbraco removes the .

    I could be wrong though.

    Nik

Please Sign in or register to post replies

Write your reply to:

Draft