<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Nice URLS PHP .htaccess'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 13:21:39 GMT</pubDate>
<item>
<title>hippomegas said on 3/14/11</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ bit nicer thanks ]]></description>
<pubDate>Mon, 14 Mar 2011 21:17:56 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>DanZam said on 11/20/10</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ How ]]></description>
<pubDate>Sat, 20 Nov 2010 11:01:23 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>AskoJr said on 10/6/10</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ Thanks mate. I use this on my project and it works perfectly, variables like http://site.com/page?send=this works too. ]]></description>
<pubDate>Wed, 06 Oct 2010 20:00:26 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>buzzknow said on 9/17/10</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ u need to get segment function to catch any request in URL :) ]]></description>
<pubDate>Fri, 17 Sep 2010 01:22:20 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>tfotherby said on 1/7/10</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ Regarding the first rewrite rule: There is a alternative option:
If you allow "Options MultiViews" in your Apache Virtual host configuration, Apache does an implicit filename pattern match and chooses from amongst the results - meaning URLs don't need to end in .php. ]]></description>
<pubDate>Thu, 07 Jan 2010 04:36:25 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>Unreal said on 2/28/09</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ I think this is a bit nicer

www.example.com.search.php?q=test to www.example.com.search?q=test

It works with any page too... so index.php, search.php whatever...

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php?q=$1 [L,QSA] ]]></description>
<pubDate>Sat, 28 Feb 2009 19:20:15 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
<item>
<title>jstnjns said on 2/19/09</title>
<link>http://snipplr.com/view/4562/nice-urls-php-htaccess/</link>
<description><![CDATA[ For the first example, how would this work for sending variables?  Like:

http://domain/about?var=something

Thanks! ]]></description>
<pubDate>Thu, 19 Feb 2009 16:44:23 GMT</pubDate>
<guid>http://snipplr.com/view/4562/nice-urls-php-htaccess/</guid>
</item>
</channel>
</rss>