Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.38 KB

Magento 2: Homepage 404 error

1. Description

Full page cache can't distinguish GET request from HEAD request. If you do not have cached data or it is invalidated and web crawler send HEAD type request to your site, magento return 404 page and cache it. After that any GET request with see 404 page until you flush FPC. Magento team stated that bug is fixed in Magento 2.3.2 magento/magento2#21299 (comment)

2. How to install

Install via composer (recommend)

Run the following command in Magento 2 root folder:

composer require elpas0/magento2-fix-homepage-404
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean

Install ready-to-paste package

  • Download package from magento2-fix-homepage-404.zip
  • Unzip it
  • Upload it to your magento root ( package/app >> magento_root/app )
  • Run the following command in Magento 2 root folder:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean

Contributors

NWDthemes team

Quick Links