Created
October 25, 2011 08:11
-
-
Save crslade/1311803 to your computer and use it in GitHub Desktop.
.htaccess file to redirect Wordpress links to Blogger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks | |
RewriteEngine On | |
#index page | |
RewriteRule ^index.php http://www.christopherslade.com [R=301,L] | |
#About | |
RewriteRule ^author/crslade http://www.christopherslade.com/p/about_21.html [R=301,L] | |
RewriteRule ^about http://www.christopherslade.com/p/about_21.html [R=301,L] | |
# Feed | |
RewriteRule ^feed http://www.christopherslade.com/feeds/posts/default [R=301,L] | |
# Post URL | |
RewriteRule ^2011/09/rails-editors-and-the-command-line/$ http://www.christopherslade.com/2011/09/rails-editors-and-command-line.html [R=301,L] | |
RewriteRule ^2009/03/outliers-by-malcolm-gladwell/$ http://www.christopherslade.com/2009/03/outliers-story-of-success-by-malcolm.html [R=301,L] | |
RewriteRule ^2010/10/migrating-to-a-new-host/$ http://www.christopherslade.com/2010/10/migrating-to-new-host.html [R=301,L] | |
RewriteRule ^2011/01/amacraigbay-with-google-products/$ http://www.christopherslade.com/2011/01/amacraigbay-now-with-google-products.html [R=301,L] | |
RewriteRule ^([0-9]{4})/([0-9]{2})/(.*)/$ http://www.christopherslade.com/$1/$2/$3.html [R=301,L] | |
# Arcive | |
RewriteRule ^([0-9]{4})/([0-9]{2}) http://www.christopherslade.com/$1_$2_01_archive.html [R=301,L] | |
RewriteRule ^tag/(.*) http://www.christopherslade.com/search/label/$1 | |
RewriteRule ^category/(.*) http://www.christopherslade.com/search/label/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment