I have installed latest magento version 2.1.5 and configured it.

It works fine but once we run the

php bin/magento setup:static-content:deploy

Command, it doesn't create the version folder as expected.

I can see by viewing source that the content is being called via particular version like below:**version1489125606**/frontend/Magento/luma/en_US/css/styles-l.css

But in pub static the folder "version1489125606" is missing.

All the files are reside directly in pub/static folder. Is there any setting to get it update?


Hello Himmat log in admin

then go to store->configuartion->Advanced->Developer->Static File Setting

and Sign Static Files set values to no

| improve this answer | |
  • Sign Static Files set values to 'Yes` to create versionXXXX folder. – gelanivishal Mar 10 '17 at 6:17
  • Yes, it is not creating the versionxxxxxxx folder in 2.1.5, seems magento default issue. Anyways, thanks guys for your time.. – Himmat Paliwal Mar 10 '17 at 6:29
  • You are always welcome @HimmatPaliwal :) – Murtuza Zabuawala Mar 10 '17 at 6:33
  • 1
    It is not issue. This folder should not be created. Magento use rewrites to skip it. – KAndy Mar 10 '17 at 17:46

This folder should not be created. It is not the issue. Magento use rewrites to skip it. see https://github.com/magento/magento2/blob/2.1.5/nginx.conf.sample#L95 for nginx or https://github.com/magento/magento2/blob/2.1.5/pub/static/.htaccess#L16 for apache

| improve this answer | |
  • ok, but it is not getting skipped after static-content deploy. – Himmat Paliwal Mar 11 '17 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.