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.
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.
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 :)
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.
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:
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
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 :)
is working on a reply...