Yes it is possible, but there isn’t much point in that. The crudest way is to use a filter on the result of getting the ‘rewrite_rules’ option, and manipulating it by adding the entries you require directly to the array, and then you might need to filter those rules out when the option is updated.
The thing is that it is most likely a waste of time as as in real life rules do not change on every page load and therefore storing the aggregated rules in the options is an easy speed optimization.
OTOH if you need something to be extremely dynamic, then maybe rewrite rules are not the best way to go. You can write your own url parsing to be executed before the rewrite rules kick into action.
Related Posts:
- Woocommerce different URL for every table placed in the restaurant
- Author Specific URL’s in WordPress
- custom taxonomy and custom post type url conflict
- Best way to hook a custom url?
- Changed permalink structure. Need help with redirecting old posts
- Plugin appends ugly URL string to index
- How to make a proper custom post type link
- Plugin generated taxonomies’ permalinks with custom placeholders
- How to rewrite URL and get the values?
- How to embed a new string in url?
- TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
- Change language on website and change currency with url query
- Hidden permalink different from displayed permalink
- one url for all pages
- WordPress drop domain alias
- Creating custom URL for async content
- URL RewriteRule doesn’t work when using WP Database Participants in my WordPress website
- How To Rewrite WordPress Pages URL Only?
- How can I process all requests for a given directory in a URL with my plugin?
- Unwanted Links and Spam WordPress Pages and Posts
- How to get the real address from a url (permalink)
- Remove base from the custom post type URL [duplicate]
- WP Job Manger change jobs url (NOT slug)
- Trying to Find the PHP File/Function that Handles a Specific Form Action URL
- Custom rewrite rules not working with WPML
- Is it possible to use multiple post_name, post_title and post_content?
- How can i have a custom post type with more slugs for each post?
- Modifying Author Link to add Author Meta in URL
- SEO Friendly URL on dynamic product page produced via shortcode
- Change permalinks of custom post type ‘question’ as post id or any random number once
- Remove /product/ from url. I want only category name then product name
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- URL rewriting: removing the site’s basename for a specific category
- Rewrite rule not matching
- Customize permalink wordpress category id
- Is there a hook to Intercept al urls from a webpage and redirect to a page
- WordPress shows error related to allow_url_fopen
- Ability to automatically redirect a URL
- Reoccurring 404 Errors on all subpages
- Permalinks stopped working after migration with WP all-in-one migration plugin
- Subdomains with almost the same content
- Remove subcategory and category with some rules from permalink
- How to remove custom post type and add category and post name
- Create custom permalinks to show Custom Post Type’s relationship?
- Perform internal redirect in WordPress?
- URL parameters causing 404 on home page, but nowhere else
- Using arbitrary paths in page urls
- “Custom Post Type Permalinks” plugin URL strcuture
- change content based on url per plugin
- Filtering get_permalink in Jetpack / ShareDaddy
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- How to Create a Custom Slug for Tags and Categories with a prefix or suffix?
- plugin links not working [closed]
- URL rewrite of independent plugin?
- Redirect to another page using contact form 7? [closed]
- How to get the permanent link in a plugin?
- mod-rewrite exception? keep #hash in matching urls?
- Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Remove parent page from url
- Custom url rewriting
- How to customize a title by passing query string?
- This WordPress plugin isn’t creating links correctly
- WordPress plugin url for form submit
- Creating author Specific page URL
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- flush_rewrite_rules() not working with update_option_{$option}
- Getting back a permalink from custom url
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- correctness of URL
- Disable plugin If slug contains specific word
- URL rewrite with external JSON query
- How do I create a custom permalink structure for a page template
- Bulk append URL (add word to slug)
- How do I convert my WordPress website to be domain agnostic?
- Need to change link URL embedded in multiple posts to new link URL
- How to pass a query string to another page on the same site?
- Username Variable in custom links?
- how to replace hostnames on certain external links?
- WordPress rewrite rules not working
- I want to filter my products with attributes [closed]
- Scrape a webpage for image and add it to post
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- Change url of posts with keywords
- How to access the WordPress DB from a plugin file
- How to force load a page in plugin?
- Access posts while mod_rewrite is broken
- Replace video url with video player
- Make get_permalink() work outside the Loop using filters
- i want to rewrite my custom plugin url
- rewrite file to wordpress
- Plugin for TinyMCE to create reference to other posts
- Permalinks and pagination are not working in WordPress with WP e-Commerce plugin
- help intercepting save_post through plugin
- Can I change the URL structure for a CPT only?
- Offer Download Links for Product Images
- Dynamic URL Rewrite for Custom
- Why the internal link get converted into a comment?
- How to hide particular plain text with link from different subscribers