Àpèjúwe
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.
Ìgbéwọlẹ̀
- Upload the
detourkitfolder towp-content/plugins. - Activate the plugin. It creates the table
{prefix}detourkit_rules. - Open Redirects in the admin menu.
FAQ
-
Where does the redirect run?
-
On the
template_redirecthook by default. Change it toparse_requestin 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 theDetourKitblock by hand if you used the Apache export.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“DetourKit Ìtumọ̀ Yorùbá: – URL redirection toolkit” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “DetourKit Ìtumọ̀ Yorùbá: – URL redirection toolkit” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.0.0
- First release.