The pattern (.+)
matches any character, including the slash, so any combo of parameters will always match your first rule, with anything that follows being passed as the version query var. Change all instances of (.+)
to ([^/]+)
to match all characters except the slash.
Related Posts:
- How to build custom WP admin with custom URLs
- I want to change url structure of my created archieve pages
- Page Permalinks: Custom URLs
- How to Change 404 page title
- Adding Custom Link anchors in the top menu that points to specific sections of the site home page
- Create subpage /user/ or /my-profile/ like /author/ with additional query like /user/user123
- How to change URL Custom Page?
- Passing page url into a custom field via the Press-This bookmarklet
- Add filename to attachment page url
- add_rewrite_rule won’t work
- Remove Author Slug & Replace With Username
- How can I get the page url slug when ‘post_name’ returns an id?
- open all .docs in word online
- How can I get the intended URL in a 404?
- Creating Search Engine Friendly URL’s with Word Press
- Why is my mod_rewrite not working?
- URLs and navigation in custom themes
- How to change the category url jusy show /category/%category_id% in wordpress?
- redirect post id to post full url
- change url for static files in /wp-admin with a cdn url
- WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues
- How do I redirect a post url to a custom url?
- website with pretty permalinks except pagination
- add_feed rewrite overwriting standard permalinks
- Custom Post Type, post-formats associated to custom post type > 404 archives
- How do I get posts to appear at mydomain.com/blog?
- title tag function
- query variables for custom taxonomies
- How do I run a web app in my WordPress theme without the “wp-content/theme/…/webapp” in URL?
- New to WP: links on static homepage are not working
- URL issue after setting up Custom Structure in Settings >> Permalinks
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- How to add rewrite rule for product compare page?
- Replace an URL with an new URL which has a “?” in it
- Url rewriting on custom post with CPT UI plugin
- Call a duplicate registration form with other url
- wp_rewrite not working on third level url
- Show post content in two different places without redirect
- Pass query param to custom page
- How do I fix the url when clicking on portfolio item?
- Create a page for each database table entries
- Running Gutenberg React in Development Mode
- Is there a blank theme framework compatible with WP 3.0? [closed]
- Plugin SVN & update API – how are plugins identified?
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- Custom Search Query
- Managing Images for a WordPress Blog: Picasa or Flickr?
- What is causing this error? “Warning: Invalid argument”
- WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?
- Show post page only if the user has bought a specific product
- WordPress .htaccess – route other URLs to another app
- custom headers for static home page and posts page
- Best way to implement a thumbnail-based gallery in WordPress?
- How to remove buttons from the WP Editor on the edit post page in the admin area
- WordPress Locale Switching on Accept-Language Header
- How do I call in a category title on a category page in a child theme?
- Include custom JS without child theme
- WordPress media uploader – upload tabs not hiding
- how to convert Html block to dynamic widget?
- ngnix Url rewrite doesn’t work
- Custom Log In Screen – Disable password recovery [duplicate]
- orderby in query_posts
- How to get every custom taxonomy names and urls?
- Instant install of wordpress
- Problem with theme activatation
- How to customize feed?
- Two description meta tags All in One SEO WordPress [closed]
- Create page as a file in my theme?
- Changing the the_author_posts_link() hover title
- How to display page ids as page slug names?
- How to add custom ‘layout’ buttons to wordpress editor?
- How to auto add nofollow to links in custom field?
- How to load a mycred hook from a plugin?
- toggle Multiple Loop with tittle
- Custom Post Type URL Rewrite’s
- problem saving/ retrieving custom meta with wp alchemy metabox
- How To make Custom page of every Category
- Created Custom Block – When I come back to edit post/page and change my block content – Update button stays disabled
- Global theme customization multisite
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- How to style bootstrap container in WordPress?
- How does one make a URL return dynamic JSON with custom Content Type?
- Floating CTA Image Integration
- Altered Media Library URLs
- generate a static copy of the website footer html
- Multi-site customization
- Query 1 custom post type, each day, alphabetically
- Get custom posts by segment of the URL
- Admin menu disable new/delete page
- Show different pages on site depending on user choice
- Is there a way to limit multi upload in media upload box?
- How to loop through 1 CPT with 2 Taxonomies
- How to support extra color options for shortcodes?
- retrieve theme custom settings
- pull custom fields values from wp-database in a nested foreach loop
- Include language variable in url
- Custom CSS File wont work on second Page
- How to create a shortcode with HTML code in it and custom parameters/
- responsive screen not working [closed]
- Post interior margin in twenty eleven theme