<?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: Disabling WordPress 404 handling using .htaccess</title>
	<atom:link href="http://thefire.us/archives/212/feed" rel="self" type="application/rss+xml" />
	<link>http://thefire.us/archives/212</link>
	<description>Projecting Opacity</description>
	<lastBuildDate>Thu, 17 May 2012 22:04:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: David</title>
		<link>http://thefire.us/archives/212#comment-474</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 11 Mar 2011 12:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-474</guid>
		<description>Hi,

This code solved the WP 404 hijacking of my site, but permalinks now seem to be broken (404&#039;d ironically!). 

I use the &#039;www.site.com/myblog/archives/year/month/date/post-title/&#039; format. And edited your code to suit:


RewriteEngine On
RewriteBase /
RewriteRule ^archives/.*$ /index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^myblog/.*$ /index.php [L]


Any help would be appreciated, thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This code solved the WP 404 hijacking of my site, but permalinks now seem to be broken (404&#8242;d ironically!). </p>
<p>I use the &#8216;www.site.com/myblog/archives/year/month/date/post-title/&#8217; format. And edited your code to suit:</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^archives/.*$ /index.php [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^myblog/.*$ /index.php [L]</p>
<p>Any help would be appreciated, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://thefire.us/archives/212#comment-263</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 24 Aug 2010 04:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-263</guid>
		<description>I wrote this code specifically because WP&#039;s 404 was stomping all over other projects which provided their own 404 mechanism. But I suppose that some might prefer to only show a normal 404 for media like you specified. It wasn&#039;t what I was going for.</description>
		<content:encoded><![CDATA[<p>I wrote this code specifically because WP&#8217;s 404 was stomping all over other projects which provided their own 404 mechanism. But I suppose that some might prefer to only show a normal 404 for media like you specified. It wasn&#8217;t what I was going for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrclay</title>
		<link>http://thefire.us/archives/212#comment-262</link>
		<dc:creator>mrclay</dc:creator>
		<pubDate>Mon, 23 Aug 2010 16:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-262</guid>
		<description>Another option, place this in the RewriteConds:
RewriteCond %{REQUEST_URI} !\.(gif&#124;png&#124;jpg&#124;js&#124;css)$

It doesn&#039;t catch as much, but for most HTML requests I&#039;d think you&#039;d *want* WP&#039;s nicer 404 page.</description>
		<content:encoded><![CDATA[<p>Another option, place this in the RewriteConds:<br />
RewriteCond %{REQUEST_URI} !\.(gif|png|jpg|js|css)$</p>
<p>It doesn&#8217;t catch as much, but for most HTML requests I&#8217;d think you&#8217;d *want* WP&#8217;s nicer 404 page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://thefire.us/archives/212#comment-189</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 18 Feb 2010 11:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-189</guid>
		<description>Ah, thanks for this hint.</description>
		<content:encoded><![CDATA[<p>Ah, thanks for this hint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom moody</title>
		<link>http://thefire.us/archives/212#comment-183</link>
		<dc:creator>tom moody</dc:creator>
		<pubDate>Thu, 10 Dec 2009 16:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-183</guid>
		<description>Whoops, I had to change it back.
It broke the ability to page back on search results pages.
Any ideas?</description>
		<content:encoded><![CDATA[<p>Whoops, I had to change it back.<br />
It broke the ability to page back on search results pages.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom moody</title>
		<link>http://thefire.us/archives/212#comment-182</link>
		<dc:creator>tom moody</dc:creator>
		<pubDate>Thu, 10 Dec 2009 16:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://thefire.us/?p=212#comment-182</guid>
		<description>Thanks, this was very helpful.</description>
		<content:encoded><![CDATA[<p>Thanks, this was very helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

