Enabling Special Characters in Sitefinity Page Titles

By in
No comments

By default, Sitefinity disallows special characters in the SEO title for a page. This video demonstrates how to override this setting, allowing you to specify different restrictions (or remove them entirely).

http://blip.tv/play/AYL0%2BDUC.html?p=1

Regular Expressions

You may have noticed that for the first regex property, I replaced it with [^\S\s]. The reason for this is that the MirrorTextField requires the RegularExpression property. Leaving it blank will prevent the control from functioning properly, and will not copy the Name text you enter.

Using the expression [^\S\s] will not match any characters (since a character cannot simultaneously be and not be a blank space), and effectively disable the rule while still allowing the Name text to be duplicated into the Title.

The following two tabs change content below.

selaromdotnet

Senior Developer at iD Tech
Josh loves all things Microsoft and Windows, and develops solutions for Web, Desktop and Mobile using the .NET Framework, Azure, UWP and everything else in the Microsoft Stack. His other passion is music, and in his spare time Josh spins and produces electronic music under the name DJ SelArom. His other passion is music, and in his spare time Josh spins and produces electronic music under the name DJ SelArom.