Why am I getting a 404 on anything past page 1 of my query?

So, it turns out my hunch was correct and the solution is to add some rewrite rules. Here’s what I added: function owr_blog_rewrite( $rules ) { return [ ‘notes/topic/([^/]+)/?$’ => ‘topic=$matches[1]’, ‘notes/topic/([^/]+)/page/([0-9]+)/?$’ => ‘topic=$matches[1]&paged=$matches[2]’, ] + $rules; } add_filter( ‘rewrite_rules_array’, ‘owr_blog_rewrite’ ); Everything works as expected now

Is it possible to remove feeds from rewrites?

Why are you removing rewrite rules? These should not noticeably impact performance, unless there were thousands of entries. Yes, you can remove them, but you will break any functionality associated with those urls, and you won’t improve your site’s speed at all. If you’re concerned about site speed, check out YSlow and Google Page Speed … Read more

Custom Post Type rewrite rules not working, how to alter the rewrite order?

While you’ve found the problem already, here is some basic code to move a specific rule to the end of the rewrite rules with the rewrite_rules_array filter for people stumbling across a similar problem. Say I want to move the rule for ([^/]*)/([^/]*)/?$: add_filter(“rewrite_rules_array”, function($rules) { $keys = array_keys($rules); foreach($keys as $rule) { if($rule == … Read more

url keeps redirecting to a page

I was able to solve the problem by just clearing the cache. If anyone facing similar issue you may try Deleting the browser cache, or trying in incognito mode Contact hosting as ask them to clear any server cache or disable any caching features they have Save the permalink again or delete the rewrite table … Read more