pub/static/versionxxxx not found and missing styles after upgrading to magento 2.1.3

After upgrading to magento 2.1.3 version you might experienced that your front-end and back-end are missing styles, check at the error console you can see that css & js files are 404 not found.
This problem happens only for those who using Nginx as web server, to get rid of the problem you can try one of following ways

1) add this rewrite to your nginx conf
location ~ ^/pub/static/version {
rewrite ^/pub/static/(version\d*/)?(.*)$ /static/$2 last;
}

2) open the core_config_data table with phpmyadmin or any other database clients, just insert a new row whose path is ‘dev/static/sign’ and value is 0

Hope this will help someone !

About Dat huang

Dat is a founder and Developer at Mageaddon.He is a magento lover, he enjoys listening music, playing table tennis, swimming whenever he is Free

Leave a Reply

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

*