Header Ads

Magento 2 admin - too many redirects

 Magento 2 admin - too many redirects

Magento 2 admin - too many redirects

After migrating version 1 to a new Magento 2 site, the admin URL is no longer working.  When I try to visit the admin URL.  I get a browser error that indicates too many redirects.  I have tried it with several browsers with similar results.


I have tried the following to resolve it:

php bin/magento setup:upgrade
bin/magento config:set dev/static/sign 0
php bin/magento setup:static-content:deploy -f
php bin/magento setup:di:compile 
php bin/magento cache:flush
sudo chmod -R 0777 var/ pub/ generated/
php bin/magento indexer:reindex

Maybe you can update the value to 1: 

SELECT * FROM core_config_data where path like '%web/secure/use_in_adminhtml%';

No comments