<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>The Progress Bar &#187; modrewrite</title> <atom:link href="http://theprogressbar.com/tag/modrewrite/feed/" rel="self" type="application/rss+xml" /><link>http://theprogressbar.com</link> <description></description> <lastBuildDate>Sun, 07 Aug 2011 17:34:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>How to Remain Popular When Moving Your Blog</title><link>http://theprogressbar.com/2007/04/how_to_remain_popular_when_moving_your_blog/</link> <comments>http://theprogressbar.com/2007/04/how_to_remain_popular_when_moving_your_blog/#comments</comments> <pubDate>Sun, 01 Apr 2007 18:49:56 +0000</pubDate> <dc:creator>Dave Evans</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[htaccess]]></category> <category><![CDATA[modrewrite]]></category> <category><![CDATA[movabletype]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://theprogressbar.com/archives/2007/04/how_to_remain_popular_when_moving_your_blog/</guid> <description><![CDATA[Maintaining your permalink structure when moving between blog platforms is incredibly important. When I moved one of my blogs from Movable Type to WordPress, I decided to get rid of day of the /day/ directory and the trailing .php suffix, which WP doesn&#8217;t use by default. In doing so, I wanted to make sure that [...]]]></description> <content:encoded><![CDATA[<p>Maintaining your permalink structure when moving between blog platforms is incredibly important. When I moved one of my blogs from Movable Type to WordPress, I decided to get rid of day of the /day/ directory and the trailing .php suffix, which WP doesn&#8217;t use by default. In doing so, I wanted to make sure that links from search engines and blogs continued to work.</p><p>I moved from:<br /> www.example.com/archives/month/day/entryname.php</p><p>to:<br /> www.example.com/archives/month/entryname/</p><p>The easiest way to do this was with the Apache server mod_rewrite module, which is installed by most web hosts by default. Unfortunately, figuring out the mod_rewrite code to do this in my .htaccess file was tough, the learning curve is incredibly steep. I <strong><a href="http://wordpress.org/support/topic/111793?replies=8" title="mod_rewrite wordpress htaccess">asked around</a></strong> forums and the WordPress support site.</p><p>Here is the code to add to you .htaccess file. You may need to adjust for your specific situation.</p><blockquote><p>RewriteEngine On<br /> RewriteBase /</p><p>RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(.*)\.php$ http://example.com/archives/$1/$2/$4 [R,L]</p><p>RewriteCond %{REQUEST_URI} ^archives/.*$<br /> RewriteCond %{REQUEST_URI} !^.+\.php.*$<br /> RewriteRule .* &#8211; [L]</p></blockquote><p>Additional <strong><a href="http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html#fix-infinite-loop-redirects" title="mod_rewrite tips and tricks">mod_rewrite tips and tricks</a></strong> to make sure your killer Page Rank and SEO work doesn&#8217;t go down the drain when moving your blog.</p> ]]></content:encoded> <wfw:commentRss>http://theprogressbar.com/2007/04/how_to_remain_popular_when_moving_your_blog/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using memcached

Served from: theprogressbar.com @ 2012-05-24 11:23:58 -->
