Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

External Permalinks Redux


Allows users to point WordPress objects (posts, pages, custom post types) to a URL of their choosing, which is particularly useful for injecting non-WordPress content into loops. The object appears normally in any loop output, but visitors to the object will be redirected to the specified URL. The plugin also allows you to choose the type of redirect, either temporary (302), or permanent (301).

Through a filter, the External Permalinks Redux meta box can easily be added to custom post types. There is also a function available for use with WordPress’ add_meta_box function.

This plugin was originally written for use on VIP. It is inspired by and backwards-compatible with Mark Jaquith’s Page Links To plugin, meaning users can switch between plugins without risk of losing any existing external links.

This plugin is translation-ready.

Lluniau Sgrin

  • The metabox provided for the Classic Editor.
  • The sidebar plugin provided for the Block Editor.


  1. Upload external-permalinks-redux.php to /wp-content/plugins/.
  2. Activate plugin through the WordPress Plugins menu.

Cwestiynau Cyffredin

How can I add support for my custom post type?

Using the epr_post_types filter, one can modify the default array of object types (post and page) to include additional custom post types or remove the plugin from one of the default post types.

What other filters does this plugin include?

  • epr_meta_key_target – modify the meta key associated with the external URL
  • epr_meta_key_type – modify the meta key associated with the redirect type
  • epr_status_codes – modify array of available status codes used when redirect is issued


Mai 1, 2017
This plugin does almost exactly what I need out of the box, but I wanted for the URL redirect to go to a new page/tab. Turns out that was easier than I expected. I just had to add the target=”_blank” to my content.php file in my child theme. Thank you for saving me a LOT of time!
Mawrth 28, 2017
Simple yet easy functionality – this is exactly what I was looking for. I was thinking about writing this type of plugin myself, because we have a bunch of content on other parts of our domain outside of wordpress. But this plugin came up in the search, and I couldn’t have written it better myself! Works like a charm!
Read all 3 reviews

Contributors & Developers

“External Permalinks Redux” is open source software. The following people have contributed to this plugin.


Cofnod Newid


  • Fix translations when plugin is used with older WordPress versions.


  • Fix translations in block editor.


  • Introduce block-editor (Gutenberg) sidebar component for supported post types..


  • Introduce get_redirect_data() method to look up a post ID’s redirect.
  • Introduce PHPUnit tests
  • Conform to current VIP Go Coding Standards.


  • Introduce a filter to change the metabox title for clarity. Does break translation for that string if used.
  • Add additional HTML classes in the metabox to aid customization.
  • Coding standards and PHPDoc cleanup.


  • Implement singleton pattern for instantiation. Thanks batmoo.


  • Increase priority of init action to ensure that the filters it contains are available to other plugins. Thanks batmoo.


  • Add status codes filter. Thanks danielbachhuber.
  • Correct translation string implementation, removing variable name.
  • Miscellaneous cleanup, such as whitespace removal.


  • Add shortcut function for registering meta box on custom post types. This is included as an alternative to the epr_post_types filter discussed in the FAQ.


  • Initial release in repository.
  • Rewrote original VIP plugin into a class and added support for custom post types.