Forum Moderators: open
You know about the problems with spiders and dynamic url:s, of course?
Both Perl and PHP have modules / functions to do this, if they're the language you're using to retrieve the records.
Perl:
use URI::Escape;
$newstring=uri_escape("foobär");
PHP:
$newstring=urlencode("foobär");
In both cases, $newstring would be set to foob%E4r
The commands to reverse this are uri_unescape() and urldecode() respectively.
Bolotomus, keywords in url help in most of the search engines. Also, it makes the urls more intuitive for the users. What do you prefer more, a url time.com/12,252,14 type or cnn.com/scandals/clinton_levinsky.htm type? :)
Rencke, I have dynamic urls of /category_id/widget_id.htm so the there is no problem with spidering. The new ones will be /category_name/widget_name.htm. Thanks!
Sugarkane is moderating the Server sided scripting forum [webmasterworld.com] here at WebmasterWorld. If you have a particularly baffling problem, he is your man.