How to disable versioning in Magento 2?

Please follow the below instructions for disable the versioning.how-to-disable-versioning-in-magento-2

We can disable the versioning in Admin:

Go to Stores > Configuration > Advanced > Developer > Sign Static Files
how-to-disable-versioning-in-magento-2 how-to-disable-versioning-in-magento-2 how-to-disable-versioning-in-magento-2
We can run the SQL query in database:

insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0); 
We can disable the versioning by command:

php bin/magento config:set dev/static/sign 1

Please leave your comment for asking any question or suggestion.

Need Help?

technology_bg