Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Many thanks for your help and patience. I have 2 sites and the only difference is the one that is ok in wordpresss Settings General is
Wordpress Address URL https://www.domain,name
Site Address URL https://www.domain.name
The one that does not recognise www
Wordpress Address URL https://domain,name
Site Address URL https://domain.name
I tried to change it but had issues logging in so changed it back
Could this be my problem ?
I don't know, because I have a hard time understanding your post which claim 2 sites, but you have redacted the actual domain names and changed both domain names to th same redacted domain name, which confuses me. Or is just the www label the only difference?
Also, it would not change anything to my previous post regarding your domain name pat-testing-edinburgh.co.uk.
Currently not, please see this part of my first post:
Because the answer to your problem is most likely the simple answer "add the www subdomain to your certificate", but that's probably not something useful to you without the "how" part. But we can't answer the "how" part without much more information unfortunately.