For some reason the SSL certificate seems to work only when using www (not an Admin Tools issue). Typing palmersgreencommunity.org.uk into the address bar of a browser brings up a Your Connection is not Secure message and the redirection to www. does not occur.
Is this something that can be solved by editing one or both .htaccess files?
The relevant part of the root .htaccess is as follows:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?palmersgreencommunity.org.uk$
RewriteRule ^(/)?$ pgc [L]
The /pgc/.htaccess file has the following:
##### Redirect index.php to / -- BEGIN
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteCond %{SERVER_PORT}>s ^(443>(s)|[0-9]+>s)$
RewriteRule ^index\.php$ http%2://palmersgreencommunity.org.uk/pgc/ [R=301,L]
##### Redirect index.php to / -- END
##### Redirect non-www to www -- BEGIN
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}>s ^(on>(s)|.*>s)$
RewriteRule ^(.*)$ http%2://www.%{HTTP_HOST}/pgc/$1 [R=301,L]
##### Redirect non-www to www -- END
Grateful for any advice.
Regards,
Basil