News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

CodeIgniter Blog: CodeIgniter Community Voice - Generating PDF files using CodeIgniter

Semaphoreapp.com: Continuous Integration & Deployment of PHP applications from GitHub to Heroku

Padraic Brady's Blog: Example Zend Framework Blog Application Tutorial: Parts 1-8 Revisited

Kevin Schroeder: (Starting) Using Dependency Injection in Magento 2

HowTo Forge: Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6


Community Events

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


introduction example xdebug voicesoftheelephpant laravel community language laravel5 install extension podcast php7 release framework opinion interview version api unittest series

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