Related posts different between local / production
-
Client called to our attention that related posts seem to be… weird. The example they used was for the Broad Headed Skink (posts at bottom):
https://encyclopediaofalabama.org/article/broad-headed-skink/
Indeed, these posts seem to have nothing to do with the article:
https://imgur.com/qpuRAhO
When I outputted their scores on the page they look like this:
https://imgur.com/CUh2OE2
Now HERE’S THE WEIRD PART. I pulled the site down to my local to try to troubleshoot the issue. When I first pulled it down it looked just like live with the odd related posts. But then I cleared the cache and everything seemed to work properly:
https://imgur.com/FN4ZBXW
https://imgur.com/8BOhcNm
However when I clear the cache on production, nothing changes. Why would two different sites that have the same database show different results? The only thing I can think of is that maybe the cache is failing to clear? What else could cause this?
For what it’s worth, I’m hosted on WPEngine.
Thank you!The page I need help with: [log in to see the link]
- The topic ‘Related posts different between local / production’ is closed to new replies.