How can I redirect all my 404 routes to the home page without changing my .htaccess file?

I'd like to know some Admin configuration or module.



A simple way of doing this, log in to the admin and go to Stores > Configuration > General > Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page like the image below:

Magento 2 CMS No Route Page

  • I followed this, but its not changing upon clicking save – jafar pinjar Apr 9 '19 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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