Category pages regularly return 404, permalinks need constant resaving
-
I realise this is a returning issue but up until now I can not find a satisfying solution.
The problem:
Some of our category pages regularly return a 404 which can be solved by re-saving Permalinks. In our case this happens several times per week.Additional info:
The affected category pages are build with the DIVI Theme Building and linked to Post Categories.Unsatisfying solutions:
- Resaving Permalinks: This is what I do now but after the pages have gone offline which is too late, obviously.
- Turn off all plugins and themes and turn them back on to find which plugin or theme is causing it: I don’t know how this “solution” is suggested so often but on a live site this is impossible to do. I tried recreating the issue on our test site but I was unable to do so. I don’t know the cause and, apparently, the site needs visitors and/or administrators for the issue to happen.
- Save .htaccess files when the issue occurs and compare it with the .htaccess file while there is no issue. In our case these are exactly the same.
- Running a cron job to resave permalinks every hour (or so). This is what I will do when I can’t find a durable/permanent solution but this is simptom treatment, hence not ideal either.
Some plugins we use that might influence the affected pages
- Yoast SEO
- WP Rocket
- WPML
- DIVI page builder
Does anyone have any ideas (apart from the once listed above) on how to find the cause and maybe solve this?
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Category pages regularly return 404, permalinks need constant resaving’ is closed to new replies.