I believe this is because cat is a reserved query parameter. Try change it to a different name like ‘category’ or just ‘c’.
If you compare the two URLs before and after the redirect, are they the same or changed slightly?
Related Posts:
- Display certain amount of posts on taxonomy archive page
- Display Post co-authored in Author Page
- Get taxonomy terms only of the WP_Query current posts
- How to insert wp_users ->user login name to wp_terms when a new user registering?
- Search for single post by 2 tags
- WordPress search query, how to modify the sql
- Three different queries on same page
- Build a content and excerpt grid loop with paging and options for # of posts
- Counting number of posts in a category and its sub categories and displaying result using shortcode
- Using Cookie Data For WP_Query Loop
- wp_delete_post deletes all posts instead of just expired ones
- Trim first 2 words of the exceprt
- Sorting Posts | Alphabetical Order
- Looking for most performant way to execute several similar WP queries within shortcodes
- Get the last month with posts using a recursive function…
- WordPress custom slug (endpoint) and compare all links
- get current custom post ID by WP_Query method
- wp_query with cat not working
- get_the_tags() not iterating through for/while loop, but will with foreach
- Recent Posts slider, using WP_Query(), loads duplicate sliders
- Compare post-IDs within WP_Query? (Less than / Greater than)
- How to use $query->set with post__in?
- Why do WP_Query results change after updating unrelated Advanced Custom Fields (ACF)?
- Display a specific category of products in shop page and disable code for specific actions
- get_posts() and WP_query limits ‘AND’ conditions to a maximum of 6 for meta value queries in WordPress
- Custom query, checking values of multiple meta keys
- Redirect to another page using contact form 7? [closed]
- Fatal error: Call to a member function query() on a non-object
- Is it possible to retrieve all posts with a certain value for metadata?
- Hide image if taxonomy term is empty
- How to filter custom taxonomy term name, slug, and description?
- Trouble inputting variable into WP query
- How to override url params with rewrite rules vars?
- Add class to website based on post taxonomy
- WP_Query | IF within $args array | Help me only add specific arguments if the argument is not blank
- Array to string conversion on array_map
- Store metakey value as an array
- Target post_date_gmt if it’s empty or not set
- Get all posts as an array ID => Name
- Passing an array into WP_Query as a variable
- Custom query vars filters problem with pagination
- WordPress meta_query >= &
- Change header on pages displaying taxonomy items
- Do not duplicate posts with multiple categories in multiple loops
- WordPress site with embedded menu – gives You don’t have permission to access /wp-content/themes/xxx/taxonomy-redirect.php on this server
- Dividing the loop to style post differently
- Displaying Event within two given time frames
- Remove Post if Advanced Custom Field is checked to fix paging
- WordPress SQL JOIN query
- WP_Query and help with the loop for magazine front page
- Search AJAX Filters – Multiple Query Loops Into One Loop (Optimization)
- WP_Query: How to get results from both meta_key options?
- How to WP_Query posts order by parent title?
- search.php to search only the post title
- How to change the author box selection on a post to a custom taxonomy
- Output product category link from WP_Query
- WP_Query – How to query all of post types categories
- How to work Woocommerce pagination inside shortcode?
- Passing in MySQL prepare statement parameter separately throwing error
- How do I edit the terms output args or array data?
- Load more posts using AJAX based on posts inside WP_Query
- Custom search query on WordPress page not working
- ACF Taxonomy field values not select in backend
- How to select post ID for given parent name with nested prepared queries?
- posts_per_page displays only 2 posts instead of 4 posts
- Use WPQuery to match to specific repeater row in post
- WP_QUERY post_in problem
- how to get data from two different table from wordpress database
- Multiple Tag Filtering
- Need to show 7 posts from actual date
- Add code to the header of posts by particular author
- Paged WP_Query is quitting on page 3
- Get Child of Child Pages in custom Menu
- Modify post image in full size
- Meta query not showing result properly
- Help on Wp_query to print an term
- Ordering / grouping posts by datepicker ACF
- Include search tags and users in my search results system
- Add custom taxonomy to custom search for posts
- making a search.php query
- My query keeps looping infinitely ! how to stop it?
- Efficient way of querying for a “fallback” post?
- Only Get A Certain Number of Posts From WP_Query
- Create a hierarchical loop at predefined markup requirements
- Use custom get results query to show posts WordPress
- Change taxonomy for categories
- Query seems to be duplicated
- ISOTOPE – Missing/Invalid Arguement Get Terms
- Keeping the previous get value and add another value when submitted
- Pagination in category.php not functioning
- WP query with variables gives no result for specific user
- Changing regular db connection to $wpdb
- Variable ++ in query loop
- XML WP_Query problem in PHP 8.0 and 8.1
- a problem in class in class-wp-hook.php
- Count custom posts type and filter by tag
- AJAX WP_Query’s order and orderby parameters not working
- WordPress taxonomy and terms question
- How to limit number of posts in the certain category and exclude the oldest post automatically
- How do I display WooCommerce products in my query to rows of 3?