1

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

Çağdaş Tekin
  • 16,592
  • 4
  • 49
  • 58
Lasse Edsvik
  • 9,070
  • 16
  • 73
  • 109

2 Answers2

1

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...

http://www.internetofficer.com/seo/google-word-separator/

Russell Giddings
  • 8,731
  • 5
  • 34
  • 35
1

Here is how stackoverflow includes titles in the URL. It could help.

Community
  • 1
  • 1
Çağdaş Tekin
  • 16,592
  • 4
  • 49
  • 58