News Feed
Jobs Feed
Sections




News Archive
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 hurricanesoftware.com) 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

Ligaya Turmelle's Blog: PHPWomen.org Latest

Ben Ramsey's Blog: New Site for Atlanta PHP

Padraic Brady's Blog: Zend Framework App Tutorial - Part 9: Zend_Vew and Displaying Blog Entries

PEAR Blog: The elections are still going!

David Müller: Why URL validation with filter_var might not be a good idea


Community Events









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


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

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