Have managerd to update Magento 2.4 instance to 2.4.3 via composer. (no easy feat).
For some reason the update removed the htaccess file. but was able to replace it with backup from earlier store. However front end and back end are now only displaying text only links, no theme or media, no product images, and store admin and config only partly work (acual config pages do not display).
Have rewritten folder permissions
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./pub/static/ -type d -exec chmod 777 {} \;
Have flushed cache
rm -rf var/cache/* rm -rf var/page_cache/* rm -rf var/generation/*
Have run
php bin/magento setup:upgrade
Have also:
php bin/magento setup:di:compile php bin/magento indexer:reindex
Have changed server modes, from default to production several times.
Site compiles all ok no errors, runs through static deployment fine.
But the site still looks like a turd, what am I missing ?
Hello @smells_like_wee,
Greetings!
It is important to set the pub in Magento 2.4.2 and its upper version.
Set "www.example.com/pub" instead of "www.example.com". You need to change the base URL in the table core_config_data.
Hope this will help you!
If not then contact us.
Give 'Kudo' and accept as a solution if the query is solved.
Thank you!