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?
- Pretty permalinks for search results with extra query var
- WordPress slug issue with non-latin characters
- Must slugs be unique?
- How does wordpress keep track of post id when post id is not used in permalinks?
- Stop WordPress from reserving slugs for media items?
- Change slug on post creation
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Post type child of another post type
- How to prevent apostrophes and quotes from appearing in permalinks?
- 301 Redirects for Changed Permalink Structure & Category Base
- URL rewrite based on a custom field value
- Why don’t WordPress post slugs allow accents?
- Is It A Good Idea To Change Author Slug (user_nicename field) Directly In MySQL DB?
- When creating a WordPress page, a “-2” suffix is added to new pages’ permalinks
- How do I turn off 301 redirecting posts (not canonical)?
- Subdomains to pages
- How to i18n slugs for templates?
- Redirect old permalinks to new permalinks
- Passing variables through permalink structure
- + Character in permalink
- Remove parent slug for child pages
- How can I include a query string with get_permalink
- How to Remove Slug From Database?
- How to make draft posts or posts in review accessible via full url / slug?
- Permalink redirection from ‘Day and name’ to ‘Post name’
- Remove parent slug for child pages
- Nicest way to 301 Redirect traffic when changing permalink settings
- Replace WordPress %postname% suffix with %postid%?
- Limiting the number of words or characters in the slug/permalink
- Changing pemalink structure to /%post_id%/%postname%/
- htaccess or redirect to cloak portion of a link?
- Redirect short-form URL to long-form URL (post_id to post_id + post_name)
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- WordPress on VirtualBox – no pretty permalinks
- How to identifty post from its URL in 404 page?
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- Stop redirecting to posts not in a category / duplicate slugs
- WordPress 3.4 Permalinks Redirection Problem
- Random Alphanumeric Key URLs
- How to edit the slug/permalink in Gutenberg?
- Redirect old permalinks with Month and name to Post name on new site
- Make attachment pages require a base url
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Using WP rather than .htaccess to redirect pages/posts
- .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?
- WordPress redirection problem after moving to a new server?
- Specific URL Rewriting with parameters in wordpress
- How to generate random numeric slugs for a custom post type?
- Can’t get rewrite rules working
- How to 301 all posts
- WordPress within specific sub-directories, implicitly not root
- Filter string like a slug
- Change author slug and functionality
- Get canonical link
- How can I add a page’s ID to its permalink using WP_Rewrite?
- 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
- If I change permalink structures, can I use htaccess to permanantly redirect links?
- Redirect parent taxonomy to it’s child
- Need Help Correct Regular Expression Redirect Code
- Infinite redirects after changing the permalink of a page
- Custom Permalink
- Get new WordPress slug from old wordpress slug
- Changing the post date without causing 404 error
- Change permalinks on move from one site to another
- Non latin post slug truncate
- filtering special chars from post slug
- Editing URL character replacement
- Child post with numeric only slug keeps redirecting to parent
- Share same Slug for a Custom Post Type and 2 Taxonomies
- List / Get post redirects
- force permalink slug for page vs post_type slug parent
- Redirects after permalink change
- How to 301 redirect from one url to another properly
- Redirect a Blogger Page URL to wordpress
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- get_permalink returning site home url instead of the url of slug being passed
- wp not making CPT permalink / slugs unique
- Redirecting all posts after changing URL structure with htaccess
- Redirect all posts permalinks from “.html” to “/”
- Edit page slug after save, cause 404 by linked pages
- WordPress 4.4 old permalink redirect
- how to redirect old blog post urls when permalinks are changed
- Htaccess https 301 problem