WordPress experts – I am beating my head against the wall. On one site, https://t.co/ChcOEEKcKG redirects to https://t.co/eunndVdO7O. On another, it doesn’t. I can’t figure out why. There’s no redirect_canonical involved that I can find.
@developerjack Appears to be happening at WordPress level, not Apache. Tried turning off different plugins, doesn’t seem to make a difference.
@Mikenicholls88 Redirect is happening at WordPress level, somehow.
@pwcc Yes, just says WordPress. No multisite.
AH HA. Seems to be related to the fact that one site has a static page set as homepage, and the other has list of latest posts.
Okay, so here’s the magic: IF you have a static home page set in WordPress, then any subdomain (other than www) that has no path specified (aka https://t.co/mWJcALAUrO) will redirect to your site URL. However, if you ask for https://t.co/Fzd3Ypcxbv, then it will NOT redirect.
BUT if you have WordPress set to show recent posts (like for a blog), then https://t.co/j2YWBFAntZ will NOT redirect even without a path.
So what is the point of all this? The point is that I don’t know how CloudFront *isn’t* barfing on https://t.co/tpSG1KvRg5.
WAIT, WE FIGURED IT OUT. 😅 CloudFront is forwarding the host header when it requests from origin, which is why it’s not getting itself into a circular loop. https://t.co/M5d4jrvZpu
Going down a WordPress/CloudFront/redirect rabbithole… or: How I spent my Sunday. https://t.co/2szCIfSEXi 😅
@gilmae The most painful part is if we had tested any other page than the homepage, we would have solved it six hours faster.
@gilmae I found this the other day. Enjoy. https://t.co/gopoUzQTzA
I’ve got a new iPhone with Portrait mode, and the first thing I’ve used it on is this Maple Walnut Cornbread I baked tonight. 😍 https://t.co/lwsrXZO60t https://t.co/kpyLC7tloS
We are up to Cocktail #12 – a hot toddy! Perfect for a cold winter’s evening. https://t.co/dOeXsGUpez 🍋🥃🍯
RT @cyetain: You know why I’m giving you a dirty look with my mask on? https://t.co/cHXhue7EEt
Snoozing. https://t.co/hY8Qt81ZeS https://t.co/7AdMlHr3yR
@chrisgander If you haven’t found it yet, annotated lyrics on https://t.co/QtwPROiuqJ are amazing. Explain both the hip-hop references and the history, and several are from LMM himself!
@jeamland @The_McJones Will it be possible for me to earn some sort of Banrock badge or mayorship? Because then I’m IN.
RT @jimmisimpson: They finally got the Disney World ad right. https://t.co/avy2PUOQXQ