News Feed
Jobs Feed
Sections




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

phpRiot.com:
Creating search engine friendly URLs in PHP
January 11, 2006 @ 07:03:54

PHPRiot.com has a new tutorial today dealing with the creation of "search engine friendly" URLs for your site.

One of the major reasons for using a server-side language such as PHP is for the ability to generate dynamic content. Often this will lead to single scripts that produce their content based on the input parameters (that is, the variables in the URL).

This article covers various techniques and methods for representing these parameters in the URL in a clean and "friendly" manner, as well as then how to read the parameters.

They start off with some examples of what they look like, and move right into how to use the Apache mod_rewrite functionality to take in the URL parameters and map them back to a PHP script. They also use the ForceType keyword in Apache to get the server to parse the URL string correctly. They then wrap it all up with the creation of a custom 404 page to handle the errors that might come up, and a summary of the whole project...

3 comments voice your opinion now!
search engine friendly URL apache mod_rewrite ForceType search engine friendly URL apache mod_rewrite ForceType


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Setting up PHP & MySQL on OS X 10.6 Snow Leopard

O'Reilly Broadcast: Getting Drupal and mod_security to Play Nicely Together on Red Hat 5.x Servers

O\'Reilly: $lamp =~ /^Linux,\\s*Apache,\\s*MySQL,P(?:hp|ython|erl[56])$/

Ben Ramsey\'s Blog: Peruser MPM for Apache

Christopher Jones\' Blog: Updated Oracle PHP Installation Guides


Community Events











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


overview security podcast unittest performance component symfony2 opinion hack facebook install code composer framework language package introduction application hhvm release

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