10,000+
May 28, 2026
September 22, 2011
Shortcode Redirect sends visitors from any post or page to another URL. No settings screens, no database tables — just drop it in where you need it.
There are two ways to use it, and both produce the exact same front-end output.
1. The Redirect block (new in 1.1.0)
In the block editor, add the Redirect block from the Widgets category. The block sidebar exposes three simple fields:
0 = immediate)The editor shows a live summary of what the block will do, e.g. “Redirects to https://example.com — after 3 seconds · message shown”. No shortcode syntax to memorize.
2. The classic shortcode
Paste into any post or page:
[redirect url='https://example.com' sec='3']
Shortcode attributes:
url — destination URL (required)sec — seconds to wait before redirecting (optional, default 0)show_message — set to false, 0, no, or off to hide the “redirecting” message (optional, default true, new in 1.1.0)Example with all three:
[redirect url='https://example.com' sec='5' show_message='false']
Same output either way
Block or shortcode, the front-end renders the same single <meta http-equiv="refresh"> tag (plus the optional one-line message). No JavaScript. No server-side redirect. No third-party tracking. Existing [redirect] shortcodes from earlier versions continue to work unchanged.
[redirect] works exactly like it always hasInstall from the WordPress Plugin Directory, or upload shortcode-redirect.zip to /wp-content/plugins/.
Activate the plugin through the Plugins menu.
Either:
[redirect url='https://example.com' sec='3'] into any post/page.No configuration screen to visit — the plugin activates and is immediately usable.
In the block: toggle off Show “redirecting” message in the block sidebar.
In the shortcode: add show_message='false' (also accepts 0, no, or off):
[redirect url='https://example.com' sec='3' show_message='false']
Yes. Both render the same <meta http-equiv="refresh"> tag on the front-end. Same delay handling, same message toggle, same output.
Absolutely. Use whichever fits the page you’re editing. Pages built with the old [redirect] shortcode keep working when you upgrade — no migration required.
No. The redirect is a plain HTML <meta http-equiv="refresh"> tag. It works with JavaScript disabled, in text browsers, and inside reader modes.
Yes — the Redirect block supports reuse, so you can save a configured redirect once and drop it anywhere.
show_message shortcode attribute or the Show “redirecting” message block toggle