I want to sanitize blog titles with unicode characters in url. I need to replace invalid characters and spaces with "-" for better seo rewriting like this.
http://example.com/это-моя-хорошая
Can anyone have any idea how to do it?
I want to sanitize blog titles with unicode characters in url. I need to replace invalid characters and spaces with "-" for better seo rewriting like this.
http://example.com/это-моя-хорошая
Can anyone have any idea how to do it?
You can use this algorithm for an SEO-friendly Unicode URL: