It turns out WordPress uses query vars to route the request to posts/pages etc.
It ended up being the case that some of my field names were already used by WordPress internally.
Check http://codex.wordpress.org/WordPress_Query_Vars for the list of vars you shouldn’t use
Related Posts:
- How to get the form code from the edit page of a specific post?
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- Post/page title to permalink transformation – what is behind the scenes?
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- Post titles and thumbnails as links to custom post types?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Link post images to post
- Making posts permalinks consistent numbers
- Can Permalink structure of %postname%/%post_id% improve performance
- How to link post titles on page A to its posts on page B?
- Problems with WordPress in subfolder, posts show a blank page
- how to create a sub section in posts
- Categories Listing and Highlighting current category item
- In admin panel, use a form to create a post?
- Changing permalink of WordPress
- Rewriting blog permalinks
- Set Default Post as Parent Child (Nested) Relation
- How can I add random alphabets in wordpress permalink posts structure
- Change permalinks for posts & for custom post types
- Mailing list submission from a post that doesn’t have a form on it
- Remove subcategory slug from url
- Can I show category name in url for only one of my categories?
- How to let a user create a post by submitting a POST form?
- Permalink Short code showing unnecessary link text inside the loop
- How can I pass form entry to another form on a new page
- Please help a newbie with blog page issue?
- My post permalinks are redirecting to the post archive page for some reason?
- Not adding a new post?
- How can I make a post sub link?
- Redirecting wordpress search query to archive page
- How do you change the permalink for posts for a single category?
- Private post caught in endless redirect loop
- How to set the post permalink using the WordPress REST API?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- WP posts using index.php instead of single.php
- How can I create a Survey Form in WordPress that users can fill in and then submit the entire survey contents as a post?
- How to add a ‘News’ section to specific posts in WordPress
- unable to display two post per page in wordpress front-page.php
- WP Ajax returning 0, can’t find action
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Add a url parameter to the current post and read it in a shortcode
- How can I set the permalink of an article / page equal to the permalink of an existing article / page?
- Prevent Archive URLs
- Custom Post Types and Broken Permalinks
- Secretly passing post ID/title etc into a shortcode form automatically to link submission to post
- Custom permalink for wordpress page / post
- Creating a frontend blog post form for logged in users only
- Permalink structure for two seperate blogs
- How to add category base prefix to wordpress permalink
- Category URL to use same string as Post URL Permalink
- My post permalinks are always the same
- Ajax the create and edit post form into lightbox and get results
- Permalink base only for posts
- Change the URL of posts by category
- How to give priority to page than to posts permalink structure?
- Append a random string to a post permalink
- Point users to a specific url directory for some posts
- Precedence of page permalinks over woocommerce product category links?
- Post & Category Archives URL structure
- Fixing the WP Post Object for Custom Route
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- Display result of custom form
- All my posts don’t show, only the headline is displayed on the homepage
- How to change post template via url?
- Changing a field value on submit using a PHP variable
- Posts in Page – How to customize the URL?
- Is there a way to change the complete URL of the blog post for a redirecting tracking link?
- WordPress with static posts page and custom permalink structure doesn’t find posts with numeric permalinks
- Use a custom post URL that is outside the blog root directory
- Save/retrieve form data best practises for theme development
- Can’t seem to replicate permalink structure for localhost development site
- WordPress rewrite url help needed
- Permalink of some posts change
- form to post multiple inputs into post_content
- My posts section for logged in user
- Change link to permalink inside post content
- One of my posts is displayed as page
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to mix pages and sub-categories in a url
- Modifying the permalink href for posts with jquery
- User driven content problems
- Changing permalink of custom category
- TCPDF and permalinks
- Overwrite URL on blog posts
- WordPress sub-posts and permalinks
- How do I insert a custom field in a user submitted post?
- How to display subcategory articles in the category view?
- Change posts URL [duplicate]
- Can’t assign another category other than Uncategorized int he following front end post submission form?
- 301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
- How do I add /blog/ on my permalink without affecting the portfolio project types permalink?
- Get Video Attachment to post
- Permalink remain the same on each page
- How can we pass a value from the_permalink() at WordPress?
- Read more link not working [closed]
- After the local installation of an old WP website I can see the homepage but I can’t access to the articles, why?
- Default post type doesn’t display in url
- Changes done in admin panel are taking time to reflect in the REST api responses
- How to change Permalinks only for Blogposts
- How can I add a custom caclulation form in post?