I’m dealing with a puzzling problem with permalinks on a WordPress website that has been operating on the identical host for a number of years. A current improve of WordPress, its plugins, or the shared internet hosting infrastructure may need precipitated this, however since it isn’t precisely identified when it began, it is tough to pinpoint the precise trigger.
Signs: as quickly as a brand new publish is revealed, every little thing works OK for all of the posts. About quarter-hour later, the newest publish (based mostly on date, not ID) will cease working – navigating to its permalink will end result within the ordinary WP 404 web page. Enhancing the publish will make it work once more – for quarter-hour. Altering permalink settings will make it work – for quarter-hour. It’s all the time the newest publish that will get damaged.
What I’ve tried: moreover what’s described above, examined a number of browsers, connections, HTTP 1.1 vs. 2.0, examined disabling caching (xcache/opcache) within the internet hosting management panel, upgraded WordPress from 5.8.x to the newest 6.1.x, to no avail. There aren’t any errors logged to any of the logs when this occurs.
Setup: WordPress 6.1.1-sk_SK, theme: Twenty Eleven 4.2 with a customized baby theme, plenty of plugins, operating on PHP 7.4 with MySQL 5.7.
The .htaccess file at the moment has the mod_rewrite guidelines for the Actually Easy SSL plugin and the generic BEGIN WordPress/END WordPress block plus php_value opcache.allow 0
line.
I am suspecting it may very well be one way or the other linked to the pretty outdated TwentyEleven theme? Or one thing fully completely different? I am operating out of concepts on what to attempt – any ideas might be greater than welcome!