I try to remove some blocks on the 404 site:

enter image description here

but I have no idea where they are defined. I searched in the layout file vendor\magento\module-catalog-search\view\frontend\layout\catalogsearch_result_index.xml and searched other catalogsearch_result_index.xml files but I am unable to figure out where these are defined so I can remove them.


The page you are looking is cms page with identifier no-route

You can edit content form CMS pages. If you want to remove right section, just change page layout from 2 column right bar to 1 column

Hope above will help!


You can update/remove section from


<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="sidebar.main" remove="true"/>
  • I changed it to 1 column, but now the blocks are just showing at the bottom – Black Jan 14 at 11:15
  • Yes, I saw that...let me check... – Pawan Jan 14 at 11:16
  • check my updates, You can remove sidebar from layout... – Pawan Jan 14 at 11:26

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.