Linux 软件免费装

EffortLess Smart Page Redirects

开发者 domclic
更新时间 2026年8月14日 22:04
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

analytics multisite 301 redirect page redirect meta refresh

下载

1.6.8 1.6.9 1.6.11

详情介绍:

EffortLess Smart Page Redirects lets you send visitors of a specific WordPress page to another URL. Each redirect is stored as its own "Redirect Rule", so you can add, edit, disable (by moving the rule to draft) or delete redirects without touching theme files or the .htaccess file. Two redirect modes are available per rule: The delayed mode can use either a <meta http-equiv="refresh"> tag or a JavaScript setTimeout() call, selectable per rule. What each setting does Every Redirect Rule has the following fields: How a rule is matched How a rule is matched depends on where it was created, because page IDs are per site: every site of a network has its own set of pages numbered from 1, so the ID 42 refers to different content on every site. A site's own rules are checked first, so a rule created on a site always wins over a network-wide rule inherited from another site for the same content. A rule stops applying on its own site if its target page is deleted and recreated, because the new page receives a new ID. Re-select the page in the rule when that happens. Notes and limitations

安装:

  1. In your WordPress admin, go to Plugins → Add New → Upload Plugin and upload the plugin zip file, or copy the effortless-smart-page-redirects folder into /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu.
  3. A Redirect Rules menu appears in the admin sidebar. Go to Redirect Rules → Add New.
  4. Give the rule a title for your own reference (for example "Old pricing page").
  5. In the Redirect Settings box, choose the Page to Redirect and type the Destination URL.
  6. Leave Analytics-Safe Redirect unchecked for a standard 301 redirect, or check it and set the delay method and delay if you want your analytics to record the visit first.
  7. Click Publish. The redirect is active immediately.
To disable a redirect later, edit the rule and switch it back to draft, or move it to the trash.

升级注意事项:

1.6.11 Fixes network-wide rules on multisite, which matched unrelated content on the other sites. Update recommended on multisite installs. 1.6.10 Rules match on the target page ID only again. On a network, review any rule that relied on the 1.6.8 slug matching to reach a page on another site. 1.6.9 Fixes immediate (301) rules that point at a URL on another domain. Update recommended. 1.6.8 Fixes network-wide redirect rules on multisite and adds slug matching as a fallback. Update recommended on multisite installs. 1.6.7 Documentation update only. No changes to plugin behaviour. 1.6.6 Fixes a plugin slug / text domain mismatch. Update recommended. 1.6.5 Internal identifier prefix migration (automatic, no action needed) plus compliance fixes. Update recommended.

常见问题:

What is the difference between the two redirect modes?

The immediate mode sends a 301 Moved Permanently header before anything is rendered, which is what search engines expect for a permanent move. The delayed mode loads the page first, shows a spinner overlay, and then moves the visitor to the destination. Use the delayed mode when you need scripts on the page — analytics in particular — to run before the visitor leaves.

Which analytics tools does the delayed mode work with?

It is not tied to a specific tool. The plugin simply keeps the visitor on the page for the delay you configure, so any script that is already loaded on that page, including Matomo, Google Analytics 4 and Google Tag Manager, has that time to send its request. Whether a given pageview is recorded depends on how quickly that script loads on your site; increase the delay if visits are missing.

Does it support 301 redirects?

Yes. Rules with Analytics-Safe Redirect unchecked are sent as 301 Moved Permanently via wp_safe_redirect(). The delayed mode is a client-side redirect and does not send a 301 status.

Can I redirect to an external site?

Yes. Enter the full URL in the Destination URL field.

Does it work on multisite?

Yes. Rules are created per site, and checking Network Wide makes a rule apply on the other sites of the network as well. On those sites the rule matches content whose slug is the same as the target page's slug, since page IDs are not shared between sites.

Will it slow down my site?

The list of published rules is read once and cached for an hour per site, and the check runs only on single pages and posts on the front end. Pages without a matching rule are left untouched.

I created a rule but nothing happens

Check that the rule is published rather than saved as a draft, that both the page and the destination URL are filled in (the rule is not saved if either is empty), and that you are testing on the front end while not previewing the page from the editor.

更新日志:

1.6.11 1.6.10 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.3 1.6.2 1.6.1 1.6.0