News Feed
Sections




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

NETTUTS.com:
Using htaccess Files for Pretty URLS
July 31, 2009 @ 13:06:08

NETTTUS.com has a new tutorial that talks about "pretty URLs" and how you can make them happen on your site by combining a bit of htaccess/mod_rewrite magic with PHP.

While some claim pretty URLs help in search engine rankings, the debate here is fierce, we can all agree that pretty URLs make things easier for our users and adds a level of professionalism and polish to any web application.

To illustrate how it works, they create a simple URL shortening site, showing the difference between the two different methods (htaccess in Apache and PHP's URL handling) along the way. The application's pretty simple - store a URL in a MySQL database to be accessed via a special hash coming from the URL.

0 comments voice your opinion now!
htaccess pretty url tutorial apache


blog comments powered by Disqus

Similar Posts

Alvaro Videla's Blog: Erlang as Session Storage for PHP

PHPBuilder.com: Customize Your WordPress Blog with PHP Plugins and Widgets

SitePoint PHP Blog: How to Use PHP Namespaces (Parts 2 &3)

Tomas Petricek's Blog: Writing Silverlight applications in PHP

PHP-Tools Blog: Der Zauberlehrling - Sorcerer's Apprentice


Community Events





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


introduction wordpress application library release install symfony podcast series language api developer community interview configure threedevsandamaybe list code unittest laravel

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