Question: In Magento/Blank an advanced search link appears under the search form by default. I have unsuccessfully been attempting to remove this by referencing the block name for removal. My issue is, not being able to determine what the actual block is called. Turning on path hints and block names was not helpful, nor was looking in the module folder. What am I missing?

```
<referenceBlock name="advanced.search" remove="true"/>

```

Answer: 
it's the solution:

```
<referenceBlock name="advanced-search-link" remove="true"/>

```

every static links search it inside default.xml of any module our case is in :
**vendor/magento/module-catalog-search/view/frontend/layout/default.xml**
The correct path to folder is 

**app/design/frontend/ThemeDirectory/YourTheme/default.xml**

Open `default.xml` & Put this code anywhere after 

```
<body>
<referenceBlock name="advanced-search-link" remove="true"/>

```

It will remove the advanced - search link from ALL THE PAGES.