Turn Query String Parameters into file revision numbers.
As of April 2026, Resource Versioning is a WordPress file plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.1K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2015. Last updated 7 years ago — may have compatibility concerns. Top alternative: Theme Editor.
“It’s important to make resources (images, scripts, stylesheets, etc.) cacheable.”
It is much easier to use a CDN without Query String Parameters.
This plugins alters only local resources’ URL-s.
The ver Query String Parameter will be inserted into the filename.
For example jquery.min.js?ver=1.10 becomes jquery.min.110.js.
To reverse this in the web server add this line to your nginx config:
server {
location ~ ^(.+)\.\d\d+\.(js|css|png|jpg|jpeg|gif|ico)$ {
#try_files $uri $1.$2 /index.php?$args;
try_files $uri $1.$2 =404;
}
}
Or to your Apache configuration or .htaccess file.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.\d\d+\.(js|css|png|jpg|jpeg|gif|ico)$ $1.$2 [NC,L]…| WordPress | 4.0+ requiredTested up to 4.9.29 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.