Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It's best for SEO purposes that we use the main page keywords in our urls For example stackoverflow uses this technique too.

http://stackoverflow.com/questions/show-utf8-characters-in-console

I wonder if it's okay to use something like:

http://www.mobadele.com/categories/طلا-نفره
share|improve this question

migrated from stackoverflow.com Apr 1 '11 at 7:02

This question came from our site for professional and enthusiast programmers.

No, it is not. Officially you have to URL-encode them.

http://en.wikipedia.org/wiki/Percent-encoding

I am not sure how far the implementation of IRI http://en.wikipedia.org/wiki/Internationalized_Resource_Identifier is, It may work in reality, but I have ran into all kind of trouble with Russian characters in URL's and query strings so I got rid of them.

share|improve this answer

Short answer: not if you want to follow the rules.

RFC 1738 describes the required encoding and the rationale in section 2.2:

Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL.

share|improve this answer
3  
The current specification is RFC 3986. – Gumbo Apr 1 '11 at 7:01
    
Expect this to change, though; ICANN's working hard on Internationalized Domain Names, which by their nature would require an update to the rules for URIs. – T.J. Crowder Apr 1 '11 at 7:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.