https don't show theme

Ask questions about FlatPress themes, present your themes, request new themes.
Lubomír Ludvík
Posts: 43
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany

Re: https don't show theme

Post by Lubomír Ludvík » Mon Sep 19, 2022 7:15 am

Arvid wrote: Mon Sep 19, 2022 4:44 am Now call your blog via HTTPS - does the blog_baseurl start with "http://" again?
Again, see footer on
It looks like provider doesn't support https.

User avatar
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm

Re: https don't show theme

Post by Arvid » Sun Oct 02, 2022 11:00 am

Okay, then please add the "echo" line to defaults.php, line 124. What does it output on your blog?

Code: Select all

ini_set('session.cookie_secure', 1);
// \/ ADD THIS LINE \/
echo 'Test: "' . $_SERVER ['HTTPS'] . '"';
// /\ ADD THIS LINE /\
if (isset($_SERVER ['HTTPS']) && ($_SERVER ['HTTPS'] == '1' || strtolower($_SERVER ['HTTPS']) == 'on')) {
	$serverport = "https://";
} else {
	$serverport = "http://";
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦 - FlatPress@Mastodon 🐘
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜
Feel free to say Thank you: Donate ❤️

🇩🇪 Für meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration 🇩🇪

User avatar
Posts: 32
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany

Re: https don't show theme

Post by fraenkiman » Sun Oct 02, 2022 11:27 pm

Hello, everyone,

I've been reading this topic for a while.

What is strange, for HTTPS a nginx/1.13.3 responds. An Apache also responds to HTTP.

The server configuration has to be straightened out. This will not be solvable with FlatPress.

@Lubomír Ludvík: Do you host yourself and also resolve DNS yourself or are both servers located at the provider?

Best Regards
My Flatpress-Blog [German]:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests