I'm having a problem in deploying my magento 2 site. It's weird because after content deploy the site will reload slowly and it's not generating the proper static content path. Please correct me if I'm wrong. Attached is the screenshot of the console log of the site.
Asked
Active
Viewed 376 times
0
-
Please check if your pub/static contains .htaacess file or not? – Rakesh Jesadiya Apr 27 '17 at 05:55
-
Hi Rakesh long time no see. Ok I'll check thanks I will update you if there is none – MazeStricks Apr 27 '17 at 05:58
-
It has .htaccess file – MazeStricks Apr 27 '17 at 05:58
-
Have you run php bin/magento setup:static-content:deploy command ? – Rakesh Jesadiya Apr 27 '17 at 05:59
-
Yes I did all the required commands like that. I created a room Rakesh can you join and we will discuss there? – MazeStricks Apr 27 '17 at 06:00
-
I noticed something different in the static files path this one /pub/static/version1493272677/frontend/SCI/luma/en_US/Magento_Theme/css/homepage_headers.css"" why it contains version123213423 folder? I think it's the reason why the site is not showing up properly – MazeStricks Apr 27 '17 at 06:02
-
I fixed my own problem. Thanks to this thread: https://magento.stackexchange.com/questions/160474/magento2-wrong-path-of-static-contents – MazeStricks Apr 27 '17 at 07:05
