There are literally thousands of docs to manage @brightwhite @jearle
2
@mollydotcom @brightwhite If you have a list of all the URLs, no matter how many, it can be automated.
1
1
@mollydotcom apparently we automate the import of urls to .htaccess file but the mapping is done in excel first. @jearle is that auto too?
1
@brightwhite @mollydotcom I’d do a database dump of all the permalinks from the database and then sed/awk that into an htaccess file.
1
@jearle already more server skillz than I have. If I have a manual (I swear, I only read the necessary parts) I usually do ok @brightwhite
2
@mollydotcom @brightwhite Give me an example URL from the old blog. I think I have an idea.
2
@jearle @mollydotcom and this is why I love the internets.
2
1
@brightwhite @mollydotcom My hope is that the permalink style is date-based. If that’s the case, it’s just regex.
1
@jearle @mollydotcom should be easy in that case to change the root domain. When the structure changes completely, it’s much harder.
1
@brightwhite @mollydotcom redirect all 2011 pages:
RewriteRule ^/2011/(.*)$ newsite.com/2011/$1 [L,NC,NE,R=301]
1
1
@jearle Jared, so I'd add that to .htaccess at root for each year? Or if you have time to just do it, I'll buy ALL the virtual beverages!
Oct 14, 2015 · 5:40 PM UTC
2



