adamshand
Forum Replies Created
-
Thanks for the reply!
That is definitely the problem. Now to figure out why this problem has suddenly appeared? I’m the hosting provider. ??
Probably something weird with Docker.Forum: Fixing WordPress
In reply to: Moving WP Multisite – getting infinite redirectsOkay I think I’ve figured this out. Documenting in case it’s helpful to some poor future soul.
Once I followed the instructions in this post and added the below snippet to my
wp-config.php
, everything started working.if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {? $_SERVER['HTTPS'] = 'on';? }
With this snippet it no longer matters whether the “Site Address” is set to
http
orhttps
, it just works.It seems like this shouldn’t be required and this should be fixable by making sure that the headers are getting passed through correctly. But I couldn’t figure out any combination of headers that made WP behave as I expected.
- This reply was modified 2 years, 11 months ago by adamshand.
Forum: Fixing WordPress
In reply to: Moving WP Multisite – getting infinite redirectsOkay it appears to just be caught in a loop. If I go to
https://adam.nz
WordPress gives the browser a 301 redirect tohttps://adam.nz
.It’s like Multisite thinks that the “Site Address” doesn’t match the URL, even when it does and so it redirects the client endlessly.
I’m assuming that this is something to do with the reverse proxy setup, that the URL is getting lost as it’s passed through to WordPress. I tried updating my Caddy config to:
wp.shand.net, adam.nz { reverse_proxy wordpress:80 { header_up Host {upstream_hostport} header_up X-Forwarded-Host {host} } }
But it completely breaks if I do that. I’m starting to suspect that this is a Caddy problem not a WordPress problem.
- This reply was modified 2 years, 11 months ago by adamshand.
Forum: Fixing WordPress
In reply to: Moving WP Multisite – getting infinite redirectsThanks for the suggestions, will do some more experimenting.
Forum: Themes and Templates
In reply to: [Koji] Missing Featured image on mobile format@derfuchs98 sorry for delay. Took me a moment to remember how I did it! ??
It’s one of the blocks from this collection:
https://getwid.getmotopress.com/blocks/image-slider-block/
Good luck!
Forum: Themes and Templates
In reply to: [Koji] Missing Featured image on mobile format@derfuchs98 No worries. :-). I’ve done a few different things as I experiment. Which page were you looking at?
Forum: Themes and Templates
In reply to: [Koji] Missing Featured image on mobile formatI see featured images on your site when I visit. iOS safari.
Forum: Themes and Templates
In reply to: [Koji] Missing Featured image on mobile formatCan’t help but it’s working fine on my setup running latest version of WP and Koji.
https://adam.nz/2020/the-kindness-of-strangers/
I suspect you have a conflicting plug-in or some such.
Adam.
Forum: Themes and Templates
In reply to: [Koji] Category and Tag Pages: Links & SpacingLooks great, many thanks!
Forum: Plugins
In reply to: [Redirection] Feature request: Ignore 404s based on user agentWhoops, just figured out how to search by user agent. Useful!
Only downside is that I think you can only delete one page at a time of matches?
Forum: Plugins
In reply to: [Koko Analytics] Feature request: Link referrers and viewsThanks, I look forward to it. If I can help test or offer feedback, I’m happy to help.
Cheers.
Forum: Themes and Templates
In reply to: [Koji] Tagline Word WrapFWIW both tagline wrapping and featured thumbnails seem to be working for me on Chrome. Both on my site and yours.
https://www.dropbox.com/s/d517jpyxtx4ac8v/koji-wxinsights.png?dl=0
Looks great, thanks!
Forum: Plugins
In reply to: [Modern Footnotes] show tooltips on hover?It looks like you solved your problem, how did you do it?
Forum: Fixing WordPress
In reply to: Random gallery plugin?It does, thanks!