News Feed

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

Mind Tree Blog:
Friendly URLs in PHP why do you care?
June 26, 2008 @ 10:26:59

This new post from the Mind Tree blog (at asks the question "why do you care about friendly URLs in PHP applications?"

Nice URLs, readable URLs, search-engine-friendly URLs. Different names same deal. [...] Turns out this isn't all that hard with PHP - in fact it can turn into something that's very useful from more than just a readability viewpoint.

He shows how to use mod_rewrite and an .htaccess file to automatically grab the request and map it to the right place. Then, the PHP script looks at the incoming data and pushes the correct page back out to the browser. He's also included some modifications to the original idea that allow for numeric grouping and named groups for rewriting content.

1 comment voice your opinion now!
friendly url modrewrite htaccess group named numeric

blog comments powered by Disqus

Similar Posts

Derick Rethans' Blog: More goodies in the eZ Components

The Blog: Process your URLs in PHP with Apache mod_rewrite and wildcard DNS

Christian Stocker\'s Blog: PHPUG Zurich Meeting tomorrow

Ben Ramsey's Blog: New Site for Atlanta PHP ZCE Study Group

Community Events

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

interview language yii2 application community introduction symfony framework php7 composer project series opinion part2 laravel api testing example list podcast

All content copyright, 2015 :: - Powered by the Solar PHP Framework