View Single Post
Old 01-27-2008, 11:45 AM   #1 (permalink)
Sam Granger
The Acquainted
 
Join Date: Sep 2007
Posts: 126
Thanks: 4
Sam Granger is on a distinguished road
Default Best way to do se friendly urls?

Hey guys! I've got a little question.

I want to convert a title string into a link friendly string.

Example: Site goes live!

Needs to become: site-goes-live

I know I can do string to lowercase and ' ', '-' replace, but what else can I add for weird symbols like é etc... Whats the easiest way to go round this?

Thanks!
Sam Granger is offline  
Reply With Quote