To change my admin_url of Magento I did it first with: Store > Advanced Tab > Admin Base URL section
After that the admin CSS and js weren't working and to solve that I tried it with the command in SSH:
php bin/magento setup:config:set --backend-frontname="admin_path"
now still no js and CSS is loading in the admin. I tried the commands below to solve but there's still no CSS and JS in admin, in frontend everything is working:
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:static-content:deploy -f nl_NL
- Removing static files except .htaccess
- Reindexing
Changing the following content:
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
To:
Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
Can anyone help? Thanks!