WebSite X5Help Center

 
Errol W.
Errol W.
User

Http vs https  en

Autor: Errol W.
Visited 1574, Followers 1, Udostępniony 0  

On this page http://longleafhoa.org the page will show as unsecured although it has an ssl certificate.

When I goto https://longleafhoa.org the page shows secure. I use a .htaccess file, in that file I have this information:

# WebSite X5 - Start Code [do not edit]

RewriteCond %{SERVER_PORT} 80

RewriteCond %{HTTP_HOST} ^(www\.)?lonleafhoa\.org

RewriteRule ^(.*)$ https://www.longleafhoa.org/$1 [R,L]

# WebSite X5 - End Code

According to Godaddy that is correct.

From what I understand,  the redirect info in the htaccess file should always make the site show

secure no matter how the user enters the address. But it's not working out that way. 

The second issue is when in the secure mode, the calendar function with not show data, in the unsecured mode the calendar does show data.

How can I resolved this.

Posted on the
6 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Andre E
Andre E
Moderator
Najlepszy Użytkownik miesiąca EN

if your htacces file is correctly set up you won't be able to view the http site anymore.

it will redirect to https immidiatly.

see also : https://helpcenter.websitex5.com/pl/post/229035

upload your site also in x5 with https in the websiteadress

then all should be well.

Czytaj więcej
Posted on the from Andre E
Errol W.
Errol W.
User
Autor

Hello Andre, your suggestions and sample code worked for my secure page issue. After making the changes, every page that uses php coding is prompting me to download that page. Not good.

Czytaj więcej
Posted on the from Errol W.
Errol W.
Errol W.
User
Autor

Andre, I sorted out the php thing. I had to remove "AddHandler x-httpd-php71 .php" from the htaccess file. The only bit now is the calendar not showing data.

Czytaj więcej
Posted on the from Errol W.
Errol W.
Errol W.
User
Autor

Andre, I sorted the Calendar issue as well. The source link needed to have https

Czytaj więcej
Posted on the from Errol W.
John S.
John S.
User

Maybe you should also for the calendar in settings, specify the calendar URL with the https.

maybe there else could be problems for the calendar to find thumbnails and so.

Czytaj więcej
Posted on the from John S.
Andre E
Andre E
Moderator
Najlepszy Użytkownik miesiąca EN

Great Errol,

Thanks for the feedback and yes you need to direct https as much as possible everywhere, as mentioned.

Czytaj więcej
Posted on the from Andre E