I am having this problem with magento 2.x. Whenever I go to a product page, I get redirected to /customer/account. I have debugged it with firebug and I discovered this:

301 Moved Permanently (BFCache)

From what I understand it's varnish that's redirecting. However running bin/magento cache:clean/flush doesn't really help. Is there something I'm not seeing? Thanks for any help!

1 Answer 1


(BFCache) means the redirect response is cached in your browser's cache, i.e. server did not sent you that 301 redirect actually. Try to flush browser's cache first.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.