<?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: Better permalink rewrite code</title> <atom:link href="http://www.dev4press.com/2010/tutorials/wordpress-tips/better-permalink-rewrite-code/feed/" rel="self" type="application/rss+xml" /><link>http://www.dev4press.com/2010/tutorials/wordpress/tips/better-permalink-rewrite-code/</link> <description>Premium Plugins and Themes for WordPress</description> <lastBuildDate>Thu, 09 Feb 2012 08:39:47 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Kim</title><link>http://www.dev4press.com/2010/tutorials/wordpress/tips/better-permalink-rewrite-code/comment-page-1/#comment-1126</link> <dc:creator>Kim</dc:creator> <pubDate>Mon, 11 Oct 2010 19:41:28 +0000</pubDate> <guid
isPermaLink="false">http://www.dev4press.com/?p=1210#comment-1126</guid> <description>Hi MillaN,I&#039;m currently using a mix between a Drupal .htaccess and your modified WP .htaccess file.Just FYI but here&#039;s my .htaccess file (the piece before your posted code that is):&lt;code&gt;
# Make Wordpress handle any 404 errors.
ErrorDocument 404 /index.php# Force simple error message for requests for non-existent favicon.ico.# There is no end quote below, for compatibility with Apache 1.3.
ErrorDocument 404 &quot;The requested file favicon.ico was not found.FileETag None# PHP 4, Apache 1.php_value magic_quotes_gpc                0
php_value register_globals                0
php_value session.auto_start              0
php_value mbstring.http_input             pass
php_value mbstring.http_output            pass
php_value mbstring.encoding_translation   0# PHP 4, Apache 2.php_value magic_quotes_gpc                0
php_value register_globals                0
php_value session.auto_start              0
php_value mbstring.http_input             pass
php_value mbstring.http_output            pass
php_value mbstring.encoding_translation   0# PHP 5, Apache 1 and 2.php_value magic_quotes_gpc                0
php_value register_globals                0
php_value session.auto_start              0
php_value mbstring.http_input             pass
php_value mbstring.http_output            pass
php_value mbstring.encoding_translation   0
SetOutputFilter DEFLATE# Requires mod_expires to be enabled.# Enable expirations.
ExpiresActive On# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600ExpiresByType image/jpg &quot;access plus 1 months&quot;
ExpiresByType image/gif &quot;access plus 1 months&quot;
ExpiresByType image/jpeg &quot;access plus 1 months&quot;
ExpiresByType image/png &quot;access plus 1 months&quot;ExpiresByType text/css &quot;access plus 1 months&quot;ExpiresByType text/javascript &quot;access plus 1 months&quot;
ExpiresByType application/javascript &quot;access plus 1 months&quot;
ExpiresByType application/x-shockwave-flash &quot;access plus 1 months&quot;
# Do not allow PHP scripts to be cached unless they explicitly send cache
# headers themselves. Otherwise all scripts would have to overwrite the
# headers set by mod_expires if they want another caching behavior. This may
# fail if an error occurs early in the bootstrap process, and it may cause
# problems if a non-Drupal PHP file is installed in a subdirectory.
ExpiresActive Off&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Hi MillaN,</p><p>I&#8217;m currently using a mix between a Drupal .htaccess and your modified WP .htaccess file.</p><p>Just FYI but here&#8217;s my .htaccess file (the piece before your posted code that is):</p><p><code><br
/> # Make WordPress handle any 404 errors.<br
/> ErrorDocument 404 /index.php</p><p># Force simple error message for requests for non-existent favicon.ico.</p><p> # There is no end quote below, for compatibility with Apache 1.3.<br
/> ErrorDocument 404 "The requested file favicon.ico was not found.</p><p>FileETag None</p><p># PHP 4, Apache 1.</p><p> php_value magic_quotes_gpc                0<br
/> php_value register_globals                0<br
/> php_value session.auto_start              0<br
/> php_value mbstring.http_input             pass<br
/> php_value mbstring.http_output            pass<br
/> php_value mbstring.encoding_translation   0</p><p># PHP 4, Apache 2.</p><p> php_value magic_quotes_gpc                0<br
/> php_value register_globals                0<br
/> php_value session.auto_start              0<br
/> php_value mbstring.http_input             pass<br
/> php_value mbstring.http_output            pass<br
/> php_value mbstring.encoding_translation   0</p><p># PHP 5, Apache 1 and 2.</p><p> php_value magic_quotes_gpc                0<br
/> php_value register_globals                0<br
/> php_value session.auto_start              0<br
/> php_value mbstring.http_input             pass<br
/> php_value mbstring.http_output            pass<br
/> php_value mbstring.encoding_translation   0</p><p> SetOutputFilter DEFLATE</p><p># Requires mod_expires to be enabled.</p><p> # Enable expirations.<br
/> ExpiresActive On</p><p> # Cache all files for 2 weeks after access (A).<br
/> ExpiresDefault A1209600</p><p> ExpiresByType image/jpg "access plus 1 months"<br
/> ExpiresByType image/gif "access plus 1 months"<br
/> ExpiresByType image/jpeg "access plus 1 months"<br
/> ExpiresByType image/png "access plus 1 months"</p><p> ExpiresByType text/css "access plus 1 months"</p><p> ExpiresByType text/javascript "access plus 1 months"<br
/> ExpiresByType application/javascript "access plus 1 months"<br
/> ExpiresByType application/x-shockwave-flash "access plus 1 months"</p><p> # Do not allow PHP scripts to be cached unless they explicitly send cache<br
/> # headers themselves. Otherwise all scripts would have to overwrite the<br
/> # headers set by mod_expires if they want another caching behavior. This may<br
/> # fail if an error occurs early in the bootstrap process, and it may cause<br
/> # problems if a non-Drupal PHP file is installed in a subdirectory.<br
/> ExpiresActive Off</p><p></code></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)
Content Delivery Network via cdnx.dev4press.com

Served from: www.dev4press.com @ 2012-02-12 07:44:11 -->
