Skip to main content
Known Participant
April 30, 2018
Answered

SSL / https issue

  • April 30, 2018
  • 1 reply
  • 728 views

I have recently updated our live site with a SSL certificate so our site is secure with https domain. I now can not access my site ( preview in browser ) on the localhost using MAMP. When I try and view the site it tries to access through a https url, but I do not have the web url setup as https. I even deleted the remote server so there is no reference to the https domain but this does not make any difference. I am using "http://localhost:80/RTMF_root/" as the web url.

Does anyone know where I am going wrong here?

This topic has been closed for replies.
Correct answer osgood_

Have you got an htaccess file at local level?

Normally when you want to go from http to https you need to include a small script in your sites htaccess file or config file to tell the server to use https access rather than http. I was just wondering if you have anything locallly that is telling your siite to do that.

1 reply

osgood_Correct answer
Brainiac
April 30, 2018

Have you got an htaccess file at local level?

Normally when you want to go from http to https you need to include a small script in your sites htaccess file or config file to tell the server to use https access rather than http. I was just wondering if you have anything locallly that is telling your siite to do that.

RTMFAuthor
Known Participant
April 30, 2018

Many thanks osgood_  I didn't think about the script that had been placed in the .htaccess file. I checked the template and there was also a javascript script that was added by my hosting provider, who sorted out the SSL certificate and adjusted the site. All is ok now!!