WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Redirect by Custom Field

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

1.0

  • Added new "hide redirects" filter in the list of posts/pages.

0.9

  • New placeholder function:
    • %home% and %site% in URLs are replaced by the WordPress home URL and site URLs, respectively.
    • New filter redirect_by_custom_field_placeholders to add or modify placeholders.

0.8

  • Removed inappropriate esc_url which was messing up some redirects.
  • New user-definable constant REDIRECT_BY_CUSTOM_FIELD_HTTP_STATUS.

0.7

  • Rewritten to use the template_redirect action instead, which catches some edge cases.

0.6

  • WordPress's own permalinks in the WordPress admin now are actually displayed, together with the redirect URL.

0.5

  • Fixed a potential PHP warning
  • Fixed an error in the query filter

0.4

  • Fixed redirect in some direct URL access cases
  • Properly sanitizes redirect URLs

0.3

  • First public release

Requires: 3.1 or higher
Compatible up to: 3.8.15
Last Updated: 3 years ago
Active Installs: 2,000+

Ratings

4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,3,3
100,2,2 40,5,2
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1
100,2,2
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1