This turned out to be a bug in WordPress version 3.4.2.
Bug report
http://core.trac.wordpress.org/ticket/15665
It’s been fixed and will roll out with WordPress version 3.5
Related Posts:
- Is it possible to get a page link from its slug?
- How to Remove Slug From Database?
- How can I add a page’s ID to its permalink using WP_Rewrite?
- get_permalink returning site home url instead of the url of slug being passed
- How do I structure my permalinks in WordPress?
- WordPress slug issue with non-latin characters
- How can I reverse engineer a Permalink to Find the Page?
- How does wordpress keep track of post id when post id is not used in permalinks?
- Change slug on post creation
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Page begins with number, WordPress adds 2
- Removing hierarchical pages in the permalink
- Can WordPress realistically handle a site with 500 ‘pages’?
- Why don’t WordPress post slugs allow accents?
- Is It A Good Idea To Change Author Slug (user_nicename field) Directly In MySQL DB?
- How can I force WordPress to redirect to canonical permalinks?
- When creating a WordPress page, a “-2” suffix is added to new pages’ permalinks
- Passing variables through permalink structure
- How to get a page url by a page id?
- How to make draft posts or posts in review accessible via full url / slug?
- Remove parent slug for child pages
- Replace WordPress %postname% suffix with %postid%?
- Relative or Absolute Paths for Flash Video Player Files
- Should I use relative or absolute urls when pointing to internal pages
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- Why I can’t change the permalink of this page?
- Make attachment pages require a base url
- Is using %postname% for permalinks really that bad for performance?
- Page Attachment Permalink Structure based on Menu Order?
- Change author slug and functionality
- Get closest page ID from URL
- How to modify the slug for the default wp posts without affecting other posttypes?
- Permalinks for pages
- Permalinks by page/post name returning 404
- Does rename of page slugs create 301 redirects from old slug to new (same as for posts)?
- Pages not using permalink
- Non latin post slug truncate
- filtering special chars from post slug
- Share same Slug for a Custom Post Type and 2 Taxonomies
- Is it possible for a custom post type and sub pages of a page with the same slug as the custom post type to share a slug?
- Add prefix to page URL based on the page template
- force permalink slug for page vs post_type slug parent
- wp not making CPT permalink / slugs unique
- Get the url of a page template without using the page slug and ID
- Remove -2 from URL; no duplicate pages, no images, no pages in trash
- Edit page slug after save, cause 404 by linked pages
- Let me choose permalinks
- Passing the JQuery string to Worldpress URL
- Custom permalinks in WordPress
- Permalink opens attachment instead of page
- wordpress how to replace url /bar with foo/bar for custom post type
- Edit permalink for certain pages
- cannot link a external url, present page url acting as parent url
- Test site pages go to main site
- how to get a list of all top level pages
- Redirect From Url To Url
- how do prevent wordpress from creating permalinks for media files
- I’ve removed my /author/ slug but it clashes with new and existing pages. Any fixes?
- Bulk append URL (add word to slug)
- How are WordPress Page URLs affected by permalink settings?
- How to use page jumps to top of banner and page title?
- WordPress Page Not Found if Permalink Settings is Postname
- Pagination url for page template
- Why does enabling Permalinks make pages not found?
- Under What Conditions Can I name my CPT the same as my CPT Page?
- Update page breaks permalinks
- WP as a CMS menu
- Subdomains pointing to a permalink URL
- How can I see a list of all pages my WordPress site has generated?
- Remove international characters from slug – Almost done – Bit help
- How to create posts or pages with the names in wordpress?
- Non Latin page permalink problem
- How to remove slug from front page?
- New posts link to old posts (random)
- Modify post slug before saving
- Does wordpress take care of slug collisions?
- WordPress slug confusion
- Code snippet to add filter pre_post_link to change Media URL (post_type attachment permalink/slug)
- Nested permalink without dummy parent page
- Custom Permalink (with category) for Pages
- 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
- Can I link to content dynamically from a page to a new page?
- Problem with permalinks
- Page returns 404 for specific permalink
- Change all pages permalinks instead of hierarchical to have id of the page
- Force/Limit the post/page slug to accept only url friendly characters
- Page permalink ending in “-2”
- Removing or hiding slug/permalink from htaccess
- Change the permalinks structure
- Uppercase vs. Lowercase page slugs
- Development before domain name chosen
- Possible to hide parts of the slug from get_template_directory_uri and bloginfo(‘template_directory’)
- How to update permalink on the fly?
- Category pagination first link works, remaining don’t
- Permalinks of New Pages and their Parents
- Why doesn’t my page know it’s a page (won’t return true for is_page())?
- Display a custom slug in URL depending on user variable
- UI does not show correct Slug after modified using save_post action