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,432
  • 4
  • 48
  • 58
Lasse Edsvik
  • 8,638
  • 16
  • 70
  • 107

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,171
  • 5
  • 33
  • 35
1

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

Community
  • 1
  • 1
Çağdaş Tekin
  • 16,432
  • 4
  • 48
  • 58