Home Plugins redirect by custom field
Redirect by Custom Field logo

Redirect by Custom Field

by mitcho (Michael Yoshitaka Erlewine) on WordPress.org

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

(5)

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.

Active installations600+
Weekly downloads
20-13.04%
Version1.0
Last updated11/22/2013
WordPress version3.1
Tested up to3.7.41
Tags
aliascustom fieldredirecturl