All Questions
1 question with no upvoted or accepted answers
0
votes
1
answer
4k
views
Magento 2 : How to forward controller defaultNoRoute?
I create a custom module in which if data is found the template is shown else I need to show default 404-page content & set the status to 404.
I have tried below code to set the status to 404 ...