Not sure exactly how you’re adding “find” to the list of query variables, but this is the method you’re supposed to use:
function wpa_20565_query_vars( $public_vars ) {
$public_vars[] = 'find';
return $public_vars;
}
add_filter( 'query_vars', 'wpa_20565_query_vars' );
I use that to add custom pagination for my custom post types and custom filters for various other uses. It should make WP recognize and ignore the “find” query variable.
My next recommendation would be to enable the Debug Bar plugin and see what query it is WordPress is actually seeing. I’d also love to see the code you’re using to create the “next page” link that’s giving you a bad URL. It might also be partly responsible for the problems.
Related Posts:
- Using $_GET variables in the URL?
- How to make variables in URL look like the permalink structure?
- stop the_permalink printing and save as variable?
- Passing variable as permalink URL
- Passing user defined variable into get_permalink
- Stop WordPress appending `-2` to the end of my url after i change it
- WordPress Permalinks not working in Apache2 Ubuntu 14.04
- Get current URL (permalink) without /page/{pagenum}/
- Removing the redirect after changing a page’s slug
- How to display a public profile page for registered users with custom slug?
- How does wordpress keep track of post id when post id is not used in permalinks?
- Permalink Issues by Installing WordPress in Subdirectory / Subfolder
- How to add query parameters to all internal links?
- How to make draft posts or posts in review accessible via full url / slug?
- Add custom directory in URL
- WordPress overrides the GET variables, (page_id) set in HTACCESS
- Arabic permalink not found
- WordPress 3.4 Permalinks Redirection Problem
- Change permalink for a single post entry
- Does WordPress send a 301 header message when you change permalink structures?
- WordPress redirection problem after moving to a new server?
- Different permalink structure per category
- Multilanguage URLs
- Trying to get property of non-object when using get_post_permalink()
- Add .html to Woocommerce permalinks [closed]
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- Is the ‘/category/post-name-date/’ permalink structure okay?
- how to add two same slug under two category?
- Does changing a post title of a published post automatically change permalink?
- How to Get Page 2 / Paginated RSS Feed with Custom Permalink Structure?
- 301 Redirects Result in 404 for WordPress Search Query Strings
- After updating to 4.8 permalinks will not work (all 404)
- Illegal characters in URLs
- conditional statement for active permalinks
- Editing URL character replacement
- Why wordpress kicks me back to the dashboard of xampp? [closed]
- WordPress archive permalink with leaf category
- Permalink shows garbage character
- Rewrite rule intended for CPTs gives 404 for pages
- Redirecting all posts after changing URL structure with htaccess
- Permalink redirection.
- All top-level pages are using index.php as template
- Redirect all posts permalinks from “.html” to “/”
- how to redirect old blog post urls when permalinks are changed
- Nginx url rewrite rule problem
- Disable date based archives for all categories except one
- Permalink options page corrupts web.config file
- How to rename ‘Tag Base’ with WPeC 3.8?
- Custom rewrite rule ignored
- Permalink target for recent post
- Permalink Problems
- Make last three words of excerpt a link
- How do I reclaim either deleted pages or their permalinks?
- url rewrite .htaccess extension to permalink
- Permalink of a page that has already been deleted
- How to remove .html from admin
- Retrieve default permalink while using seo friendly URLs in WordPress
- When I click on a single post my browser goes to about:blank#blocked and the page is white
- WordPress Permalinks problem
- How to get rid of an extra middle part my permalink
- How Can I Use a Custom AccessFileName?
- xammp server permalink by postname not working
- Redirect after permalink changes
- Blogger To WordPress Permalink Redirection
- get_permalink() gives a certain page link only. how to solve this.?
- replacing post ID by custom post name in url
- Change type of permalinks on TinyMCE link dialogue
- Problem with special character WordPress
- Permalinks and page store
- Change pemalink for one single post without redirect
- Add .html permalink to post if specific category
- Strip subcategory base from URL
- rewrite based slug standar post wp
- How to change specific permalink in wordpress site?
- assets aren’t loading on a page but loads on others? slug permalink conflict?
- remove SLASH on single_post but KEEP on categories and parent pages
- Change Project permalink to custom URL
- Edit Post Permalink option removed, looking for possible causes
- Site Tagline ended up in permalink
- Got 404 error when changed siteurl via DB in WordPress
- Permalinks don’t update nor link properly
- Getting 400 Bad request Error when trying to open posts after updating to wordpress 5.0
- Category Base permalinks
- Pretty Filter URL
- get_permalink to an anchor
- Add URL to selected post in meta box
- Add Custom Pagination Permalink
- Prevent guessing slug
- Pretty permalinks to work for lighttpd webserver?
- Pages included in another page and duplicate content issues for SEO
- Customize category permalinks
- WordPress archive posts returns user to homepage
- URL to an image in a post is changing when permalink is set to custom. Can I avoid this?
- How can i edit all posts slug in bulk keeping WP native redirect?
- permalinks url with woocommerce
- Blog url disappears
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- How to make my custom permalink pull up the correct post
- How to Set Both Category and Sub-Category Level at Root. It should also obey post rule as /category/sample-post and /sub-catgeory/sample-post?