{"id":101,"date":"2019-01-02T23:59:52","date_gmt":"2019-01-02T23:59:52","guid":{"rendered":"https:\/\/www.psyctc.org\/psyctc\/?p=101"},"modified":"2019-01-02T23:59:54","modified_gmt":"2019-01-02T23:59:54","slug":"technical-notes-on-moving-psyctc-org-to-wordpress","status":"publish","type":"post","link":"https:\/\/www.psyctc.org\/psyctc\/2019\/01\/02\/technical-notes-on-moving-psyctc-org-to-wordpress\/","title":{"rendered":"Technical notes on moving PSYCTC.org to WordPress"},"content":{"rendered":"\n<p>For my own benefit, and in case it&#8217;s useful to anyone else, I&#8217;m putting a technical blog post here now which I hope will capture the main steps I&#8217;ve taken so far.<\/p>\n<h5>Location and URLs<\/h5>\n<p>I had the existing static HTML site at <a href=\"https:\/\/www.psyctc.org\/\">https:\/\/www.psyctc.org\/<\/a> and I already had a WordPress installation underneath that (my personal site and blog: https:\/\/www.psyctc.org\/pelerinage2016\/ and <a href=\"https:\/\/www.mythic-beasts.com\/\">Mythic Beasts<\/a>, the excellent service provider who have been supporting my internet presences for years agreed that having one WordPress instance nested in a URL below another was a recipe for trouble so I opted to have the new WordPress instance at <a href=\"https:\/\/www.psyctc.org\/psyctc\/\">https:\/\/www.psyctc.org\/psyctc\/<\/a> .\u00a0 Clearly, that&#8217;s a bit clumsy and if you don&#8217;t have a reason to do this you can probably simply install WordPress into your URL root.<\/p>\n<p>Over the last five years I&#8217;ve had experience with a number of commercial WordPress themes in sites I&#8217;ve created and that&#8217;s left me rather unimpressed with incompatibilities and poor support so these days I prefer to use WordPress&#8217;s own free themes.\u00a0 For this I&#8217;ve gone for Twenty Fifteen as it seemed to fit what I needed and, making my life simpler, it&#8217;s the one to which I&#8217;m also retheming and rejigging my <a href=\"https:\/\/www.coresystemtrust.org.uk\/\">CORE System Trust site<\/a>.\u00a0<\/p>\n<p>I&#8217;m clear that the first thing anyone should do once they&#8217;ve chosen a sensible basic theme is to make a &#8220;child theme&#8221; so you minimise the risk of losing any customisation you make if the them is updated.\u00a0 For that I used the <a href=\"http:\/\/www.childthemeconfigurator.com\/child-theme-configurator-pro\/\">Child Theme Configurator Pro<\/a> plugin. That&#8217;s a paid for extension of that company&#8217;s free plugin which wasn&#8217;t expensive and I felt was worth paying for but you can make a child theme by hand or using their free plugin (and there are other plugins to do this: I don&#8217;t claim to have done more than some simple searching which led me to this one but so far I like it a lot).<\/p>\n<h5>Appearance customisation<\/h5>\n<p>I&#8217;ve tweaked the footer to remove &#8220;Proudly&#8221; from &#8220;Proudly powered by WordPress&#8221; as I&#8217;m very happy to acknowledge my huge debt to the WordPress world but &#8220;proudly&#8221; just isn&#8217;t my language: they&#8217;re the ones who can be proud of this, I&#8217;m just grateful! To hack that you have to edit <code>footer.php<\/code> which the child theme plugin makes very easy though it would be very easy to do if you have pretty much any other route to that file.\u00a0 It&#8217;s a small file and easy to understand and to find &#8220;Proudly powered&#8221; in it and edit that without knowing anything about PHP.<\/p>\n<p>I used the standard customisation options to use the background colour I&#8217;d used on a lot of the old pages and used old gifs as identity icons.\u00a0 In case you wonder what they are: they&#8217;re a nod to my proud (yes, &#8220;proud&#8221;) membership of the Institute of Group Analysis) and I created the gifs so long ago that I haven&#8217;t the faintest idea now what tools I used but they would have been done in MS DOS!\u00a0<\/p>\n<p>I replaced the old index.html root html file of <a href=\"https:\/\/www.psyctc.org\/index.html\">www.psyctc.org<\/a> with a very short one that redirects to https:\/\/www.psyctc.org\/psyctc\/.\u00a0 If you want that code it&#8217;s easy to find or you can right click that link above (in most browsers) and grab my file and edit it to point where you want it to (and not here!)\u00a0 As you can see in my new WordPress home page, I renamed the old index.html file and put a link back to that so that anyone wanting the old site can get it easily.<\/p>\n<h5>Plugins<\/h5>\n<p>I&#8217;m trying not to use more plugins than I need and probably the child theme configurator wasn&#8217;t strictly necessary but did help me feel safe and guided through that process and supported other things.\u00a0 I&#8217;ve installed <a href=\"https:\/\/fontsplugin.com\/\">Google Fonts PRO<\/a> to customise typography as I&#8217;ve used it on two other sites recently but so far I don&#8217;t think I&#8217;ve actually changed any fonts so perhaps that should go.\u00a0 I&#8217;ve used the free plugin <a href=\"https:\/\/form2email.dwbooster.com\/\">Contact Form Email<\/a> for all my contact forms over the last five years and it&#8217;s worked perfectly as far as I can tell and is upgraded rapidly and has a large user base with good reviews so I felt no reason to change from that though I don&#8217;t think the settings interface is particularly user friend or intuitive but once you&#8217;ve used it a bit that&#8217;s no longer an issue.<\/p>\n<p>One thing that&#8217;s new for me is to require people to subscribe to post comments on this blog and I&#8217;ve used the free <a href=\"http:\/\/ultimatemember.com\/\">Ultimate Member<\/a> plugin to handle that.\u00a0 One thing there that took quite a lot of sleuthing to work out was how you force subscribers to validate their Emails.\u00a0 I think the setting is ridiculously hidden and I had assumed that if you activated the Email template asking people to validate their Email address that requirement would be set automatically.\u00a0\u00a0 I found the answer eventually at <a href=\"https:\/\/wordpress.org\/support\/topic\/registration-confirmation-email-is-not-sent-2\/\">https:\/\/wordpress.org\/support\/topic\/registration-confirmation-email-is-not-sent-2\/<\/a> you set that it in the in the User\u00a0 Roles section of the Ultimate Member menu entries in the WordPress administration panel:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-102\" src=\"https:\/\/www.psyctc.org\/psyctc\/wp-content\/uploads\/2019\/01\/2019-01-02-23_24_31-User-Roles-\u2039-PSYCTC.org-\u2014-WordPress.png\" alt=\"\" width=\"1089\" height=\"358\" srcset=\"https:\/\/www.psyctc.org\/psyctc\/wp-content\/uploads\/2019\/01\/2019-01-02-23_24_31-User-Roles-\u2039-PSYCTC.org-\u2014-WordPress.png 1089w, https:\/\/www.psyctc.org\/psyctc\/wp-content\/uploads\/2019\/01\/2019-01-02-23_24_31-User-Roles-\u2039-PSYCTC.org-\u2014-WordPress-300x99.png 300w, https:\/\/www.psyctc.org\/psyctc\/wp-content\/uploads\/2019\/01\/2019-01-02-23_24_31-User-Roles-\u2039-PSYCTC.org-\u2014-WordPress-768x252.png 768w, https:\/\/www.psyctc.org\/psyctc\/wp-content\/uploads\/2019\/01\/2019-01-02-23_24_31-User-Roles-\u2039-PSYCTC.org-\u2014-WordPress-1024x337.png 1024w\" sizes=\"auto, (max-width: 1089px) 100vw, 1089px\" \/><\/p>\n<p>It&#8217;s that selection window that has to be switched to &#8220;Require Email Activation&#8221;.<\/p>\n<p>I&#8217;ve installed <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/tinymce-advanced\/\">TinyMCE Advanced<\/a> and did manage to get it to give me control over font size in pages and posts but it&#8217;s clearly not working nicely with the new WordPress &#8220;Gutenberg&#8221; editor which is a pain.\u00a0 To be brutal, so far I&#8217;m pretty unconvinced by the early user experience with Gutenberg but it&#8217;s clear that WordPress are committed to it and I think I can see that it will have long term avantages so I&#8217;m resisting the temptation to revert to the classical editor.\u00a0 I hope someone, whether it&#8217;s Tiny or WordPress or someone else, ends up putting the sort of controls into the default text editor that TinyMCE Advanced did pretty easily for me in the classical editor.<\/p>\n<p>I added the free <a href=\"https:\/\/www.relevanssi.com\/\">Relevanssi<\/a> search plugin.\u00a0 That was actually a mistake when I was trying to work out how to add &#8220;search&#8221; and eventually I settled for making it accessible from &#8220;footer&#8221; widget menu in the theme.\u00a0 (I put &#8220;footer&#8221; in scare quotes as it&#8217;s actually not what I consider a footer as located by the theme: this the bottom part of the side menu.)\u00a0 However, Relevanssi looks good so I&#8217;ll stick with it.<\/p>\n<p>I have installed the free <a href=\"https:\/\/www.monsterinsights.com\/?utm_source=liteplugin&amp;utm_medium=pluginheader&amp;utm_campaign=authoruri&amp;utm_content=7.0.0\">Google Analytics for WordPress by MonsterInsights<\/a> plugin (what a name!) and created a Google analytics account for the site.\u00a0 I&#8217;d love not to use Google but I do sort of know how to do and use this approach so it stays for now but is on my list to drop if I can.<\/p>\n<h6>Security and safety plugins<\/h6>\n<p>I&#8217;m not sure if <a href=\"https:\/\/akismet.com\/\">Akismet<\/a> is installed by default in WordPress now or was installed by Mythic Beasts when they did the WP installation for me (I&#8217;m getting lazy!) but I have activated it though I&#8217;m requiring subscription before posting a comment and using Email subscription validation so it&#8217;s going to be a pretty determined real live spammer trying to post comments so perhaps I don&#8217;t need it.<\/p>\n<p>As already noted, I&#8217;m using the free <a href=\"http:\/\/ultimatemember.com\/\">Ultimate Member<\/a> plugin to manage subscriptions.\u00a0 The installation had the free Login LockDown plugin installated, again I&#8217;m not sure if that comes by default or was added by Mythic Beasts but it looks sensible &#8220;by restricting the rate at which failed logins can be re-attempted from a given IP range&#8221; which sounds very sensible so that&#8217;s staying.\u00a0 I&#8217;ve added <a href=\"https:\/\/updraftplus.com\/\">UpdraftPlus<\/a> which I use for backups of all my WordPress sites.\u00a0 I use the paid for professional version and their cloud vault: not cheap but feels wise.<\/p>\n<p>Finally, the free <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/wp-super-cache\/\">WP Super Cache<\/a> plugin was installed and I&#8217;ve had that in all my WP sites and think it really does speed things up (but when you&#8217;re making configuration changes and they don&#8217;t seem to be working, always switch it off or flush its cache and retry before assuming you&#8217;re doing something wrong: I wasted fifteen minutes or so changing the names of the widgets and seeing no change in them before I remembered that one!) I love the company&#8217;s <a href=\"https:\/\/automattic.com\/map\/\">map of its employees<\/a>!<\/p>\n<p>Damn, thought I was finished for now and just remembered that I need to add a privacy statement. Enough here for now!<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-wordpress-technical"],"_links":{"self":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":1,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":103,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/posts\/101\/revisions\/103"}],"wp:attachment":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}