Cleared cache, Given 777 permission to all files and folder in maganto directory, still no solution..
I can't even access the admin panel, because links don't work properly.
This was a fresh install, I did
git clone magento_https_link
where link is the github link for magento2 @ github.
Everything went out well, I followed the official tutorial, installed composer thing and all, I installed it, followed steps to the end, and when installation was complete, I clicked on frontend and no css, and backend, no css. Css was working fine during installation.
When I press F12 and switch to console, it says error 404 on css , javascript , and image files. And if I try to visit the url manually for any css they are not there. Its really weird.
And I don't know what is css js merge. No idea about this.
My core config in database:
mysql> select * from `core_config_data`;
+-----------+---------+----------+-------------------------------+------------------------------------------+
| config_id | scope | scope_id | path | value |
+-----------+---------+----------+-------------------------------+------------------------------------------+
| 1 | default | 0 | web/seo/use_rewrites | 1 |
| 2 | default | 0 | web/unsecure/base_url | http://NAME_OF_SITE/magento/magento2/ |
| 3 | default | 0 | web/secure/base_url | https://NAME_OF_SITE/magento/magento2/ |
| 4 | default | 0 | general/locale/code | en_US |
| 5 | default | 0 | web/secure/use_in_frontend | NULL |
| 6 | default | 0 | web/secure/use_in_adminhtml | NULL |
| 7 | default | 0 | general/locale/timezone | XX/XX |
| 8 | default | 0 | currency/options/base | XX |
| 9 | default | 0 | currency/options/default | XX |
| 10 | default | 0 | currency/options/allow | XX |
| 11 | default | 0 | general/region/display_all | 1 |
| 12 | default | 0 | general/region/state_required | AT,BR,CA,CH,DE,EE,ES,FI,FR,LT,LV,RO,US |
| 13 | default | 0 | catalog/category/root_id | NULL |
+-----------+---------+----------+-------------------------------+------------------------------------------+
13 rows in set (0.00 sec)