<?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: Clean URLs Are All the Rage</title>
	<atom:link href="http://hellyeahbitch.com/2005/07/08/517/feed/" rel="self" type="application/rss+xml" />
	<link>http://hellyeahbitch.com/2005/07/08/517/</link>
	<description>Blog Boosh!</description>
	<lastBuildDate>Fri, 05 Feb 2010 01:19:48 +0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike</title>
		<link>http://hellyeahbitch.com/2005/07/08/517/comment-page-1/#comment-419</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 10 Jul 2005 20:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://testing.hellyeahbitch.com/?p=517#comment-419</guid>
		<description>Ok, its done.  No more extensions.  I used this apache rule:

RedirectMatch permanent /archives/(.*).html$ &lt;a href=&quot;http://hellyeahbitch.com/archives/$1&quot; rel=&quot;nofollow&quot;&gt;&lt;a href=&quot;http://hellyeahbitch.com/archives/$1&quot; rel=&quot;nofollow&quot;&gt;http://hellyeahbitch.com/archives/$1&lt;/a&gt;&lt;/a&gt;

...and rebuilt every thing.  Now if you go to a page with .php, you are redirected to the one with no extension.  No linking problems!

[ Moving on]
I made a few sites that are basically databases with one php file on the end, but for this site, I like having MT generate the static pages instead of doing everything dynamically.  That is actually the main reason that I haven&#039;t moved to wordpress or something like that.
</description>
		<content:encoded><![CDATA[<p>Ok, its done.  No more extensions.  I used this apache rule:</p>
<p>RedirectMatch permanent /archives/(.*).html$ <a href="http://hellyeahbitch.com/archives/$1" rel="nofollow"></a><a href="http://hellyeahbitch.com/archives/$1" rel="nofollow">http://hellyeahbitch.com/archives/$1</a></p>
<p>&#8230;and rebuilt every thing.  Now if you go to a page with .php, you are redirected to the one with no extension.  No linking problems!</p>
<p>[ Moving on]<br />
I made a few sites that are basically databases with one php file on the end, but for this site, I like having MT generate the static pages instead of doing everything dynamically.  That is actually the main reason that I haven&#8217;t moved to wordpress or something like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danielcole</title>
		<link>http://hellyeahbitch.com/2005/07/08/517/comment-page-1/#comment-418</link>
		<dc:creator>danielcole</dc:creator>
		<pubDate>Sat, 09 Jul 2005 03:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://testing.hellyeahbitch.com/?p=517#comment-418</guid>
		<description>I switched mt.net over to clean urls a few months ago (away from .php&#039;s).  I was having trouble getting my reg. expression correct in the .htaccess until I realized that it&#039;s easier to just pass the entire url argument string to index.php and parse it there.

Now the whole site is database driven and adding a new &#039;page&#039; is just adding a new entry into a mysql table.  I can specify page title, icon, and if it&#039;s a public or password-protected page.

There was a problem with having the .htaccess in the root folder and bleeding into other areas of the webserver (test sites, internal stuff, etc).  Putting a one-line .htaccess with &#039;RewriteEngine off&#039; turns it off for all url requests for that subfolder and below.

Also realize that a lot of places link to specific pages on your site (random blogs, Google).  If you drop the .php extension entirely your 404 Error page will explode.  For a while you have to make sure to write your redirect expressions to account for both types of requests.  I don&#039;t know how MT organizes files at all, so this may or may not be a problem.  On my homegrown site it was a biggie.
</description>
		<content:encoded><![CDATA[<p>I switched mt.net over to clean urls a few months ago (away from .php&#8217;s).  I was having trouble getting my reg. expression correct in the .htaccess until I realized that it&#8217;s easier to just pass the entire url argument string to index.php and parse it there.</p>
<p>Now the whole site is database driven and adding a new &#8216;page&#8217; is just adding a new entry into a mysql table.  I can specify page title, icon, and if it&#8217;s a public or password-protected page.</p>
<p>There was a problem with having the .htaccess in the root folder and bleeding into other areas of the webserver (test sites, internal stuff, etc).  Putting a one-line .htaccess with &#8216;RewriteEngine off&#8217; turns it off for all url requests for that subfolder and below.</p>
<p>Also realize that a lot of places link to specific pages on your site (random blogs, Google).  If you drop the .php extension entirely your 404 Error page will explode.  For a while you have to make sure to write your redirect expressions to account for both types of requests.  I don&#8217;t know how MT organizes files at all, so this may or may not be a problem.  On my homegrown site it was a biggie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danielcole</title>
		<link>http://hellyeahbitch.com/2005/07/08/517/comment-page-1/#comment-1415</link>
		<dc:creator>danielcole</dc:creator>
		<pubDate>Sat, 09 Jul 2005 01:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://testing.hellyeahbitch.com/?p=517#comment-1415</guid>
		<description>I switched &lt;a href=&quot;http://mt.net&quot;&gt;mt.net&lt;/a&gt; over to clean urls a few months ago (away from .php&#039;s).  I was having trouble getting my reg. expression correct in the .htaccess until I realized that it&#039;s easier to just pass the entire url argument string to index.php and parse it there.&lt;br&gt;&lt;br&gt;Now the whole site is database driven and adding a new &#039;page&#039; is just adding a new entry into a mysql table.  I can specify page title, icon, and if it&#039;s a public or password-protected page.&lt;br&gt;&lt;br&gt;There was a problem with having the .htaccess in the root folder and bleeding into other areas of the webserver (test sites, internal stuff, etc).  Putting a one-line .htaccess with &#039;RewriteEngine off&#039; turns it off for all url requests for that subfolder and below.&lt;br&gt;&lt;br&gt;Also realize that a lot of places link to specific pages on your site (random blogs, Google).  If you drop the .php extension entirely your 404 Error page will explode.  For a while you have to make sure to write your redirect expressions to account for both types of requests.  I don&#039;t know how MT organizes files at all, so this may or may not be a problem.  On my homegrown site it was a biggie.</description>
		<content:encoded><![CDATA[<p>I switched <a href="http://mt.net">mt.net</a> over to clean urls a few months ago (away from .php&#8217;s).  I was having trouble getting my reg. expression correct in the .htaccess until I realized that it&#8217;s easier to just pass the entire url argument string to index.php and parse it there.</p>
<p>Now the whole site is database driven and adding a new &#8216;page&#8217; is just adding a new entry into a mysql table.  I can specify page title, icon, and if it&#8217;s a public or password-protected page.</p>
<p>There was a problem with having the .htaccess in the root folder and bleeding into other areas of the webserver (test sites, internal stuff, etc).  Putting a one-line .htaccess with &#8216;RewriteEngine off&#8217; turns it off for all url requests for that subfolder and below.</p>
<p>Also realize that a lot of places link to specific pages on your site (random blogs, Google).  If you drop the .php extension entirely your 404 Error page will explode.  For a while you have to make sure to write your redirect expressions to account for both types of requests.  I don&#8217;t know how MT organizes files at all, so this may or may not be a problem.  On my homegrown site it was a biggie.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- Lamont -->
