Migrating blog from http:// to https:/

Having trouble installing serendipity?
Post Reply
Walter
Posts: 4
Joined: Mon Sep 14, 2015 4:44 pm

Migrating blog from http:// to https:/

Post by Walter » Wed Jan 26, 2022 3:10 pm

Hi,
I want to migrate our travel-blog-site from http:// to https://. After purchasing a SSL-Certificate for our domain 'marxuwa.eu' from our provider STRATO, I can invoke our travel-blog site as http:// and as https:// as well. Unfortunately, in the https://-representation, the text, structure and pictures are shown but most of the Serendipity-formatting is gone! This can be visualized by invoking 'marxuwa.eu' as http:// and https// in parallel. The administrator-space is affected in a similar way; in particular there is no WYSIWYG-editor available. This situation appears in the 3 browsers I have tested: firefox, chromium, edge; How could this be mended?

I'm using Serendipity 2.4-beta1 together with php 7.4.27 (php 8 didn't work) . My provider is STRATO.

Thanks, Walter

User avatar
onli
Regular
Posts: 2601
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Migrating blog from http:// to https:/

Post by onli » Wed Jan 26, 2022 3:35 pm

Note that 2.4-beta1 should work with PHP 8.0 already. If it doesn't there is either a bug or an incompatible plugin, which is unlikely to get fixed automatically, so it could be worth your time to investigate the error message :)

The issue you describe sound to me like mixed content. If the blog is still configured to use the http path, it will do so even when visiting over https, but the browser will refuse to load scripts and images. Solution: Under "Configuration -> Paths", set your blog url to be https://yoururl.com. Then it should work on both http and https.

Walter
Posts: 4
Joined: Mon Sep 14, 2015 4:44 pm

Re: Migrating blog from http:// to https:/

Post by Walter » Wed Jan 26, 2022 8:46 pm

Thanks for the advise: The https://- representation works now correctly.

Regarding the php 8 problem: I'm not very experienced in reading log-files but I will try!

Post Reply