Skip to content

Instantly share code, notes, and snippets.

@ryandonsullivan
Created October 28, 2015 18:44
Show Gist options
  • Save ryandonsullivan/55262d5d5ba8d00dbcac to your computer and use it in GitHub Desktop.
Save ryandonsullivan/55262d5d5ba8d00dbcac to your computer and use it in GitHub Desktop.
This redirects all Blogger RSS feeds to their corresponding WordPress RSS feeds when added to .htaccess
#Author: WP Site Care
#Link: http://www.wpsitecare.com/import-blogger-to-wordpress/
#ATOM Feeds
RewriteRule atom.xml feed/atom/ [L,R=301]
RewriteRule feeds/posts/default feed/atom/ [L,R=301]
#RSS FEEDS
RewriteRule feeds/posts/default?alt=rss feed/ [L,R=301]
RewriteRule rss.xml feed/ [L,R=301]
#Comments Feed
RewriteRule /feeds/comments/default comments/feed/ [L,R=301]
RewriteRule /feeds/comments/default?alt=rss comments/feed/ [L,R=301]
@robneu
Copy link

robneu commented Oct 29, 2015

You can learn exactly to import Blogger to WordPress on the step-by-stop guide associated with this code.

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