

{"id":62,"date":"2018-09-06T19:37:07","date_gmt":"2018-09-06T23:37:07","guid":{"rendered":"https:\/\/itmaybeahack.com\/blogs\/?p=62"},"modified":"2018-09-06T19:42:07","modified_gmt":"2018-09-06T23:42:07","slug":"migration-strategy","status":"publish","type":"post","link":"https:\/\/itmaybeahack.com\/blogs\/2018\/09\/06\/migration-strategy\/","title":{"rendered":"Migration Strategy"},"content":{"rendered":"<p>Currently, the blog is hosted at <a href=\"http:\/\/www.itmaybeahack.com\/TeamRedCruising\/\">http:\/\/www.itmaybeahack.com\/TeamRedCruising\/<\/a> with a ton of links which depend on this base address. Folks have bookmarked <a href=\"http:\/\/www.itmaybeahack.com\/TeamRedCruising\/travel-2017-2018\/\">http:\/\/www.itmaybeahack.com\/TeamRedCruising\/travel-2017-2018\/<\/a> for example. And <a href=\"http:\/\/www.itmaybeahack.com\/TeamRedCruising\/links-and-resources.html\">http:\/\/www.itmaybeahack.com\/TeamRedCruising\/links-and-resources.html<\/a>.<\/p>\n<p>Also. The old &#8220;refit&#8221; and &#8220;Travel 2012-2013&#8221; pages are in a separate blog at <a href=\"http:\/\/www.itmaybeahack.com\/web\/Cruising\/Refit\/Refit.html\">http:\/\/www.itmaybeahack.com\/web\/Cruising\/Refit\/Refit.html<\/a> and <a href=\"http:\/\/www.itmaybeahack.com\/web\/Cruising\/Travel_2012-2013\/Travel_2012-2013.html\">http:\/\/www.itmaybeahack.com\/web\/Cruising\/Travel_2012-2013\/Travel_2012-2013.html<\/a>. Also see <a href=\"http:\/\/www.itmaybeahack.com\/web\/Cruising\/Team_Red_Cruising.html\">http:\/\/www.itmaybeahack.com\/web\/Cruising\/Team_Red_Cruising.html<\/a> for the old &#8220;home&#8221; page for these various blogs.<\/p>\n<p>Of course, we can&#8217;t develop over the top of the two original blog(s).<\/p>\n<p>We have two fundamental alternatives.<\/p>\n<ul>\n<li>Redirects<\/li>\n<li>Copy Over the Top<\/li>\n<\/ul>\n<h1>Redirects<\/h1>\n<p>The <code>.htaccess<\/code> file allows us to do the following:<\/p>\n<ul>\n<li>\n<p>rewrite all <code>\/TeamRedCruising\/*<\/code> links to the new blog links. If the link structures are kept in parallel, we can make this seamless.<\/p>\n<\/li>\n<li>\n<p>rewrite all the really old <code>\/web\/Cruising\/*<\/code> links to the new blog links, also. These won&#8217;t be as neatly parallel, but can be kept similar enough to make the transition seamless.<\/p>\n<\/li>\n<\/ul>\n<p>This requires trying to keep a parallel structure. However, it seems to be workable because the structures are simple and relatively flat.<\/p>\n<p>See <a href=\"https:\/\/mediatemple.net\/community\/products\/dv\/204643270\/using-htaccess-rewrite-rules\">https:\/\/mediatemple.net\/community\/products\/dv\/204643270\/using-htaccess-rewrite-rules<\/a> for a tutorial on the rewrite engine capabilities.<\/p>\n<h1>Copy Over the Top<\/h1>\n<p>In this case, we build the web site in one place and &#8220;simply&#8221; copy it to another place. This tends to break all the internal links, unless they&#8217;re properly relative to the base of the WordPress site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently, the blog is hosted at http:\/\/www.itmaybeahack.com\/TeamRedCruising\/ with a ton of links which depend on this base address. Folks have bookmarked http:\/\/www.itmaybeahack.com\/TeamRedCruising\/travel-2017-2018\/ for example. And http:\/\/www.itmaybeahack.com\/TeamRedCruising\/links-and-resources.html. Also. The old &#8220;refit&#8221; and &#8220;Travel 2012-2013&#8221; pages are in a separate blog at http:\/\/www.itmaybeahack.com\/web\/Cruising\/Refit\/Refit.html and http:\/\/www.itmaybeahack.com\/web\/Cruising\/Travel_2012-2013\/Travel_2012-2013.html. Also see http:\/\/www.itmaybeahack.com\/web\/Cruising\/Team_Red_Cruising.html for the old &#8220;home&#8221; page for these various blogs. &#8230;<\/p>\n<div class=\"Read-more-div\"><a class=\"Read-more-button\" href=\"https:\/\/itmaybeahack.com\/blogs\/2018\/09\/06\/migration-strategy\/\">Continue Reading &raquo;<\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/posts\/62"}],"collection":[{"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":7,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/posts\/62\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmaybeahack.com\/blogs\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}