Skip to content

Instantly share code, notes, and snippets.

@ryandonsullivan
Created October 28, 2015 18:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandonsullivan/f8b91d427fb59f09137d to your computer and use it in GitHub Desktop.
Save ryandonsullivan/f8b91d427fb59f09137d to your computer and use it in GitHub Desktop.
This redirects all label archive URLs at Blogger to corresopnding WordPress category archives
#Author: WP Site Care
#Link: http://www.wpsitecare.com/import-blogger-to-wordpress/
#Redirect archives
RewriteRule ^([0-9]{4})_([0-9]{1,2})_([0-9]{1,2})_archive.html$ $1/$2/ [L,R=301]
#Redirect labels/categories
RewriteRule ^search/label/(.*)$ category/$1/ [L,R=301]
@robneu
Copy link

robneu commented Oct 29, 2015

If you need to migrate Blogger to WordPress, our step-by-step guide will walk you through the entire process from beginning to end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment