This is a dead end approch as the enqueue API do not support such versioning format which means that you will have to avoid using it, which is not a great thing. Your specific problem here is that you added the rule too late, RewriteRule . /index.php [L]
“transfers” handling to wordpress and nothing is going to be done after that, which means that you need to switch the order of them. And again changing the wordpress core rewrite rules is not smart, you should probably add a specific section outside of the wordpress rules section.
Related Posts:
- Multisite theme path rewrite using .htaccess
- Getting failure when using filemtime() with wp_enqueue_style
- Caching and Versioning for rtl.css
- How Do I Programmatically Force Custom Permalinks with My Theme?
- How wp_cache is supposed to work, and does it help with performance?
- How can you develop on a live WordPress installation that is using W3 Total Cache? [closed]
- wp_insert_post breaks rewrite rules
- Why specific file directory fails to redirect but its parent folder succeeds?
- How to write .htaccess dynamically? [closed]
- Rewrite rule to load images from production does nothing
- WordPress rewrite rules don’t need ^?
- How to display posts in hyperlink with nested slugs?
- Force a specific template based on the URL
- How can i redirect one url to another url using .htaccess or add_rewrite_rule
- WordPress custom post type permalink: website.com/post-name/post-id
- How to make a local cache of mshots images
- .htaccess rules for blocking bots with an extra condition
- Redirections and rewrites to subdomain
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Redirect to another page using contact form 7? [closed]
- Should i clear the plugin cache for cache busting?
- I used single quote to design HTML of my WordPress blog. Now site redirects to index.php everytime than page.php or single.php
- Take control of WordPress before functions.php
- How do I make WordPress revise an .htaccess file a certain way?
- My wordpress theme name isn’t updating straight away
- Rewriting subfolders to specific parent folder in WordPress
- hide theme files for admin beneath root
- When I save changes for css and js in my WP localhost env windows 10 the changes don’t take effects immediately!
- Pretty URL via Rewrite
- .htaccess and proxy settings for routing a decoupled REST API consuming theme
- using htaccess to check for cookie on permalink then conditionall rewrite with query parameter
- Cannot get 301 redirection in htaccess to work (either Redirect or Rewrite)
- What is the best practice workflow for new website overhaul and keeping current SEO ranking? [closed]
- htaccess and redirect to new url using regex
- Duplicate WordPress site to subdirectory but use same db?
- Can’t get pretty permalinks to work without index.php
- WordPress theme Modifications not showing up on live server
- Configuring static page with add_rewrite_rule gives 404 after navigating to Permalinks admin panel
- .htaccess for file .zip for update WordPress Theme self-host [closed]
- Help with Core Mods
- Warning: This page allows direct access to your site settings. You can break things here. Please be cautious!
- Building a custom menu or use a plugin?
- Displaying front side empty with one file attached problem
- Problems with cart and pages on _s theme
- Redirect default pagination page to template page’s pagination
- Is it possible to show sort page excerpt in search.php
- Customizer API Multi Sections in single Panel
- 3 Level Menu Navigation (3rd Level not displaying)
- Sidebar not displaying (theme development)
- Next and previous post link shows error in first and last post
- Custom pages with html in wordpress editor vs. writing it all directly in the php template files?
- How to dynamically set a background image with the customizer without putting the css as an inline-style
- Understanding Redirects
- WordPress theme options checkbox default checked state
- WordPress theme files Organization
- add diffrent images to a page
- Custom themes that won’t work when theme is changed
- add page items to index
- WordPress theme settings not saving
- create loop for the_content()
- Alter shop page lay-out in OceanWP theme
- how to change footer content for certain pages only
- only the first post is shown
- Is the date when a theme was activated stored?
- Page For Specific Posts
- function ‘theme_settings_page’ not found
- wordpress can’t find single-project page
- Default customizer colors aren’t displayed outside of the preview
- Image cropping isn’t working correctly when using Offload Media
- How toprint informations in footer
- Theme functions don’t work as expected in partial included via get_template_part() after custom query using Ajax [duplicate]
- How to implement pagination in category.php template
- Can any IDE (eg PHPStorm, VS Code) correctly show functions added via require get_template_directory() string results?
- How can I set multi archive page template on same time for only one custom post type?
- Array for WordPress Avatar Size and Class
- Use instead of for wp_nav_menu()
- Find out the reason that the Styles and scripts in the theme are loading properly in localhost but Not in server after deploying
- Exclude categories from wp query not working
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- Embedding CodePen Calorie Script – jquery error
- WordPress theme doesn’t read my translations from pt_BR.po file
- Fetch data from database with dropdown selected option
- Infinite loop when nesting have_posts()
- How to get custom logo with REST API instead of get_theme_mod();
- How can I change this SVG shape that’s generated?
- How to make updatable custom WordPress theme?
- Find the source file causing a Mixed Content warning
- How can I access variables from theme in child theme? [closed]
- WordPress Custom Theme : Theme Builder vs ACF vs Gutenberg
- How to display only author’s name for the current post?
- Theme does not allow shortcodes
- Get gallery images description not work for some images id
- How to handle theme activation errors?
- Get_header raises an 500 internal server error
- How to load jQuery with Ajax in WP version 5.3.2?
- Theme: dropdown hover menu not showing up in IE/Edge
- Local variable name in setup_postdata()
- How to enqueue scripts properly with ES6 webpack?
- Can you edit a theme in a text editor?
- Creating a Single Page Theme correctly