Main Page working but sub-pages shows "Your connection not private"

Permalink
As of January 2018, our website has not been working properly, I hope someone can help.

The issue: when you try to navigate the website it shows you "Not Securehttps://IPAddress/disclaimer"... with the message "Your connection is not private" offers to return back to safety - loading the Home Page without any issues.

The website is running on Version 5.7.5.13

We have not edited the page in over a year so I do not understand why this issue has presented it self.

Hosting with BlueHost and using PositiveSSLWildcard Certificate that does not expire until March 2018.

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
And the website address is?
bnguyen replied on at Permalink Reply
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Your links are returning ip address's instead of url's
Take this one for example that is labelled 'Home'
https://50.87.218.51/
bnguyen replied on at Permalink Reply
Yes, I did notice that but we haven't made any changed to the page. Can you please tell me why it is changing them to the IP? How can I fix this?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
It could be your server that is causing the problem.
It could also be your htaccess file.
If you substitute 50.87.218.51 forhttp://www.dietrich-law.com the warnings go away..
In the first instance talk to your hosting company, I strongly suspect the error is with them!

The http:// in my post is unfortunately added auto matically by the forum.
the web address I posted starts with www
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Failing that you could try adding this to your htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} ^50\.87\.218\.51$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z.]+)?dietrich-law\.com$ [NC]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.dietrich-law.com/$1 [R=301,L]
bnguyen replied on at Permalink Reply
Thank you, will try this out.
bnguyen replied on at Permalink Reply
I contacted the hosting company (BlueHost) and they say this issue is not with them. I know you mentioned making changes to the htaccess file, could you please walk me through the steps to do that.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
The simplest solution for you if you are not experienced in file editing via ftp or cpanel is to give that code to bluehosts and ask them to make the change to your htaccess file for you.
If you want to try this for yourself, assuming you have cpanel access...
Log into your server cpanel (control panel) and go to the 'File Manager' find the .htaccess file in the root of your file system, right click the file and click edit.
Just paste the above code at the top of the file and click 'Save' (top right corner of the page).
Next click 'Close' (top right corner of the page).
Exit File Manager.. Sign out of cpanel and check your site to see if this was successful.
bnguyen replied on at Permalink Reply
Thank you, I will try this and let you know how it goes.