Replace chars in routeurl's?
-
21-09-2019 - |
Question
I'm trying to add a "fullname" in the route in my url, and I wonder which chars I should replace? Should I use _ instead of space? and what other chars might "need" replacing?
Mostly gonna use swedish names, but some might have some strange letters, not icelandic ones though :)
/M
Solution
Here is how stackoverflow includes titles in the URL. It could help.
OTHER TIPS
For SEO purposes...
Google has confirmed that the point (.), the comma (,) and the hyphen (-) are valid word separators in URL’s.
You're also better off removing any special characters from the names completely. For a complete description see this article...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow