I’ve shared this exact frustration before. The following should help return any lost sanity.
Your first rewrite is pretty loose and is not seeing your second rewrite because ‘page’ matches your second segment of ([^/]+). The way to fix this is reverse the order of registration within the code. If the paged rewrite is below the looser rule, place it one line above or vice/versa wherever you register the rewrite rules.
You’ll see the rules appearing properly within the analyzer.
Hope this helps!
Related Posts:
- Date based URLs for custom posts and pagination
- Add ‘articles’ prefix before blog posts url without affecting pagination
- Pagination links for taxonomy archive page 404 error on every page except first
- How to change pagination base from slash to query form?
- Why is “/page/2/” not working?
- Get current URL (permalink) without /page/{pagenum}/
- How does WordPress handle permalinks?
- Creating custom permalink structure for languages
- How to add a custom URL placeholder to author archives?
- permastruct for custom post type not working in one of four cases
- Make post slug have priority over category slug
- Adding anchor to paginate_links + Safari anchor bug
- Remove subfolders from URL
- Remove parent slug for child pages
- 404 on category.php pagination
- flexible rewrite ‘ramble’ URLs with WordPress
- Nice RSS Feed URLs for each custom post type
- Change the custom post type permalink
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- How to Modify Existing Rewrite Rules?
- Image Attachment Url Rewrite
- Rewrite Page with a slug before page name
- Can’t get rewrite rules working
- If the only permalink setting is %postname% what happens in the case of old duplicates?
- Change author slug and functionality
- Permalinks: Page Not Found
- wp_logout_url redirects to incorrect page because of pagination
- Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules
- remove sub-category of Custom Post Type from permalink structure
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- How to redirect to correct pages after permalink structure change
- Rewrite rule for a query string
- How to add a variable as a tag base?
- next_posts_link URL does not include name of custom post type
- Why is page/2/ not working?
- Add prefix to page URL based on the page template
- How to remove specific category from URL in WordPress
- Need to add trailing slash to all internal links relative and absolute
- Custom permalink leads to index page
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- How to change hierarchical page permalinks to be flat
- How to rewrite a URL to another rewritten URL without changing the address?
- wordpress how to replace url /bar with foo/bar for custom post type
- Getting back a permalink from custom url
- Permalinks on Windows IIS not working and web.config breaks site – does wordpress not support windows server now, if so how?
- Exclude single page from permalink rule
- Bulk append URL (add word to slug)
- How are WordPress Page URLs affected by permalink settings?
- Home page Pagination – Other pages do not redirect to home page template
- WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]
- optional parameter in permalink structure
- Rewrite rule not passing variable
- Access posts while mod_rewrite is broken
- “set_front” => false on custom post type breaks wp_list_categories links [closed]
- rewrite based slug standar post wp
- remove SLASH on single_post but KEEP on categories and parent pages
- Make the blog page a child of another page and rewrite the blog url
- WordPress keeps removing query var from the URL
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- How can I access to the same post-type “page” from multiple different urls?
- Multiple URL rewrite rules and get every prams
- Using a template file for a specific custom URL
- Extra url paths as variable
- Passing parameter through permalink structure
- Add word to permalinks does not transform the urls
- append current user-id to all internal permalinks
- Added .html to Woocommerce permalink but pagination don’t work!
- rebuilding/ rewriting a url to make it SEO friendly
- No Ones Been Able to Override my WordPress Rewrite Rule Issue!
- My permalinks for all pages and posts now include old page titles as parents/categories
- Pretty Filter URL
- WordPress Pagination Custom Rewrite Rule for Pages
- Change all pages permalinks instead of hierarchical to have id of the page
- How to change URL of my pages?
- How can I get .html URL suffixes in permalinks?
- rewrites and custom links in page need help with add_rewrite_rule
- Category-dependent custom permalink
- Converting WP Page to use full explicit paths?
- How to create an IIS7 re-write rule for a single category
- Add Custom Pagination Permalink
- Prevent guessing slug
- All pages lead to home
- Although rewrite engine is on, I get 404 not found on every page
- Customized author slugs not working with get_author_posts_url method
- Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?
- Customize category permalinks
- ?posts_type=xxx not rewritten
- Custom permalink variable on single post
- Category pagination first link works, remaining don’t
- URL to an image in a post is changing when permalink is set to custom. Can I avoid this?
- region selection
- WordPress custom permalinks, pages are now 404
- Include language variable in url
- Post archive pages bringing me to a 404 page
- Creating complex URLs with WordPress permalink structure
- permalinks url with woocommerce
- Blog url disappears
- Blog URL Structure – Multiple Taxonomies