Magento 2 Admin Panel Redirect Issue

Solved! Magento Admin Redirect Issue

One of the most annoying aspects of caching and Magento’s FPC engine is sometimes you get an odd redirect when attempting to access the admin console. This happens when you are using Redis as part of your caching engine.

Magento 2 Admin Panel Redirect Issue

You get a URL that looks like this:

http://192.168.29.156/admin_demo/http:/admin_demo/admin/index/index/key/70891b1fd78afeaa7cda1cd2caf873831789b15e90c9ae300f2a12f2cabf9538/

And believe it or not, the solution to this problem is very simple.

From CLI run:

sudo redis-cli flushall

Good to go!

Lead_Robot

Comments are closed.