CSS not loading on Magento 2.4.3 after cloning into different server

CSS not loading on Magento

step 1. For fixing this problem go to the database then go the table name core_fonfig_data. then go sql and paste this code.

insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);

step 2.  And go to the app/ etc/ env.php find the code

'session' => [
'save' => 'files'
then replace with this code
'session' =>
array (
'save' => 'db'

Leave a Reply