Forum Moderators: open

Message Too Old, No Replies

Apostrophe in the URI

         

tonynoriega

6:32 pm on Jan 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



good or bad?

valid or not?

i cant find a definite answer...

i.e.

http://www.example.com/da'city.html

Marcia

7:12 pm on Jan 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Couple of good sources on character encoding for special characters:

Uniform Resource Locators (URL) [rfc-editor.org]

Uniform Resource Identifiers (URI): Generic Syntax [rfc-editor.org]

And from Microsoft (MSDN) [msdn.microsoft.com]

I believe the apostrophe would be replaced by encoding symbols in the URL the same way spaces are. Maybe there's a workaround using mod_rewrite, but Google didn't show any apostrophes in a inurl search when I looked.

phranque

2:52 am on Jan 14, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i would limit any "special characters" in your urls to "dots and dashes".
this thread has a lot of good information to ponder:
How do you choose your URL file names? [webmasterworld.com]