# 404 Smart Search ❺

{% hint style="info" %}
**These are 100% internal R\&D.**\
No public product is available, but if you need these features, contact us for details on how we can implement them for you.&#x20;
{% endhint %}

*404's happen* - but they don't need to be the end of the road. Help your visitors get where their going by automatically populating Webflow's search component with the URL path keywords they were originally trying to reach?

## Demonstration <a href="#display-captions-in-webflows-lightboxes" id="display-captions-in-webflows-lightboxes"></a>

This URL points to a Webflow site, for which the page does not exist;

```
https://www.sygnal.com/blog/export-redirects
```

Click the link to see the 404 lib auto-populate a Webflow site search input.&#x20;

{% embed url="<https://www.sygnal.com/blog/export-redirects>" %}

## Usage Notes <a href="#getting-started-nocode" id="getting-started-nocode"></a>

Click to expand the feature you want.

<details>

<summary>I want this Search input to auto-populate from the current path</summary>

Add a [Webflow Search](https://university.webflow.com/lesson/site-search) element, and on the input field add a custom attribute of `wfu-404-search`. No value is needed.

</details>

## Getting Started ( NOCODE ) <a href="#getting-started-nocode" id="getting-started-nocode"></a>

### STEP 1 - Add the Library <a href="#step-1---add-the-library" id="step-1---add-the-library"></a>

First, **add the library** as detailed in [Quick Start](/sa5-404/quick-start-or-sa5-404.md).&#x20;

### STEP 2 - Add `wfu-404-search` to your Search input

Add a [Webflow Search](https://university.webflow.com/lesson/site-search) element, and on the input field add a custom attribute of `wfu-404-search`. No value is needed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-404/article-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
