2017-06-14 169 views
0

安裝Magento的2.1,CSS沒有加載後,它是表示在導致404 CSS路徑的版本號參見下面的網址:CSS路徑問題的Magento 2安裝

http://exapmle.com/pub/static/version1497424536/frontend/Magento/luma/en_US/css/styles-m.css 

,而不是它上面應該是

http://exapmle.com/pub/static/frontend/Magento/luma/en_US/css/styles-m.css

我遵循所有步驟即升級,編譯和靜態內容部署。另外apache的配置是精細和設置AllowOverride是所有有

回答

0

試試這個在此之前需要備份

刪除一切,除了從酒吧/ .htaccess文件夾的靜態

打開應用程序的/ etc/di.xml找到注意:刪除pub/static之下的整個文件和文件夾,除了.magento \ Framework \ App \ View \ Asset \ MaterializationStrategy \ Symlink以及Magento \ Framework \ App \ View \ Asset \ MaterializationStrategy \ Copy

。 htaccess文件。

欲瞭解更多信息,請撥打http://www.dckap.com/blog/magento-2-admin-links-not-working-in-windows/