Magento 2: ERR_TOO_MANY_REDIRECTS After Importing Database

Problem: Getting 302 redirects (ERR_TOO_MANY_REDIRECTS error) after I imported the server’s database into the local Magento setup. I am getting the redirect error on both backend and frontend. Investigation: I checked for the values for the web/ page in core_config_data table. MariaDB [magento]> SELECT * FROM core_config_data WHERE path LIKE "web/%"; +———–+———+———-+———————————————+——————————+———————+ | config_id | … Read more

Magento 2: Admin ERR_TOO_MANY_REDIRECTS

This article provides a solution to the redirect loop error while logging in to the Magento admin panel. Did set up an existing Magento shop. Went to the Magento admin login page Entered admin username and password Got the ERR_TOO_MANY_REDIRECTS error The website has a redirect loop ERR_TOO_MANY_REDIRECTS Cause The problem is with the Cookie … Read more

Magento: Redirecting to Cart page from Checkout page after Place Order

Scenario: I added products to cart. Then did proceed to checkout. I have tried Cash on Delivery and Check / Money Order as Payment method. Everything is fine until the order review section. And then when I click the Place Order button then it gets redirected to Cart page instead of going to Order Success … Read more

Magento: Redirect functions

The redirect functions are present in Mage_Core_Controller_Varien_Action class. /* Redirect to certain url  */ _redirectUrl($url) /* Redirect to certain path */ _redirect($path, $arguments=array()) /* Redirect to success page */ _redirectSuccess($defaultUrl) /* Redirect to error page */ _redirectError($defaultUrl) /* Set referer url for redirect in response */ _redirectReferer($defaultUrl=null) /*  Identify referer url via all accepted methods … Read more