Hi @sergeyprogramace
It seems the site is working fine when we use https instead of HTTP.
I.e https://program-ace.com/contact-us/ link works fine if it is accessed using https and does not work if accessed using HTTP.
This means at your server PHP 7 is working for SSL port i.e 443 only & not for port 80 (HTTP port).
So I request you to check this at the server level and either configure PHP 7 for HTTP port as well. Or in WordPress do force SSL, so that each time your site runs as SSL only.
However, if in case you require to do any server-level modifications do consult with server team once.
Hope you get some head start with the above explanation.
Thanks.
Also, shouldn’t that be PHP 7.2 or higher now?
I’m just wondering if that 7.0.X is causing part of the problem and I always think port 80 should always be working ‘just in case’.
My guess is it does work at the server level.
I do appreciate this topic is I’d not seen a problem exactly like this before or never recognized it or knew what caused it. Thanks @aksdvp
I’m still learning!
I do it in the /etc/apache2/sites-available file.
I use server alias for www and just the domain back to the Servername.
Redirect permanent / https://wp.mylibertarianblogpage.com
Redirect makes all traffic to the site https.
<VirtualHost *:443>
ServerName wp.mylibertarianblogpage.com
ServerAdmin [email protected]
ServerAlias http://www.mylibertarianblogpage.com mylibertarianblogpage.com
DocumentRoot /var/www/wp.mylibertarianblogpage.com/public_html
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/*.crt
SSLCertificateKeyFile /etc/apache2/ssl/*.key
SSLCACertificateFile /etc/apache2/ssl/gd_bundle-g2-g1.crt
ErrorLog /var/log/apache2/wp.mylibertarianblogpage.com/error.log
CustomLog /var/log/apache2/wp.mylibertarianblogpage.com/access.log combined
<Directory /var/www/wp.mylibertarianblogpage.com>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wp.mylibertarianblogpage.com
ServerAlias http://www.mylibertarianblogpage.com mylibertarianblogpage.com
Redirect permanent / https://wp.mylibertarianblogpage.com
</VirtualHost>
-
This reply was modified 6 years, 8 months ago by
scsiraidguru.