<?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>Thu, 23 May 2013 12:10:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Asvin Balloo's Blog: SEO friendly URL in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10675</guid>
      <link>http://www.phpdeveloper.org/news/10675</link>
      <description><![CDATA[<p>
<i>Asvin Balloo</i> has <a href="http://htmlblog.net/seo-friendly-url-in-php/">posted a quick look</a> at making the URLs of your website a bit more "pretty" and SEO-friendly.
</p>
<blockquote>
When I started implementing <a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html">mod_rewrite</a> in websites I had a problem in PHP as how to make a SEO friendly URL. All tutorials were geared towards how to implement mod_rewrite, about modifying .htaccess files, but none treated how to make the urls friendly with dynamic content.
</blockquote>
<p>
He shares a function that he found that helped him a great deal - a method called friendlyURL. It changes a bit of text into a more friendly version of itself ("this is a test" becomes "this-is-a-test") that can be used in anything you'd want. An example could be in automatically generating links to other pages on your site that search engines can easily follow.
</p>]]></description>
      <pubDate>Thu, 24 Jul 2008 11:14:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mind Tree Blog: Friendly URLs in PHP: why do you care?]]></title>
      <guid>http://www.phpdeveloper.org/news/10492</guid>
      <link>http://www.phpdeveloper.org/news/10492</link>
      <description><![CDATA[<p>
<a href="http://www.hurricanesoftwares.com/2008/06/24/friendly-urls-in-php-why-do-you-care/">This new post</a> from the Mind Tree blog (at hurricanesoftware.com) asks the question "why do you care about friendly URLs in PHP applications?"
</p>
<blockquote>
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.
</blockquote>
<p>
He shows how to <a href="http://www.hurricanesoftwares.com/2008/06/24/friendly-urls-in-php-why-do-you-care/">use mod_rewrite</a> 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.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 10:26:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tim Bromhead's Blog: Super friendly URLs - handling spaces with URL Rewrites and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7315</guid>
      <link>http://www.phpdeveloper.org/news/7315</link>
      <description><![CDATA[<p>
In <a href="http://bla.st/site/blog/64/">a new entry</a> today, <i>Tim Bromhead</i> shares his method for creating "super friendly urls" for a site's users using mod_rewrite:
</p>
<blockquote>
Today we are going to show how to make the URLs with spaces super easy to type for users. bla.st uses dashes in the URLs to represent spaces eg. http//bla.st/web-design/. We chose dashes over underscores because underscores can get lost with underlined links, and we think they look nicer.
</blockquote>
<p>
He <a href="http://bla.st/site/blog/64/">includes the Apache config</a> information for working with the VirtualHost entry and the simple PHP script to handle the requests. It looks in the SERVER superglobal, at the QUERY_STRING to see what the user is requesting and does an append and redirect accordingly. This example is made to take any form of a space in the URL (including underscores and %20), parse it out, and pass the user along correctly to the page they want.
</p>]]></description>
      <pubDate>Tue, 20 Feb 2007 13:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Search Engine Friendly Websites with the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/6498</guid>
      <link>http://www.phpdeveloper.org/news/6498</link>
      <description><![CDATA[<p>
The Zend Developer Zone brings the community yet another great tutorial on using the Zend Framework to accomplish a popularly requested feature - making <a href="http://devzone.zend.com/node/view/id/949">search engine friendly sites</a>.
</p>
<blockquote>
The Zend Framework allows for websites that are search engine friendly, although some thought needs to be taken when building your application. Believe it or not, building a site that is search engine friendly can also yield usability benefits.
</blockquote>
<p>
The author (<i>robbolton</i>) jumps right in to things, assuming you know the framework any your way around. He starts with the creation of a table for the articles to give the system a little background info to work with and a corresponding class to work with it. Next up is the controllers for the templating, complete with an indexAction, noRouteAction, and a __call method to handle the 404s. 
</p>
<p>
Then comes <a href="http://devzone.zend.com/node/view/id/949">the fun part</a> - creating the viewAction to handle the incoming request and round the search engine firnedly request to the correct article information. He even throws in an addAction for the Articles class to help you input the information.
</p>
]]></description>
      <pubDate>Fri, 13 Oct 2006 12:18:00 -0500</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>
