I've Magento 2.2.4. I already have files on bitbucket. I downloaded files of app/code modules and merged with fresh Magento 2.2.4 and imported the database which already exists. After running composer install, composer update, module upgrade, static content deployment, compilation, and cache refresh commands, the home page works fine but the all other pages like category page, cms pages are having a white screen and body tag with no content. When I try to navigate admin it shows too many redirects error. I'm using wamp server on local.

1 Answer 1


Please clear generated folder:

You can do it by below command:

rm -rf generated/*

Please also clear cache and page-cache

rm -rf var/cache/* and rm -rf var/page-cache/*

check after flushing cache it ill be work

  • Yes. Tried this commands also. Commented Aug 28, 2018 at 12:29
  • Still not working? Commented Aug 28, 2018 at 12:30
  • Have you reindex? @BhavinShah Commented Aug 28, 2018 at 12:35
  • Yes. I did everything as mentioned in my description. I'm using Windows wamp Commented Aug 28, 2018 at 12:40

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.