Copied to clipboard

Flag this post as spam?

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


  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Sep 06, 2011 @ 18:00
    Marc Love (uSkinned.net)
    0

    Page URL has a space instead of a dash between words

    I am currently building a new website and the URLs are getting rewritten with a space instead of a dash. Very strange as I have never seen this before with previous builds and I am not sure why this is happening on this occasion. For example, see below:

    I am getting the following:

    /about us/

    When I should be getting:

    /about-us/

    I am using v 4.7.0 and have not had this issue with other builds in this version.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 06, 2011 @ 18:08
    Tom Fulton
    0

    Hmm, that's very strange indeed.

    One thing to check is your /config/umbracoSettings.config - look for settings/content/requestHandler/urlReplacing and check for this entry:

                <char org=" ">-</char>

    This is where you control what characters umbraco replaces in the URLs and with what replacement character.  Maybe this entry is missing from your config for some reason?

    If it's missing, add it in there and save.  You'll need to restart the app pool (touch the web.config) to make it take effect, and possibly republish the effected pages.

    -Tom

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Sep 06, 2011 @ 18:28
    Marc Love (uSkinned.net)
    0

    Thanks Tom, Yes that line was missing, very strange as I havent touched the settings file and this was an install from Windows Platform Installer last week. At least thats it fixed :)

Please Sign in or register to post replies

Write your reply to:

Draft