# Triggers and redirection to results page

![](/files/-MXptXVFDZBs0G_shS29)

### Live search triggers

![](/files/-MXptoLn_PTi01BHvD4l)

* *Trigger search on facet change* - live search trigger, when the user changes an option on the settings drop-down
* *Trigger search when typing* - triggers the live search during typing to the search input
* *Character count* - only apply the triggers, when this number of characters were entered

### Redirection to the results page

Redirection can be set for both the magnifier click and the return (enter) key events.

![](/files/-MXpuZrLUD71RrayIOT8)

When using WooCommerce and searching for products use the *Redirect to: WooCommerce results page* value.

#### Custom redirect URL

When using a custom permalink structure for the search queries, you can adjust the redirection to the same destication via this option. The `{phrase}` pseudo-variable is replaced with the current search phrase.

{% hint style="warning" %}
This will not change the results page URL to a custom page URL - this option only redirects to the given location. If you want to change the results page URL slug, check out [online tutorials](https://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-search-url-slug-in-wordpress/).
{% endhint %}

### Search results page override

![](/files/-MXpwQTHzxvcyTnfCHcO)

When enabled, the plugin will try to override the search results page with the same results as on the live search list.

{% hint style="warning" %}
The plugin can not change the layout/design of the results page, that is a theme controlled feature. All it can do is send which items to display as results, the rest is up to the theme.
{% endhint %}


---

# 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://documentation.ajaxsearchlite.com/general-options/triggers-and-redirection-to-results-page.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.
