Title Tag Bug - Can't add symbols to title anymore

Posted by Community Admin on 04-Aug-2018 19:48

Title Tag Bug - Can't add symbols to title anymore

All Replies

Posted by Community Admin on 06-Nov-2012 00:00

Ever since the latest 5.1 version, we cannot save title tags in the backend for pages that contain symbols anymore.
When we try to save Title & Properties, the following message appears: "The 'Title for search engines' contains invalid symbols."

Why is that and can you please fix it?
Thanks

Posted by Community Admin on 09-Nov-2012 00:00

Hello,

There were some changes in the validation of the SEO title made is Sitefinity 5.1. There are certain regular expressions that verify the entered title for the front-end pages. They need to be modified to allow the special characters you are trying to add.

Each Front-end page has several Views - FrontendPagesCreate, FrontendPagesEdit and FrontendPagesList. Each of the FrontendPagesCreate and FrontendPagesEdit views will have its own definitions for the HtmlTitle field.

In order to allow any special character you need to do two things:
 1. Configure the mirror field RegularExpression, so the special characters do not get replaced by the "-"
 2. Go to the field validation settings and modify the RegularExpression there as well, so the field value passes validation. To allow all special characters, you need to add the unicode range for them. For example: \u0E00-\u0E7F.

When you do this for both views you should have no problems adding the desired symbols in the HtmlTitle field. For your convenience I've recorded a short video demonstrating how you can do that.

The video shows how to do it for the FrontendPagesEdit view. The FrontendPagesCreate view will be the same. I have also showed how to change the URL name mirroring and validation as well in case you want that to allow for example Thai characters.

Kind regards,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 13-Nov-2012 00:00

Stefani,
Thanks for your detailed answer. We followed your video instructions but the result is still the same: we are unable to add symbols to the title for search engines.
Why did you add this filter by default to the new version of sitefinity? We understand SEO and don't spam in our titles with exclamation marks and as such we would like to regain full control.

Thanks

Posted by Community Admin on 16-Nov-2012 00:00

Hi,

If you want to have the ability to add different symbols you need to remove all the Regular Expression Filters and Regular expressions. Please review the video I have recorded. In the video I am demonstrating how you can remove Regular Expression Filter and Regular expression for SEO title and UrnName field for FrontendPagesEdit view. If you want to add symbols to new pages you need to remove Regular Expression Filters and Regular expressions for FrontendPagesCreate view. Furthermore if you do not want special symbols in your URL, there is no need to remove the expression filters.

Regards,
Stefani Tacheva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed