Copied to clipboard

Flag this post as spam?

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


  • julius 107 posts 289 karma points
    Oct 27, 2011 @ 18:05
    julius
    0

    Is it possible to create a URL with a dot in it?

    Hi,

    I am moving my old PHP site to Umbraco 4.7. A lot of URLs of my old site are like

    www.example.com/articles/cars/supercar-article.html    OR
    www.example.com/articles/cars/supercar_article.html

    I can recreate the hyphens and underscores in the URLs by putting those in the node name. This doens't work for the . however. Umbraco removes dots from the URL.

    I would really like to be able to include dots in the nodename and seeing them reflected in the URL. Is this possible? If not, I will probably have to create some rewrite solution that is more difficult.

    Cheers, Julius.

     

     

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 27, 2011 @ 18:12
    Fuji Kusaka
    0

    Julius,

    You can specify this in your config file "umbracoSettings.config" under

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

     

     

     

  • julius 107 posts 289 karma points
    Oct 27, 2011 @ 19:53
    julius
    0

    great, thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies