<?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>Fri, 03 Feb 2012 17:24:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Buy Domain Names</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24882</link>
		<dc:creator>Buy Domain Names</dc:creator>
		<pubDate>Mon, 30 Jan 2012 15:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24882</guid>
		<description>The example you had given was very simple and understandable..</description>
		<content:encoded><![CDATA[<p>The example you had given was very simple and understandable..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cell phone repair mississauga</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24881</link>
		<dc:creator>Cell phone repair mississauga</dc:creator>
		<pubDate>Wed, 18 Jan 2012 01:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24881</guid>
		<description>I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.</description>
		<content:encoded><![CDATA[<p>I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sai</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24685</link>
		<dc:creator>sai</dc:creator>
		<pubDate>Wed, 10 Nov 2010 12:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24685</guid>
		<description>actually i was typing http://localhost/test.html&lt;br&gt;it has to redirect to http://localhost/index.php</description>
		<content:encoded><![CDATA[<p>actually i was typing <a href="http://localhost/test.html" rel="nofollow">http://localhost/test.html</a><br />it has to redirect to <a href="http://localhost/index.php" rel="nofollow">http://localhost/index.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sai_00_11</title>
		<link>http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/comment-page-1/#comment-24686</link>
		<dc:creator>Sai_00_11</dc:creator>
		<pubDate>Wed, 10 Nov 2010 12:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fliquidstudios.com/?p=116#comment-24686</guid>
		<description>i waxs trying to rewrite the url but its showing 404 error  can you help me</description>
		<content:encoded><![CDATA[<p>i waxs trying to rewrite the url but its showing 404 error  can you help me</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

