Title: DetourKit &#8211; URL redirection toolkit
Author: Michael
Published: <strong>2 Ottobre 2026</strong>
Last modified: 2 Ottobre 2026

---

Ricerca i plugin

![](https://s.w.org/plugins/geopattern-icon/detourkit.svg)

# DetourKit – URL redirection toolkit

 Di [Michael](https://profiles.wordpress.org/migaweb/)

[Scarica](https://downloads.wordpress.org/plugin/detourkit.1.0.0.zip)

 * [Dettagli](https://it.wordpress.org/plugins/detourkit/#description)
 * [Recensioni](https://it.wordpress.org/plugins/detourkit/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/detourkit/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/detourkit/#developers)

 [Supporto](https://wordpress.org/support/plugin/detourkit/)

## Descrizione

DetourKit redirects old URLs to new ones.

 * One indexed database lookup per request. The plugin stores a hash of each source
   path under a unique index and never loops over the rules.
 * A cached negative result. A URL without a rule costs one memory read on sites
   with a persistent object cache.
 * Sitemap import. Enter the URL of an old sitemap.xml, and every URL becomes a 
   draft rule. The importer ignores the home page and every URL that still opens
   a page on the current site.
 * Mass editing. Assign a target post or page to many rules on one screen with a
   searchable dropdown, then save all changes with one click.
 * Exact and regex rules with status codes 301, 302, 307, and 308.
 * Hit counts that never block the response. Logged-in users do not count.
 * Export to CSV, to an Apache .htaccess block, or to an Nginx map file.

The plugin sends no data to any external service. The only outgoing request is the
sitemap URL that an administrator enters on the Import screen.

## Installazione

 1. Upload the `detourkit` folder to `wp-content/plugins`.
 2. Activate the plugin. It creates the table `{prefix}detourkit_rules`.
 3. Open Redirects in the admin menu.

## FAQ

### Where does the redirect run?

On the `template_redirect` hook by default. Change it to `parse_request` in the 
settings when you want the lookup before the main query.

### Does it need an object cache?

No. With a persistent object cache, a miss costs one memory read. Without one, a
miss costs one indexed query.

### Can I redirect to another domain?

Yes. Enable “Allow targets on other hosts” in the settings. The option is off by
default.

### What does the Nginx export do?

It writes a map file into `wp-content/uploads/detourkit/` and shows the snippet 
for your server block. Nginx applies the map only after a reload. Deny web access
to that folder in your Nginx configuration.

### Does uninstalling remove the rules?

Yes. Uninstalling drops the rules table and the settings. It does not edit `.htaccess`.
Remove the `DetourKit` block by hand if you used the Apache export.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“DetourKit – URL redirection toolkit” è un software open source. Le persone che 
hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Michael ](https://profiles.wordpress.org/migaweb/)

[Traduci “DetourKit – URL redirection toolkit” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/detourkit)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/detourkit/) segui
il [repository SVN](https://plugins.svn.wordpress.org/detourkit/), segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/detourkit/)
tramite [RSS](https://plugins.trac.wordpress.org/log/detourkit/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First release.

## Meta

 *  Versione **1.0.0**
 *  Ultimo aggiornamento **4 settimane fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 6.4 o superiore **
 *  Testato fino alla versione **7.1.3**
 *  Versione PHP ** 8.1 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/detourkit/)
 * Tag
 * [301](https://it.wordpress.org/plugins/tags/301/)[htaccess](https://it.wordpress.org/plugins/tags/htaccess/)
   [nginx](https://it.wordpress.org/plugins/tags/nginx/)[redirect](https://it.wordpress.org/plugins/tags/redirect/)
   [sitemap](https://it.wordpress.org/plugins/tags/sitemap/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/detourkit/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[La tua recensione](https://wordpress.org/support/plugin/detourkit/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/detourkit/reviews/)

## Collaboratori

 *   [ Michael ](https://profiles.wordpress.org/migaweb/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/detourkit/)

## Dona

Vuoi supportare lo sviluppo di questo plugin?

 [ Fai una donazione per questo plugin ](https://www.buymeacoffee.com/miga)