Correct solution provided by Milo in comment above. Pretty permalinks were set to plain in the admin interface and this evidently causes the WP_Rewrite to silently do nothing. I’m posting the answer here so I can mark something as correct/complete so this shows as answered. Am I doing it wrong?
Related Posts:
- Can I write ‘RewriteCond’ using ‘functions.php’?
- add_rewrite_rule with bottom priority doesn’t handle the WordPress pages
- Newbie question: no index.php? in my plain wordpress permalink
- Static variable and add_rewrite_rule?
- Apache Fallback instead of add_rewrite_rule
- Performance impact of rewriting WordPress URLs
- Changes in permalink structure in WordPress and how to apply to in-site links
- WordPress Persistent connection rule does not work for “posts”
- Append query string to all URL’s
- custom rewrite rule help! Custom rewrite rules not applying to custom post type
- custom url rewrite for wordpress
- Create custom permalinks to show Custom Post Type’s relationship?
- Rewrite with pagination /foo/page/2/ to posts of a given category, page 2
- How to override url params with rewrite rules vars?
- Using rules in Posts
- WordPress Rewrite Rule
- Prevent Buddypress Rewrite Rules on Non-Buddypress pages/posts
- Change permalink structure specific category
- Rewrite rule for wp
- Rewrite /keyword1+keyword2.html to search page | .htaccess
- add_rewrite_rule questions
- rewrite_rule – working fine but broken for pagination
- how to exclude admin page from add_rewrite_rule in wordpress
- WordPress add parameters with friendly url structure
- add_rewrite_rule image from /images/site2/favicon.ico to /favico.ico
- Same Custom Post Type Slug and Custom Taxonomy Slug, with hierarchial unique permalink structure
- Why isn’t WordPress part of Framework Interop Group?
- Is there a way to use the WordPress users but without loading the entire WordPress core?
- JqueryUi Dialog giving Uncaught TypeError: this._addClass is not a function error
- How to place login logout link on menu that redirects users back to current page?
- How to protect own PHP code from WordPress updates
- Woocommerce price including tax with formatting from options
- get_template_part not working with ajax
- query if on page/2/?
- How to display a value from a radio button in the options menu in wordpress
- How to debug php code in hostgator cPanel
- Put php variable in shortcode
- Web scraping using transients
- PHP in post content [closed]
- PHP Script for last login time
- Is there a WordPress version that is incompatible with PHP 5.3?
- Implement One Time URL Script
- Unable to write multiple values back to ACF user field – PHP
- PHP Array Returning [object Object]. Tried existing answers results with no luck
- Why Won’t My Inputs in a form with a Get method work together?
- Extend PHP regex to cover “srcset” and “style” attributes
- PHP echo inside javascript
- Value prints outside of the echo
- If ‘editor’ is empty, then
- Different Subdomain changes page content
- Removing the comment function within wordpress
- Display Yoast meta-description `wpseo_desc` within loop of categories and fail silently if no data is set [closed]
- Does get_post function counts as view?
- Get ACF options field in PHP acting as CSS
- Permalinks are not working in WordPress in digitalocean
- Bootstrap Carousel HTML structure and funny output [closed]
- add category to posts with tag wordpress
- Missing a text-domain esc_attr_e
- Get all posts from categories
- How to add post classes?
- How to Generate a list of Most Commented post?
- Updating From Mobile App – Exposing Site to Hacking
- Extract and display user infromation on an automatically created page
- is user member of a group, show them categories [closed]
- How to add ASCII symbol after each recent post [closed]
- Using multiple variables to assign categories to an array
- Show Custom Menu Name in WordPress 3
- Execute PHP code only with specific user role
- Repeat a function with 24hrs gap for n number of days
- Add a custom WooCommerce settings tab with sections
- How to serve WordPress folder over subdomain?
- How to call my PHP function with AJAX ? wp_query
- Get the same SKU from woocommerce itself for simple and variable products
- Show sidebar only to author of post
- No more get_option(‘date_time’) in WordPress 5.5?
- how to add custom select field to wordpress edit page
- How to update post content of all posts with tag?
- Make WooCommerce product categories only show images on homepage
- How to Change Site Elements based on referring URL
- WP post meta – for loop inside for loop
- WordPress using get_term to retreive slug not working as expected
- auto metakey value on post tile
- Static home page ignored
- How to pass parameter that ends up being part of a class name with wordpress shortcode
- calling a function from a class in your template
- Custom single.php files for different post formats
- Troubleshooting “loopback requests that take too long”
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- If I define a variable in header.php, how do I make it available to templates?
- Order woo products, but first products must be with acf fields
- Remove /category/ from category (archive) page URLs (without using a plugin)
- JSON Object Value Show Undefine
- Redirect loop upon installation of my plugin
- PHP Works only for logged in users: [closed]
- WordPress wp_remote_request() – How to do async await in wordpress php?
- WordPress blog header error
- Advanced Custom Fields Auto Populating Field Values For Nested Repeater FIelds
- How to insert crm php code in wordpress?
- Application Passwords only for admin user? [closed]
- Pass WP data to javascript