This is not a solution, but this works some of the times.
Try changing each and every relevant settings there is. Since we changed the permalink structure to 'custom permalink' the issue has been gone.
We were hesitant to change the permalink settings at first because that had caused all our global_colours to ‘invalid’. However, if we hadn’t had to change the settings, we might have been stuck in the problem still.
Related Posts:
- Removing the redirect after changing a page’s slug
- How can I force WordPress to redirect to canonical permalinks?
- Does WordPress send a 301 header message when you change permalink structures?
- Does rename of page slugs create 301 redirects from old slug to new (same as for posts)?
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- I’ve removed my /author/ slug but it clashes with new and existing pages. Any fixes?
- remove SLASH on single_post but KEEP on categories and parent pages
- Pages resolve at different URLs (different capitalizations)
- WordPress not remembering old slugs for pages
- Is it possible to get a page link from its slug?
- How does WordPress handle permalinks?
- How does wordpress keep track of post id when post id is not used in permalinks?
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- 301 Redirects for Changed Permalink Structure & Category Base
- URL rewrite based on a custom field value
- Why don’t WordPress post slugs allow accents?
- Passing variables through permalink structure
- How to Remove Slug From Database?
- How to make draft posts or posts in review accessible via full url / slug?
- Remove parent slug for child pages
- Changing pemalink structure to /%post_id%/%postname%/
- htaccess or redirect to cloak portion of a link?
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- WordPress on VirtualBox – no pretty permalinks
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- Redirect old permalinks with Month and name to Post name on new site
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- Top level Pages redirecting to homepage!
- Is using %postname% for permalinks really that bad for performance?
- Specific URL Rewriting with parameters in wordpress
- How to generate random numeric slugs for a custom post type?
- Can’t get rewrite rules working
- Change author slug and functionality
- How to modify the slug for the default wp posts without affecting other posttypes?
- Auto-create a pretty permalink for a bunch of posts
- Post incorrectly displaying as page
- wp_logout_url redirects to incorrect page because of pagination
- Get new WordPress slug from old wordpress slug
- Changing the post date without causing 404 error
- filtering special chars from post slug
- force permalink slug for page vs post_type slug parent
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- wp not making CPT permalink / slugs unique
- WordPress 4.4 old permalink redirect
- Slugs Disappeared Leaving 404s – Quick way to repopulate?
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- Custom permalinks in WordPress
- Freeze child page URLs so parent permalink changes don’t give 404s?
- How can I make internal anchor links work with WordPress’s permalinks?
- What causes /pages/ to appear in URI, and how to remove it?
- wordpress how to replace url /bar with foo/bar for custom post type
- Media/attachment urls don’t redirect with fake URL structure
- Test site pages go to main site
- Redirect From Url To Url
- how do prevent wordpress from creating permalinks for media files
- After cloning WP do a subdirectory, I can’t access it
- Bulk append URL (add word to slug)
- change WordPress permalinks and redirect new urls 301
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- Why does enabling Permalinks make pages not found?
- Passing variable as permalink URL
- new page redirect to old page which had the same permalink
- Page content doesn’t display when published but does when previewed as draft?
- Remove international characters from slug – Almost done – Bit help
- How to create posts or pages with the names in wordpress?
- All pages load the home page if pretty permalinks are used
- Change url of page according to my requirements in wordpress
- How to remove slug from front page?
- Modify post slug before saving
- Does wordpress take care of slug collisions?
- corrupted URLs – can’t leave starting page
- Find all URLs for a post
- Add base folder to CPT and 301
- How can i fix my permalinks?
- WordPress slug confusion
- where can i see wordpress automatic redirect History
- Extending page urls without getting a 404
- home page slug editor missing from WordPress
- permalink not showing correctly using wp_insert_post and post_name
- 404 error on published page with specific permalink
- How to experiment with permalink structure on a select number of posts
- redirect any category in URL to the ID and post-name only – hundreds of pages affected
- Automatisation permalinks for each making of new page
- Post redirected to page with same name but DIFFERENT permalink
- Changed Permalinks settings, how do I redirect posts on Nginx?
- Post permalinks go to the home page
- Can’t access WordPress site in subfolder possibly because of .htaccess redirect from root installation?
- changing permalink gives 404 error for old links
- Uppercase vs. Lowercase page slugs
- All pages lead to home
- Possible to hide parts of the slug from get_template_directory_uri and bloginfo(‘template_directory’)
- How to update permalink on the fly?
- Redirecting From An Old Permalink Structure
- Removing /wp in Permalink URL of subdomain led to inaccessibility to WP Dashboard
- Where does the redirect from shortlink to permalink happen?
- Permalinks and redirects
- How to Stop WordPress Change Slug Automatically Same as Title When Publish?
- How to change the category and post prefix/slug to be the same in WordPress?
- Get Page URl when changing slug and permalink