Magento 2 – issue with getting “version” number in static files path

Many people advised to DISABLE “Sign Static Files” from Admin Panel.

or to add the value directly in core_config_data table:

or to update the value directly in core_config_data table:

In my case, static file version number was not added in file URLs (in both development and production mode) (in different websites).

As we know, in production mode we don’t get DEVELOPER tab in Admin Panel ( Admin Panel > Stores > Configuration > Advanced > Developer).

What worked for me is, I tried removing ‘dev/static/sign’ record from core_config_data table:

Then I compiled code again, refreshed cache and all okay now.

Leave a Reply

Your email address will not be published. Required fields are marked *