News Feed
Jobs Feed
Sections




News Archive
Derick Rethans' Blog:
Short URLs
February 22, 2011 @ 09:44:13

Derick Rethans has shared a method he's created for making short, descriptive URLs with the help of his translit PHP extension that translates non-latin characters into latin ones.

The URLs for my articles are automatically generated from the title. There is a little function that uses translit's transliterate() function to ASCII-ify the titles. [...] However, [this] is hardly a short URL. What we want is something short and descriptive. First of all, I thought it would work to generate short URLs automatically.

In hindsight, though, he decided it would just be better to come up with his own short URLs but he still wanted a way to use them. Registering a short domain helped and, along with some <link> tags, made it easier for the right information to be automatically found.

0 comments voice your opinion now!
short url shortener translit tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Get to know Flex and Zend_Amf

Developer.com: Scaffolding with CakePHP - Managing Your Fantasy Football Team

Kapustabrothers.com: Indexing PDF Documents with Zend_Search_Lucene

DevShed: Drawing Basic Rectangles in PDF Documents with PHP 5

NETTUTS.com: Learning OOP in PHP ASAP!


Community Events











Don't see your event here?
Let us know!


phpunit example zendframework2 composer code introduction release language functional database development testing unittest api community podcast opinion framework interview series

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework