add condition for non-Latin post slug.