I think I already had this problem some month ago.
It may help you to add the following code to your themes functions.php: http://pastebin.com/KbjS4ZeG
The problem in this case was actually located in a wp core function (redirect_canonical() in wp-includes/canonical.php) which tries to “repair” broken/malformed url’s instead of showing an 404 error and ist not behaving in a constant way.
Related Posts:
- Use Notepad++ as HEX-Editor
- WordPress plugin archive
- Creating 20,000 Posts or Pages using a .csv file?
- Namespaces in WordPress – How do I initiate the main class?
- How to transfer a WordPress blog to a different domain?
- Change Page’s Tag Using functions.php File
- Plugin readme.txt and assets internationalization
- How to update plugin without overwrite custom code
- WP get_permalink Return Wrong URL
- WordPress Plugin for One-Time Event Registration? [closed]
- Remove toolbar option (and set to default to no) in user profile
- [Plugin: Posts 2 Posts] reciprocal connections
- MailChimp integration that allows users to select from multiple lists [closed]
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- filemtime() warning when enqueuing style within plugin
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Post query – show posts from specified day and month and whole years
- How to add social locker on custom fields
- Add custom message to the plugins page of WordPress
- How to redirect to edit.php page after saving the post,product and showing the message “post saved “
- Apple push notification doesn’t work
- WordPress Ajax Posting from App
- Is any gallery plugin available to generate galleries from existing uploaded images? [closed]
- How Do I Figure Out What File(s) to Edit from Looking at the Source Code [closed]
- WordPress multi domain – redirect
- Change permalinks of custom post type ‘question’ as post id or any random number once
- WP_Query and NULL meta keys
- Is it possible make a back-end for WordPress with WordPress?
- Conditional attributes and logic per product category
- jquery tinymce and bundled wp plugins
- How create Group Blogs based on user created Groups
- Displaying Custom Sidebar Without Modifying Theme’s Core File?
- Echo user id of users in seperate table
- How to upload multiple files/images when developing a wordpress plugin?
- HelpDesk solution for WordPress [closed]
- Best practice for including plugin output in a template without using shortcode?
- Recommend a flexible lightbox that allows an image or HTML to be used
- How to add an element right after the article using jQuery?
- How to reset wordpress but not plugins and settings
- WordPress reliability
- How do I avoid having duplicate of plugin in trunk?
- Use current class method inside add_submenu_page()
- Php page with filters for custom fields
- Advanced WordPress plugin activation detection
- Switch from wp-cron to a server cron job
- how to change wp-admin url using function file
- How to pass a query string to another page on the same site?
- How to change php variable value using wp setting api
- Not able to override plugin’s default css rules
- Allow multiple selection of user roles
- Is this plugin safe to run?
- Custom characters of tinymce editor are saved as question mark
- Language translation on a fresh english installation
- Themes conflicts and overrides my WordPress Support widget Plugin styles
- Disable Author Archive just for certain roles in bulk
- Sage wordpress add customize register
- Managing and deleting transients with dynamically generated transient names
- How to make PDF books readable on site with woo-commerce?
- How to implement color picker from WordPress in my boilerplate plugin?
- custom post type plugin error [closed]
- get_post_meta shortcode returns empty field
- Sharing varible between two add_actions
- How to get a specific string from a url
- Does anybody know how to insert a complete jquery plugin into a wordpress elementor-page?
- How to change WordPress core language using Loco Translate?
- Elementor JetEngine Listing Grid paging option
- Admin menu hilighting wrong item for CPT
- I would like to add a function that allows the customer to add multiples of the same product to their basket, how can I do this easily?
- How to disable/enable PHP plugin functionality based on a TinyMCE toggle-button
- Automatic set a featured image from the first image’s url (or tag) in the article
- flip horizontal images in bulk
- Flowplayer – Warning: Division by zero
- Why all my wordpress sites keeps telling me that everything is up to date at /wp-admin/update-core.php?
- How can I save cookies to members
- How to use get_user_by in plugin
- Can I Embed a Contact Form within a Contact Form Using Contact Form 7 in WordPress
- Using Widget Logic to place menu on multiple pages?
- Inactive Plugin Files
- Any way to edit/crop my featured image upon uploading?
- Translating wordpress plugin
- Strip shortcode from excerpt [duplicate]
- Upload an image in wordpress plugin
- Plugin – including external javascript calling google maps
- Plugin Hooks Not Shown in WP Cron Jobs
- Some of my php is rendered only when logged as admin
- Where did the “WP-Custom” plugin go?
- Replace Dash (-) and Underscore ( _ ) with Space
- How can I add different menus (different style menu) on each page?
- Custom Table doesn’t create on plugin activation
- How use Dynamic hyperlink on each wordpress post?
- How do I activate my child theme, as I do not see it in developer tools
- Jquery based image accordian plugin
- Can’t modify plugin function
- wordpress jquery is not defined because the head tag is empty
- how to show selected options drop down menu values in attributes field in after saving post.php
- fatal erro in one line if statment in wordpress plugin [Solved]
- Buffered output in chunks and shortcode – how do I achieve that?
- Transfer wordpress comments form on another post [closed]
- Achieve the following layout
- Change email notification language based on the site language in WPForms