Hi @billynoah.
siteurl = https://wonkylogic.co
home = https://wonkylogic.co
Update on general progress. I managed to get things to the point that I could log into Wordpress, initialise it to a new website. I seem to be having write permission problems with the directories so I manually created them over ssh (themes plugins etc). Then I installed a plugin to migrate my website. Set that all up. Migrated website was owrking correctly in Safari but not Firefox or Chrome and not for external visitors.
Then took a deep breath and reinstalled certbot and I NOW HAVE SSL configured and a website that works (kind of). Well visitors can see it and navigate to pages but my links are somewhat broken. So I'm trying to fix the permalink issue I have, but I know that is out of the scope of this forum.
Thanks for your help everyone I got there eventually. If you do know what might be going wrong with permalinks and directory write issues etc with Wordpress on a LAMP server I'd like to hear your advice.
[NB www-data is directory owner, directories are 775 files are 664 according to advice I've read - no joy, don't worry (?) wp-config.php is hardened, wp-includes hardened in .htaccess]