<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: URL rewriting with Apache and PHP &#8211; a simple example</title>
	<atom:link href="http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/</link>
	<description>Beautiful Web Applications</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:27:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: palpal</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24244</link>
		<dc:creator>palpal</dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24244</guid>
		<description>hahahahahaha</description>
		<content:encoded><![CDATA[<p>hahahahahaha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdelmomen1985</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24230</link>
		<dc:creator>abdelmomen1985</dc:creator>
		<pubDate>Mon, 05 Oct 2009 10:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24230</guid>
		<description>thanks</description>
		<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdelmomen1985</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24229</link>
		<dc:creator>abdelmomen1985</dc:creator>
		<pubDate>Mon, 05 Oct 2009 10:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24229</guid>
		<description>its a smart way thanks&lt;br&gt;&lt;a href=&quot;http://www.10book.tk&quot; rel=&quot;nofollow&quot;&gt;http://www.10book.tk&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>its a smart way thanks<br /><a href="http://www.10book.tk" rel="nofollow">http://www.10book.tk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdelmomen1985</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24228</link>
		<dc:creator>abdelmomen1985</dc:creator>
		<pubDate>Mon, 05 Oct 2009 10:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24228</guid>
		<description>thank u it a smart way&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.10book.tk/&quot; rel=&quot;nofollow&quot;&gt;http://www.10book.tk/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>thank u it a smart way</p>
<p><a href="http://www.10book.tk/" rel="nofollow">http://www.10book.tk/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdelmomen1985</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24227</link>
		<dc:creator>abdelmomen1985</dc:creator>
		<pubDate>Mon, 05 Oct 2009 10:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24227</guid>
		<description>thank you its a smart way&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nasrweb.com&quot; rel=&quot;nofollow&quot;&gt;http://www.nasrweb.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>thank you its a smart way</p>
<p><a href="http://www.nasrweb.com" rel="nofollow">http://www.nasrweb.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Little</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-23895</link>
		<dc:creator>Michael Little</dc:creator>
		<pubDate>Wed, 22 Jul 2009 22:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-23895</guid>
		<description>Hitendra,

Most of the work required for what you want to do is going to be in PHP detecting that the username exists and displaying the right page. As I&#039;m not familiar with your site code I can&#039;t really offer you much in that regard.

One suggestion I will make though is that you use some kind of prefix to the username so you can detect it is a username in your rewrite rules. Otherwise you will end up rewriting every URL just to check if it is a username.

For example I would use something like:

http://www.mysite.com/profile/{username}

instead of:

http://www.mysite.com/{username}</description>
		<content:encoded><![CDATA[<p>Hitendra,</p>
<p>Most of the work required for what you want to do is going to be in PHP detecting that the username exists and displaying the right page. As I&#8217;m not familiar with your site code I can&#8217;t really offer you much in that regard.</p>
<p>One suggestion I will make though is that you use some kind of prefix to the username so you can detect it is a username in your rewrite rules. Otherwise you will end up rewriting every URL just to check if it is a username.</p>
<p>For example I would use something like:</p>
<p><a href="http://www.mysite.com/profile/" rel="nofollow">http://www.mysite.com/profile/</a>{username}</p>
<p>instead of:</p>
<p><a href="http://www.mysite.com/" rel="nofollow">http://www.mysite.com/</a>{username}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hitendra</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-23893</link>
		<dc:creator>Hitendra</dc:creator>
		<pubDate>Wed, 22 Jul 2009 06:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-23893</guid>
		<description>Hi Michael,
i m trying to mod rewrite  when user enter his username after my site name 
then this request rewrite on user profile page .
if u have any idea then  plz reply on my id.</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
i m trying to mod rewrite  when user enter his username after my site name<br />
then this request rewrite on user profile page .<br />
if u have any idea then  plz reply on my id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Hagberg</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-22680</link>
		<dc:creator>Marc Hagberg</dc:creator>
		<pubDate>Sat, 09 May 2009 11:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-22680</guid>
		<description>Hi Michael,

thanks. mod-rewrite has been on my list of to-do&#039;s for my home-grown CMS for a while now. most tut&#039;s i&#039;ve read complicate the issue more than need be. your&#039;s is clean and straightforward. now to automate url creation from the db when the nav data is loaded... guess what i&#039;m doing this weekend while everybody else is sleeping.</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>thanks. mod-rewrite has been on my list of to-do&#8217;s for my home-grown CMS for a while now. most tut&#8217;s i&#8217;ve read complicate the issue more than need be. your&#8217;s is clean and straightforward. now to automate url creation from the db when the nav data is loaded&#8230; guess what i&#8217;m doing this weekend while everybody else is sleeping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-8088</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Mon, 16 Feb 2009 00:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-8088</guid>
		<description>Hi Michael,

Excellent example, thanks a lot, it really helps me out!

Have a nice day!</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>Excellent example, thanks a lot, it really helps me out!</p>
<p>Have a nice day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Introduction to writing a REST server in PHP &#124; Fliquid Studios</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-680</link>
		<dc:creator>Introduction to writing a REST server in PHP &#124; Fliquid Studios</dc:creator>
		<pubDate>Wed, 14 Jan 2009 12:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-680</guid>
		<description>[...] Note: this assumes you have already configured your web server to rewrite the URL&#8217;s appropriately. For more information on this see the examples in SOAP vs. REST API Implementation and URL rewriting with Apache and PHP. [...]</description>
		<content:encoded><![CDATA[<p>[...] Note: this assumes you have already configured your web server to rewrite the URL&#8217;s appropriately. For more information on this see the examples in SOAP vs. REST API Implementation and URL rewriting with Apache and PHP. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
