Magento2 : pub/static/versionxxxx Not found (default css not loading after creating the custom theme)

CSS not loading

After I creating and registering the them, both front end and back end css are not loading. In console its showing 404 file not found issue.

Error:
(404) pub/static/version1482183922/adminhtml/Magento/backend/es_ES/css/styles.css , pub/static/version1482183922/adminhtml/Magento/backend/es_ES/extjs/resources/css/ext-all.css Failed to load resource: the server responded with a status of 404 (Not Found) and multiples files

pub/static/adminhtml/Magento/backend/es_ES/css/styles.css Found, the /version1482183922 no found

Fix;
Insert or update ‘dev/static/sign’ as 0 on the core_config_data table

For insert you can use the below query
insert core_config_data (config_id, scope, scope_id, path, value) values (null, ‘default’, 0, ‘dev/static/sign’, 0);

Share this article

Leave a comment