<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 07 Sep 2008 15:38:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Moon's Blog: ForceType for nice URLs with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8785</guid>
      <link>http://www.phpdeveloper.org/news/8785</link>
      <description><![CDATA[<p>
On <a href="http://doughboy.wordpress.com/2007/10/04/forcetype-for-nice-urls-with-php/">his blog today</a>, <i>Brian Moon</i> talks about setting up ForceType directives in Apache, specifically how to make "friendly URLs" without having to use mod_rewrite (which might not be installed on your server).
</p>
<blockquote>
This has been covered before, but I was just setting up a new force type on our servers and thought I would mention it for the fun of it. You see lots of stuff about using mod_rewrite to make friendly URLs or SEO friendly URLs. But, if you are using PHP (and I guess other Apache modules) you can do it without mod_rewrite.
</blockquote>
<p>
There's three steps to <a href="http://doughboy.wordpress.com/2007/10/04/forcetype-for-nice-urls-with-php/">the process</a> - adding the directive to your Apache config, making the script able to handle the request, avoiding duplication of content and returning a 404 error when there's no matching data.
</p>]]></description>
      <pubDate>Thu, 04 Oct 2007 09:37:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[True Hacker! Blog: Digg style clean URLs with PHP and Apache]]></title>
      <guid>http://www.phpdeveloper.org/news/6790</guid>
      <link>http://www.phpdeveloper.org/news/6790</link>
      <description><![CDATA[<p>
The 'true hacker!' blog has <a href="http://truehacker.blogspot.com/2006/11/digg-style-clean-urls-with-php-and.html">a new post</a> today that gives you a quick four step process for creating some clean, Digg-style URLs for your site with some simple Apache configuration changes (mod_rewrite).
</p>
<blockquote>
You might have noticed that Digg has a cool way of maintaining clean URLs. Digg actually uses LAMP - Linux/Apache/MySQL/PHP. But where are the .php extensions? The answer is here. 4 steps to implement your own Digg style clean URLs.
</blockquote>
<p>
<a href="http://truehacker.blogspot.com/2006/11/digg-style-clean-urls-with-php-and.html">His method</a> turns on Apache's rewrite engine (you do have mod_rewrite enabled, don't you?) and adds a rule to push all of the requests to two default PHP files. There's also a ForceType method that can be used to achieve the same effect. One .htaccess file later, you're in business and the PHP script only needs to access the $_SERVER['REQUEST_URI'] value to get the parameters.
</p>]]></description>
      <pubDate>Wed, 29 Nov 2006 09:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[phpRiot.com: Creating search engine friendly URLs in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4646</guid>
      <link>http://www.phpdeveloper.org/news/4646</link>
      <description><![CDATA[PHPRiot.com has a <a href="http://www.phpriot.com/d/articles/php/application-design/search-engine-urls/index.html">new tutorial</a> today dealing with the creation of "search engine friendly" URLs for your site.
<p>
<quote>
<i>
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).
<p>
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.
</i>
</quote>
<p>
They <a href="http://www.phpriot.com/d/articles/php/application-design/search-engine-urls/index.html">start off</a> 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...]]></description>
      <pubDate>Wed, 11 Jan 2006 07:03:54 -0600</pubDate>
    </item>
  </channel>
</rss>
