Can't link to page with a single quote(') in the page name

You can't link to Pages with Quotes in Page Names.

Umbraco strips out certain characters from page names when you create a page, but if you include an single quote in the page name Umbraco does not strip it out, but when you try and create a link using the editor within Umbraco nothing will happen.

To solve this you need to strip ou the single quote in the page name, publish the page, then go back and link to it.

A better solution is to update the config file to have Umbraco strip out the quote when the page is first created.

You do this by adding this line to the urlReplacing section of the umbracoSettings.config file in the config directory

<char org="'"></char>

Posted by Tom at 00:00

Post a comment

Authors