I found a lot of cases when developers faced a Redirect Loop error while trying to perform a clean Magento 2.x installation. And almost all of those cases were solved to the same way.

You have two different ways to point the project’s Directory Root

  • Point it to the Magento root directory
  • Point it to the pub/ directory (recommended)

In fact, the best option is the recommended by Magento, but if you do this on the installation process, you will receive this Redirect Loop issue.

So the fix for our scenario is as simple as that:

  1. Change your directory root to the Magento root directory.
  2. Once you finished your installation, change it to pub


Leave a comment