开发者

Replace chars in routeurl's?

开发者 https://www.devze.com 2022-12-21 02:53 出处:网络
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?

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 l开发者_JAVA技巧etters, not icelandic ones though :)

/M


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


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消