跳到内容

Redirect by Custom Field

v1.0

mitcho (Michael Yoshitaka Erlewine) · 2011年1月10日 上架

Changes the URLs pointing to pages and posts which have a "redirect" custom field, using that entry as the URL instead.

正在使用
500+
评分
4.8 / 5
累计下载
2.4 万
最近更新
2013年11月22日
5 条评价需要 WordPress 3.1+已测试到 3.7.41

Sometimes you have a need for having links to external URLs show up interspersed among your own pages or posts. This plugin lets you easily create such “redirecting” posts or pages by simply setting a custom field.

Usage: Add the custom field with label “redirect” to any post or page. Enter the redirect target URL as the value of that custom field. Now all links on your site to that post or page will be replaced with that redirect URL! If you try to visit the permalink URL for that page, it will redirect the user to that redirect URL too.

This plugin actually also works fine to redirect a URL to another URL on the same site as well.

Placeholders: New in version 0.9: the strings %home% and %site% in URLs are replaced by the WordPress home URL and site URLs, respectively.

Development of this plugin was supported by the Arts at MIT.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums