Title: Redirector
Author: Ralf Hortt
Published: <strong>Novambor 5, 2008</strong>
Last modified: Ogóst 11, 2014

---

Search plugins

![](https://ps.w.org/redirector/assets/banner-772x250.jpg?rev=481648)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/redirector_d7dad8.svg)

# Redirector

 By [Ralf Hortt](https://profiles.wordpress.org/horttcore/)

[Download](https://downloads.wordpress.org/plugin/redirector.3.0.1.zip)

 * [Details](https://rhg.wordpress.org/plugins/redirector/#description)
 * [Reviews](https://rhg.wordpress.org/plugins/redirector/#reviews)
 *  [Installation](https://rhg.wordpress.org/plugins/redirector/#installation)
 * [Development](https://rhg.wordpress.org/plugins/redirector/#developers)

 [Support](https://wordpress.org/support/plugin/redirector/)

## Description

Redirect posts, pages or any custom post type to a different url.

### Hooks

#### Actions

 * `redirector_uninstall` – Runs on plugin deinstall
 * `redirector_metabox_begin` – Begin redirector meta box
 * `redirector_metabox_end` – End redirector meta box
 * `redirector-modal-search-begin` Begin redirector modal
 * `redirector-modal-search-end` End redirector modal

#### Filters

 * `redirector-redirect-url` – Alter the query string that is appended to redirect
   url
 * `redirector-status-code` – Redirect status code; default 301
 * `redirector-recent-posts` – Alter redirector recent posts query
 * `redirector-search-query` – Alter redirector search query
 * `redirector-meta` – Alter Redirector meta save

#### Update Notice

In version 3+ I’ve changed the database handling of storing the post meta data.

This results in that you have the visit the backend once after updating the plugin.
The function maybe_update() will handle the transition from the old structure to
the newer one. There shouldn’t be any problem updating the plugin, if so please 
contact me!

## Screenshots

 * [[
 * Meta box – No redirection
 * [[
 * Meta box – Select post ( any post type )
 * [[
 * Modal box – Select post ( any post type ) with most recent posts
 * [[
 * Modal box – Search post ( any post type )
 * [[
 * Meta box – Selected post ( any post type )
 * [[
 * Meta box – Custom URL
 * [[
 * Meta box – First child element
 * [[
 * Meta box – SSL

## Installation

 * Put the plugin file in your plugin directory and activate it in your WP backend.
 * Go to edit a page
 * Scroll down to ‘Redirector’ meta box
 * Select a WordPress page of you installation or enter a valid URL or select the‘
   first child page’

## FAQ

  Installation Instructions

 * Put the plugin file in your plugin directory and activate it in your WP backend.
 * Go to edit a page
 * Scroll down to ‘Redirector’ meta box
 * Select a WordPress page of you installation or enter a valid URL or select the‘
   first child page’

  Where can I get support or report bugs?

Please use the [github](https://github.com/Horttcore/Redirector) to report bugs 
or add feature requests!

  How can I activate Redirector for other post types beside pages?

Simple add the post type support for it via `add_post_type_support( 'post', 'redirector')`

## Reviews

![](https://secure.gravatar.com/avatar/dc8b0513e3d011863437ac3c94b83bc695ae73fed05e9ae73842bf937611ccb2?
s=60&d=retro&r=g)

### 󠀁[2020, fresh WordPress, and still works!](https://wordpress.org/support/topic/2020-fresh-wordpress-and-still-works/)󠁿

 [comigo](https://profiles.wordpress.org/comigo/) Februari 4, 2020

It creates option sections in Gutenberg, which makes the plugin usable both for 
admins and customers.

![](https://secure.gravatar.com/avatar/a4374d7c1d6a424d184c76f7aa2a978d2daa3e0585befc4ab857589e556f8c84?
s=60&d=retro&r=g)

### 󠀁[Still works great with 4.7.4](https://wordpress.org/support/topic/still-works-great-with-4-7-4/)󠁿

 [MartinW2](https://profiles.wordpress.org/martinw2/) Ipril 29, 2017

Thanks for this simple yet effective plugin!

![](https://secure.gravatar.com/avatar/f895dacd34ad5f7c3ede6f7f8a6c9527e2cda3a64eaacbf6330cc3eec22bb400?
s=60&d=retro&r=g)

### 󠀁[Works fine with 4.4.1](https://wordpress.org/support/topic/works-fine-with-441/)󠁿

 [annaemde](https://profiles.wordpress.org/annaemde/) Séptembor 3, 2016

Thank you very much!

![](https://secure.gravatar.com/avatar/2a0b2dbc4143700987d664a2ea7aa962d3120cc36145e46d48ad95fe0d7157be?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-2745/)󠁿

 [Madovsky](https://profiles.wordpress.org/madovsky/) Séptembor 3, 2016

This plugin just save my life!

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/redirector/reviews/)

## Contributors & Developers

“Redirector” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Ralf Hortt ](https://profiles.wordpress.org/horttcore/)

“Redirector” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/redirector/contributors)
for their contributions.

[Translate “Redirector” into your language.](https://translate.wordpress.org/projects/wp-plugins/redirector)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/redirector/), check
out the [SVN repository](https://plugins.svn.wordpress.org/redirector/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/redirector/) by 
[RSS](https://plugins.trac.wordpress.org/log/redirector/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0.1

 * Fix: Checked checkbox for no redirection
 * Fix: Prevent empty redirects
 * Fix: Compability with Cachify

#### 3.0.0

 * Added: Search post object for post redirect type
 * Added: Redirect preview
 * Added action: `redirector-update`
 * Added action: `redirector-modal-search-begin`
 * Added action: `redirector-modal-search-end`
 * Added filter: `redirector-recent-posts`
 * Added filter: `redirector-redirect-url`
 * Added filter: `redirector-status-code`
 * Added filter: `redirector-meta`
 * Enhancement: New Redirector UI
 * Removed Filter: `redirector_redirect`
 * Removed Filter: `redirector_status`
 * Removed Filter: `redirector_types`

#### 2.0.3

 * Added more arguements to the hooks
 * Added README.md

#### 2.0.2

 * Filter ‘redirector_status’ added
 * Uninstall routine activated
 * Code readability increased

#### 2.0.1

 * Enhancement: Cleanup
 * Fix: Minor typos
 * Fix: Metabox is displayed correctly on new post

#### 2.0

 * Core function rewritten
 * Updated JS/CSS
 * Fully extendable with filters and actions
 * Custom Post Type Support
 * New redirect Method (HTTPS)
 * Moved files into folders

#### 1.2

 * Moved the code into class

#### 1.1

 * Proper multilanguage support
 * CSS moved to redirector.css
 * JS moved to redirector.js

…

## Meta

 *  Version **3.0.1**
 *  Last updated **8 bosór óll ago**
 *  Active installations **7,000+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **3.6.1**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/redirector/) arde .[German](https://de.wordpress.org/plugins/redirector/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/redirector)
 * Tags
 * [page](https://rhg.wordpress.org/plugins/tags/page/)[redirect](https://rhg.wordpress.org/plugins/tags/redirect/)
 *  [Advanced View](https://rhg.wordpress.org/plugins/redirector/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/redirector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/redirector/reviews/)

## Contributors

 *   [ Ralf Hortt ](https://profiles.wordpress.org/horttcore/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/redirector/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.horttcore.de)