{"id":398,"date":"2014-11-15T14:08:53","date_gmt":"2014-11-15T22:08:53","guid":{"rendered":"http:\/\/www.iwritecopy.net\/wordpress\/?p=398"},"modified":"2014-12-12T17:51:15","modified_gmt":"2014-12-13T01:51:15","slug":"wordpress-x-2dont-do-it","status":"publish","type":"post","link":"https:\/\/www.myadportfolio.com\/wordpress\/wordpress-x-2dont-do-it\/","title":{"rendered":"WordPress x 2: don&#8217;t do it"},"content":{"rendered":"<p>Sloppily.<\/p>\n<p>I recently tried to convert my main site to WordPress, installing a new WP in a new directory.  I was trying to refresh the site&#8217;s appearance with WP themes.<\/p>\n<p>I used the Make theme and got a front page I liked.  This was just a test, so it wasn&#8217;t live and I forgot about my WordPress site experiment.<\/p>\n<p>Except that WP used some of the existing database in special ways.<\/p>\n<p>The result?  My WP blog which has run flawlessly for years disappeared.  Blank screen.  No images. No posts. No  menus. Remember that Borges story about the ink-drinking monkey? It&#8217;s my WordPress install!<\/p>\n<p>After trying a bunch of things for several hours: turning on debug messages, turning off plugins and my current theme  &#8211; no help. (And what is my latest theme anyway??  To find that out, I used a <a href=\"http:\/\/www.wpthemedetector.com\/\">site that reads WP themes<\/a> from any webpage; it assured me I wasn&#8217;t running a WordPress blog. That was &#8230; comforting.)<\/p>\n<p>Anyway, the solution was to go into my cpanel and read the data in my MySQL database.  There the blog site&#8217;s address was confused with my main site.<\/p>\n<p>(I got that idea when trying to load myblog.com\/wp-admin directly into my browser  &#8212; the blog&#8217;s blank &#8212; and being sent instead to my main site&#8217;s WP installation.  The database redirected me to what it thought was my blog.)<\/p>\n<p>I think I can use WP successfully on my main site and my blog site, if I assign each WP instance its own database. Duh.  The reason the new WordPress on my main site didn&#8217;t APPEAR to mess up was that I created a new static home page and didn&#8217;t go to blog pages &#8212; where my current blog would have appeared.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sloppily. I recently tried to convert my main site to WordPress, installing a new WP in a new directory. I was trying to refresh the site&#8217;s appearance with WP themes. I used the Make theme and got a front page I liked. This was just a test, so it wasn&#8217;t live and I forgot about [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,29],"tags":[30,46],"_links":{"self":[{"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/posts\/398"}],"collection":[{"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":15,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":433,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/posts\/398\/revisions\/433"}],"wp:attachment":[{"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myadportfolio.com\/wordpress\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}