I would like a URL pattern as such:
/posts/[postId]/[user-defined-page-title]
开发者_JAVA百科My users are Potuguese speakers, however, and the page title could have characters such as ã
, ç
, etc...
Posts are retrieved via the postId
param, so the title
param is for SEO and usability purposes.
My questions:
- Should I remove the foreign encoded characters and replace them with their nearest English equivalent?
ç
forc
andã
fora
. - Does doing so affect SEO results?
1) Yes, that would be the best way (at least nowadays -- but situation may change in few years...)
2) Hard to say for sure. In my opinion having latin characters only is better compared to have national characters as well (as they need to be encoded). At the end of the day page title and content has more weight than URL itself.
P.S. See this link as well: How SEO friendly is Unicode URL?
精彩评论