Skip to main content

Canonical URL Not Generated for Non English Sites

Symptoms

Canonical URLs are not generated when adding a field that is not in English. 

Cause

If the Canonical URL rule uses any text that contains non-Latin characters the URL will not generate. Draft API's slugify library will exclude any character that is not Latin-based. 

Solution

You can use other fields such as ID to create the Canonical URL. 

More Information