---
title: 'Redirectors Settings'
url: 'https://docs.danami.com/warden/settings/antispam/plugin-settings/redirectors'
markdown: 'https://docs.danami.com/warden/settings/antispam/plugin-settings/redirectors.md'
date: '2026-10-09'
description: 'URL redirector cache type - url_redirector_cache_type The cache type that is being utilized. Most servers should use dbi to cache lookups to MariaDB/MySQL. Default: dbi URL redirector cache TTL - url_redirector_cache_ttl The length of time a cache entry will be valid for in seconds. Default: 86400 …'
taxonomy:
  category:
    - docs
  tag:
    - redirectors
---

[](#)  [ Basics ](https://docs.danami.com/warden/)     [ Settings ](https://docs.danami.com/warden/settings)     [ Antispam ](https://docs.danami.com/warden/settings/antispam)     [ Plugin Settings ](https://docs.danami.com/warden/settings/antispam/plugin-settings)      Redirectors Settings    

# Redirectors Settings

**URL redirector cache type** - `url_redirector_cache_type`
The cache type that is being utilized. Most servers should use dbi to cache lookups to MariaDB/MySQL.
Default: dbi

**URL redirector cache TTL** - `url_redirector_cache_ttl`
The length of time a cache entry will be valid for in seconds.
Default: 86400

**URL redirector cache autoclean** - `url_redirector_cache_autoclean`
Automatically purge old entries from database. The value describes a random run chance of 1/x. The default value of 1000 means that cleaning is run approximately once for every 1000 messages processed. A value of 1 would mean database is cleaned every time a message is processed. Set 0 to disable automatic cleaning and to do it manually.
Default: 1000

**URL redirector log info** - `url_redirector_loginfo`
If this option is enabled then redirected URLs and the decoded URLs will be logged with info priority.
Default: 0

**URL redirector timeout** - `url_redirector_timeout`
The maximum time a redirection URL HTTP request can take, in seconds.
Default: 5

**Max redirector URLs** - `max_redir_urls`
The maximum amount of redirector URLs that will be looked up per message. Chained redirections are not counted, only initial redirection URLs found. Setting it to 0 disables HTTP requests, allowing only redir\_url() test to work and report any found redirector URLs.
Default: 10

**Max redirector URL redirections** - `max_redir_url_redirections`
The maximum depth of chained redirections that a redirector can generate.
Default: 10

**URL redirector user agent** - `url_redirector_user_agent`
The user-agent header for HTTP requests. Some services require it to look like a common browser.
Default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

**URL redirector params** - `url_redirector_params`
The regexp used to parse URI parameters in order to detect redirectors and to get redirected domains. The regexp must match only the redirected domain.
Default: (?:adurl|af\_web\_dp|cm\_destination|continue|destination|destURL|goto|h|l|login|location|p1|pval|r|redir|redirect|redirectTo|ret\_url|return|returnUrl|referer|service|target|tid|u|url)=(.\*)

**URL redirectors** - `url_redirector`
Domains that should be considered as a URL redirector. If the domain begins with a ".", 3rd level tld of the main domain will be checked.
Default: empty

**URL redirectors use GET method** - `url_redirector_get`
Alias to url\_redirector. The http GET method will be used to check those domains.
Default: empty

**Clear URL redirectors** - `clear_url_redirector`
Clear configured url\_redirector and url\_redirector\_get domains, for example to override default settings from an update channel. If domains are specified, then only those are removed from list.
Default: empty

## Related Pages

- [Redirectors](https://docs.danami.com/warden/user-guide/antispam-plugins/redirectors "Redirectors")

 [ ](https://docs.danami.com/warden/command-line-interface/antispam/antispam-plugin-redirectors)

---

## Navigation

- Parent: [Plugin Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings.md)
- Previous: [Razor2 Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings/razor2.md)
- Next: [RelayCountry Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings/relaycountry.md)
