该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Redirectify

描述

This plugin will redirect visitors to an alternative post / page or external URL when they attempt to view the specific post / page. The redirect will only happen when the post / page is viewed by itself, post content and other post data such as excerpts will still appear on the homepage and archives. This is an easy way to give permalinks to pages that are outside the control of WordPress and integrate them into your site structure.

This plugin adds a custom form field just above the submit box (where the publish button is shown), the value of this field should be the URL to redirect when that page is viewed.

Can we have an example?

Say you already have an external gallery not controlled by WordPress and you want to include a link to it using the page functionality of WordPress. By using this Plugin, the page redirecting to the external Gallery will appear in your page menu (wherever that is on your site, typically in your sidebar) and when a user clicks it (accesses the permalink in the address bar) they will be redirected to your gallery, wherever that happens to be.

屏幕截图

  • Screenshot of the Publish Meta box (Redirection Disabled)
  • Screenshot of the Publish Meta box input field (Blank)
  • Screenshot of the Publish Meta box (Redirection Enabled)
  • Screenshot of the Publish Meta box input field (Filled In)

安装

  1. Upload the wp-redirectify folder and all contents to /wp-content/plugins
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Installation Instructions
  1. Upload the wp-redirectify folder and all contents to /wp-content/plugins
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
How to redirect Posts / Pages?
  1. Open the post for editing
  2. Click Edit in the publish module beside Redirection
  3. Enter a full URL and click OK
  4. Click Update Post to save changes
  5. You should be good to go

评价

此插件暂无评价。

贡献者及开发者

“Redirectify” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Redirectify」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Redirectify”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.2.1

  • Minor fix to the save function

2.2

  • Minor fix to post state display.

2.1

  • Added option to use redirect url as permalink or use standard url. You can access it via your Settings -> Reading page.
  • Two new filters for permalink filtering:
    1. redirectify_filter – filter to disable url display
    2. redirectify_permalink_filter – filter to input additional permalink filters
  • Tidied up some code.

2.0

  • Complete re-write.