<?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: WordPress&#8217; .htaccess File Is&#160;Genius</title> <atom:link href="http://davidwalsh.name/wordpress-htaccess-file-is-genius/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius</link> <description>PHP, CSS, MooTools, jQuery, and Everything Else</description> <lastBuildDate>Fri, 19 Mar 2010 18:35:42 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: nirok</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-16087</link> <dc:creator>nirok</dc:creator> <pubDate>Fri, 12 Feb 2010 20:32:57 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-16087</guid> <description>I&#039;ve been trying to find an answer everywhere for this but how do you get the reply box on the comments like you have here?</description> <content:encoded><![CDATA[<p>I&#8217;ve been trying to find an answer everywhere for this but how do you get the reply box on the comments like you have here?</p> ]]></content:encoded> </item> <item><title>By: Fixing mod_rewrite and .htaccess on GoDaddy&#160;Hosting &#124; Programming Blog</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-13308</link> <dc:creator>Fixing mod_rewrite and .htaccess on GoDaddy&#160;Hosting &#124; Programming Blog</dc:creator> <pubDate>Thu, 05 Nov 2009 16:27:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-13308</guid> <description>[...] WordPress&#8217; .htaccess File Is&#160;Genius [...]</description> <content:encoded><![CDATA[<p>[...] WordPress&#8217; .htaccess File Is&nbsp;Genius [...]</p> ]]></content:encoded> </item> <item><title>By: ghprod</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-12894</link> <dc:creator>ghprod</dc:creator> <pubDate>Sat, 24 Oct 2009 16:44:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-12894</guid> <description>yes, no doubtful...mens behind WP are genius!!!anyway, any tutorial how to proccesing request url in wordpress, i mean in index.php?regards</description> <content:encoded><![CDATA[<p>yes, no doubtful&#8230;mens behind WP are genius!!!</p><p>anyway, any tutorial how to proccesing request url in wordpress, i mean in index.php?</p><p>regards</p> ]]></content:encoded> </item> <item><title>By: Ramon Fincken</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-12185</link> <dc:creator>Ramon Fincken</dc:creator> <pubDate>Sat, 26 Sep 2009 10:08:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-12185</guid> <description>@Brandon Hansen:  take a look at $_SERVER[&#039;REQUEST_URI&#039;] and the query.php file near all is_home etc...</description> <content:encoded><![CDATA[<p>@Brandon Hansen:  take a look at $_SERVER['REQUEST_URI'] and the query.php file near all is_home etc&#8230;</p> ]]></content:encoded> </item> <item><title>By: Brandon Hansen</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-7849</link> <dc:creator>Brandon Hansen</dc:creator> <pubDate>Wed, 18 Feb 2009 23:35:34 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-7849</guid> <description>Do you know what it passes back to the server?</description> <content:encoded><![CDATA[<p>Do you know what it passes back to the server?</p> ]]></content:encoded> </item> <item><title>By: AntonioCS</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-3804</link> <dc:creator>AntonioCS</dc:creator> <pubDate>Sat, 15 Nov 2008 21:41:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-3804</guid> <description>chirag: If you have  AllowOverride All in you httpd.conf file then you can place the .htaccess file in the same folder you have your index.php.
If not you either set the AllowOverride to All (Note: There might be another option to just allow the .htaccess file to work but I normally have it set to All) or add the changes in the httpd.confNice article david. I too use those lines to redirect everything to index.php in my php mvc framework :)
Never really knew exactly what &quot;RewriteCond %{REQUEST&#95;FILENAME} !-f&quot;  and
&quot;RewriteCond %{REQUEST&#95;FILENAME} !-d&quot;  really meant.
Thanks for clearing that up!</description> <content:encoded><![CDATA[<p>chirag: If you have  AllowOverride All in you httpd.conf file then you can place the .htaccess file in the same folder you have your index.php.<br
/> If not you either set the AllowOverride to All (Note: There might be another option to just allow the .htaccess file to work but I normally have it set to All) or add the changes in the httpd.conf</p><p>Nice article david. I too use those lines to redirect everything to index.php in my php mvc framework :)<br
/> Never really knew exactly what &#8220;RewriteCond %{REQUEST&#95;FILENAME} !-f&#8221;  and<br
/> &#8220;RewriteCond %{REQUEST&#95;FILENAME} !-d&#8221;  really meant.<br
/> Thanks for clearing that up!</p> ]]></content:encoded> </item> <item><title>By: Josh</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-3803</link> <dc:creator>Josh</dc:creator> <pubDate>Sat, 15 Nov 2008 11:36:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-3803</guid> <description>As Brad said, this is a pretty stock-standard .htaccess file. I know that CakePHP uses exactly the same (possibly minus the RewriteBase directive) and a number of other CMSs and frameworks do also. This set of rules is all most sites need to be able to support pretty URLs and a sensible code structure.So yes, WP&#039;s .htaccess is elegant in its simplicity, but it&#039;s hardly alone!</description> <content:encoded><![CDATA[<p>As Brad said, this is a pretty stock-standard .htaccess file. I know that CakePHP uses exactly the same (possibly minus the RewriteBase directive) and a number of other CMSs and frameworks do also. This set of rules is all most sites need to be able to support pretty URLs and a sensible code structure.</p><p>So yes, WP&#8217;s .htaccess is elegant in its simplicity, but it&#8217;s hardly alone!</p> ]]></content:encoded> </item> <item><title>By: chirag</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-3148</link> <dc:creator>chirag</dc:creator> <pubDate>Fri, 26 Sep 2008 13:31:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-3148</guid> <description>Hai DavidCan you help? how to .httaccess in Local pc ??i am using wamp server</description> <content:encoded><![CDATA[<p>Hai David</p><p>Can you help? how to .httaccess in Local pc ??</p><p>i am using wamp server</p> ]]></content:encoded> </item> <item><title>By: AskApache</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-144</link> <dc:creator>AskApache</dc:creator> <pubDate>Wed, 17 Oct 2007 03:56:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-144</guid> <description>I use a ton of RedirectMatch&#039;s and a few other .htaccess tweaks like:RewriteCond %{REQUEST_URI} ^[^\.]+\.html/$
RewriteRule ^(.*)\.html.*$ http://www.askapache.com/$1.html [R=301,L]RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed&#124;wp-atom&#124;wp-feed&#124;wp-rss&#124;wp-rdf&#124;wp-commentsrss)(.*)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner&#124;FeedValidator&#124;talkr) [NC]
RewriteRule .* http://feeds.askapache.com/apache/htaccess? [R=307,L]</description> <content:encoded><![CDATA[<p>I use a ton of RedirectMatch&#8217;s and a few other .htaccess tweaks like:</p><p>RewriteCond %{REQUEST_URI} ^[^\.]+\.html/$<br
/> RewriteRule ^(.*)\.html.*$ <a
href="http://www.askapache.com/$1.html" rel="nofollow">http://www.askapache.com/$1.html</a> [R=301,L]</p><p>RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.*)\ HTTP/ [NC,OR]<br
/> RewriteCond %{QUERY_STRING} ^feed [NC]<br
/> RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator|talkr) [NC]<br
/> RewriteRule .* <a
href="http://feeds.askapache.com/apache/htaccess?" rel="nofollow">http://feeds.askapache.com/apache/htaccess?</a> [R=307,L]</p> ]]></content:encoded> </item> <item><title>By: AskApache</title><link>http://davidwalsh.name/wordpress-htaccess-file-is-genius/comment-page-1#comment-143</link> <dc:creator>AskApache</dc:creator> <pubDate>Wed, 17 Oct 2007 03:54:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/wordpress-htaccess-file-is-genius/#comment-143</guid> <description>Heres a couple .htaccess code snippets I use to tweak wordpress..RewriteCond %{REQUEST_URI} ^[^\.]+\.html/$
RewriteRule ^(.*)\.html.*$ http://www.askapache.com/$1.html [R=301,L]RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed&#124;wp-atom&#124;wp-feed&#124;wp-rss&#124;wp-rdf&#124;wp-commentsrss)(.*)\ HTTP/ [NC,OR]
RewriteCond %{QUERY_STRING} ^feed [NC]
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner&#124;FeedValidator&#124;talkr) [NC]
RewriteRule .* http://feeds.askapache.com/apache/htaccess? [R=307,L]And I use a ton of RedirectMatch&#039;s</description> <content:encoded><![CDATA[<p>Heres a couple .htaccess code snippets I use to tweak wordpress..</p><p>RewriteCond %{REQUEST_URI} ^[^\.]+\.html/$<br
/> RewriteRule ^(.*)\.html.*$ <a
href="http://www.askapache.com/$1.html" rel="nofollow">http://www.askapache.com/$1.html</a> [R=301,L]</p><p>RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(feed|wp-atom|wp-feed|wp-rss|wp-rdf|wp-commentsrss)(.*)\ HTTP/ [NC,OR]<br
/> RewriteCond %{QUERY_STRING} ^feed [NC]<br
/> RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator|talkr) [NC]<br
/> RewriteRule .* <a
href="http://feeds.askapache.com/apache/htaccess?" rel="nofollow">http://feeds.askapache.com/apache/htaccess?</a> [R=307,L]</p><p>And I use a ton of RedirectMatch&#8217;s</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 7/19 queries in 0.040 seconds using disk

Served from: davidwalsh.name @ 2010-03-19 22:40:15 -->