Closed ccorda closed 1 year ago
Able to duplicate here:
curl -I https://bubsnext.wpengine.com/foo
HTTP/2 307
server: nginx
date: Thu, 09 Feb 2023 23:15:24 GMT
content-type: text/html; charset=UTF-8
content-length: 0
location: https://bubs-next-git-sitemaps-robots-patronage.vercel.app/posts/kitchen/
x-powered-by: WP Engine
link: <https://bubsnext.wpengine.com/wp-json/>; rel="https://api.w.org/"
expires: Wed, 11 Jan 1984 05:00:00 GMT
x-redirect-by: WordPress
x-cacheable: non200
cache-control: max-age=600, must-revalidate
x-cache: HIT: 1
x-cache-group: normal
x-orig-cache-control: no-cache, must-revalidate, max-age=0
When requesting
/foo
on the origin, had an instance on a recent site where headless redirect was returning the slug of the most recent post.Not sure if this is widespread, as I wasn't seeing this on other sites (need to test if we can recreate).
Solve ended up being to add a specific check: