| 开发者 | devdome |
|---|---|
| 更新时间 | 2026年10月1日 04:18 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/blog/ or /blog/best-headphones/, whether the page exists or not. A trailing slash matches that page and everything under it.?utm_source=reddit.com and ?utm_source=reddit match. Anyone can set this label; it does not verify where a visitor came from.
Redirect Method and URL forwarding
Choose JavaScript Redirect, 301 Permanent, 302 Temporary, 307 Temporary, 308 Permanent or Meta Refresh per rule. Use a 301 redirect for permanent redirection or a 302 redirect for temporary URL forwarding. New-tab opening and client-side delays require JavaScript; server and meta methods always open in the same tab.
Under Where To Send Traffic, choose:
amazon.com to find a matching link/button already on the page. You can target the N-th match.yoursite.com/post/123 becomes otherdomain.com/post/123.devdredi_redirect_target filters destinations for provided links and same-path redirects.devdredi_pass_bind_address filters the address a Visitor Check pass is bound to, for example a network range instead of an exact address.devdredi_redirected responds to redirect events./wp-content/plugins/ (or install it from the Plugins screen) and activate it.Choose 301, 302, 307, 308 or Meta Refresh to redirect without JavaScript. These methods always open in the same tab, so New Tab is unavailable. JavaScript is required for Visitor Check, new-tab opening, "wait for a click" and client-side delays. On fully cached pages, Referring websites and Only visitors arriving from outside rules also use JavaScript to detect the landing.
A caching plugin or server cache may still serve a stored copy of the page. Keep "Purge Page Cache On Save" enabled so targeted pages are cleared when you save or run the rule.
Yes. Rules are independent and ordered by priority. For each request, the highest-priority running rule that matches handles it.
The visitor is redirected only the first time, then left on the page on later visits until you reset the rule's statistics. Choose "After a delay" to make the redirect available again after a set time. Visitors are identified by IP or IP + browser/device.
No. "Don't redirect known bots" skips requests matching local checks, but bots with unrecognised browser identifiers can still be redirected. Visitor Check compares the IP address and browser between two requests; it does not prove that a visitor is human. Keep "Don't redirect known bots" enabled. For supported JavaScript redirects, try Visitor Check. Consider Outdated Browsers if excluding older browsers suits your audience. These settings can reduce some automated redirects, but cannot prevent direct visits to the destination or guarantee valid clicks.
It adds one request to your site before opening the destination, so some extra loading time is possible. There is no CAPTCHA. A visitor using the same IP address and browser continues automatically if the pass is still valid.
If the IP address or browser identifier changes between loading the page and returning the pass, the redirect is refused. The visitor sees an expired-link message asking them to go back and open the page again. This can happen to real visitors switching networks.
Further visitors handled by that rule stay on the page or go to its bypass link. A new daily allowance becomes available at midnight in the site's timezone, subject to the rule's schedule. Resetting statistics does not reset today's allowance.
Country lookups send visitor IP addresses to the geo service when Geo Filtering is enabled. "Test geo service" also contacts that service. The plugin catalog and optional account connection have separate external requests. See External services for details. Visitor Check, Outdated Browsers, Daily Redirect Limit and UTM source matching run locally without an external service.
Edit each rule that could redirect you. Under Optional Settings, tick "Don't redirect users with these roles", tick your role, such as Administrator or Editor, then save. This applies only while logged in. To skip redirects while logged out too, tick "Don't redirect these IP addresses or ranges" and add your public IPv4 or IPv6 address, one address or CIDR range per line. Update the entry if your public address changes. Everyone sharing a listed address is also skipped. Matching visits stay on the page, never go to the bypass link and are counted with skipped bots instead of visitors. Cached pages may still contain a redirect, so clear the page cache after saving if needed.
Use Export to download a JSON file of all rules, then Import on the other site. Imported rules arrive stopped, so you can review them before starting.
For the redirect part of a site migration, choose "To same path on another domain" to use domain forwarding while preserving paths and queries. Configure 301 redirects for a permanent move. After you change URL paths or change permalink settings in WordPress, enter the old paths under Custom URLs and provide their new destinations. This sets up a link redirect from an old address; it does not change permalink settings or move your site's files and database.
skip_ips, skip_user_agents and skip_roles.devdredi_pass_bind_address filter for the address a Visitor Check pass is bound to.visitor_check, skip_old_browsers, daily_limit_enabled, daily_limit_min, daily_limit_max and referrer_utm_scan rule fields. Switching visitor_check or skip_old_browsers off needs confirm: true.devdredi_redirect_target filter and devdredi_redirected action.