Skip to main content
Known Participant
April 30, 2018
解決済み

SSL / https issue

  • April 30, 2018
  • 返信数 1.
  • 739 ビュー

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?

このトピックへの返信は締め切られました。
解決に役立った回答 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

osgood_解決!
Legend
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.

RTMF作成者
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!!