Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-19 01:33:08

fdsafdsa
Member
From: cn
Registered: 2007-04-19
Posts: 47
Website

how to change URL to friendly(non english)

hi,i’m using txp 4.0.4.
my site is in chinese http://iblog.org.ru
the url of every topic of my article is not showing nicely.

my url should be http://iblog.org.ru/告假去上网 but it’s http://iblog.org.ru/%E5%91%8A%E5%81%87%E5%8E%BB%E4%B8%8A%E7%BD%91
in original code of the page it’s [quote] <a rel=“bookmark” href=“http://iblog.org.ru/%E5%91%8A%E5%81%87%E5%8E%BB%E4%B8%8A%E7%BD%91” title=“本文的永久链接”>告假去上网</a>[/quote]
but i need that been this
[quote]rel=“bookmark” href=“http://iblog.org.ru/告假去上网” title=“本文的永久链接”>告假去上网</a> [/quote]
any one gave me some advice,i know wikyblog is that right way.

Last edited by fdsafdsa (2007-04-19 01:34:05)

Offline

#2 2007-04-19 02:16:35

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: how to change URL to friendly(non english)

URL are ASCII only.

Offline

#3 2007-04-19 22:30:00

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: how to change URL to friendly(non english)

That’s a restriction placed by the specs for URLs, not by Textpattern. http://iblog.org.ru/告假去上网 is not a valid URL, http://iblog.org.ru/%E5%91%8A%E5%81%87%E5%8E%BB%E4%B8%8A%E7%BD%91 is the correct way to represent it. A modern browser should display the link as http://iblog.org.ru/告假去上网 in its URL bar, status bar and so on (Opera does, at any rate).

Last edited by zem (2007-04-19 22:30:36)


Alex

Offline

#4 2007-04-19 23:19:05

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: how to change URL to friendly(non english)

For example, that’s also the way Wikipedia handle things.

Offline

Board footer

Powered by FluxBB