Last active
December 12, 2015 02:29
-
-
Save jruck/4699456 to your computer and use it in GitHub Desktop.
htaccess: migrate WP to Tumblr
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 | |
# Redirect old popular posts to counterparts on Tumblr | |
Redirect 301 /old/post/URL http://NEWDOMAIN.TLD/post/1234567890 | |
Redirect 301 /old/post/URL http://NEWDOMAIN.TLD/post/1234567890 | |
# ... and so on | |
# Redirect old image/media directories to new storage location | |
Redirect 301 /wp-content/uploads http://NEW.DOMAINFORHOSTINGYOUROLDIMAGES.com/wp-content/uploads | |
# Redirect old feed to new feed, if applicable | |
Redirect /feed http://feeds.feedburner.com/NEWFEED | |
# Redirect the rest of everything to your new Tumblr homepage | |
RewriteRule ^$ http://www.NEWDOMAIN.TLD/ [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment