I removed *catalogsearch_advanced_index* section from catalogsearch.xml. Now I get empty page catalogsearch/advanced/index/
How to set 404 error for this page then?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Remove the controller. Without the xml layout, the controller will still render an empty page. In order to get Magento to not respond to that url, you have to remove the controller. Or maybe you could use a redirect.