Shortcode Redirect

Por cartpauj
(31 avaliações)
Baixar

Hospedagem WordPress com plugin Shortcode Redirect

Onde hospedar o plugin Shortcode Redirect?

Este plugin pode ser hospedado em qualquer provedor que tenha WordPress configurado. Recomendamos escolher uma empresa de hospedagem de confiança, com servidores adaptados para WordPress, como o serviço de hospedagem da MCO2.

Hospedando o plugin Shortcode Redirect em um provedor seguro

A MCO2, além de instalar o WordPress na versão mais atualizada para seus clientes, disponibiliza o plugin WP SafePress, um mecanismo singular que salvaguarda e otimiza seu site ao mesmo tempo.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

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:

  • Destination URL — where the visitor should end up
  • Seconds to wait — how long to pause before redirecting (0 = immediate)
  • Show “redirecting” message — toggle the visible “Please wait…” line on or off

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.

funcionalidades

  • Block editor support — native “Redirect” block (new in 1.1.0)
  • Classic shortcode[redirect] works exactly like it always has
  • Optional delay — choose how many seconds to wait before redirecting
  • Silent mode — hide the “redirecting…” message for a clean, blank-page redirect (new in 1.1.0)
  • Lightweight — a single PHP file plus a small block; no settings, no tables, no dependencies
  • Backwards compatible — upgrading from 1.0.x is drop-in

Capturas de tela

The <strong>Redirect</strong> block in the block editor — destination URL, delay, and

The Redirect block in the block editor — destination URL, delay, and "show message" toggle all live in the block sidebar, with a live summary inside the canvas.

Using the classic <code>[redirect]</code> shortcode via the core Shortcode block — fully backwards compatible.

Using the classic [redirect] shortcode via the core Shortcode block — fully backwards compatible.

The default

The default "Please wait while you are redirected..." message that visitors see (with a manual fallback link) while the page waits to redirect.

Plugins semelhantes

Redirection
(689 avaliações)

Gerencie redirecionamentos 301, monitore erros 404 e melhore seu site, sem precisar entender de Apache ou Nginx.

301 Redirects – Redirect Manager
(577 avaliações)

Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 404 error log.

Redirection
(376 avaliações)

Redirection

Page Links To
(156 avaliações)

Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its norma …

LoginWP (Formerly Peter's Login Redirect)
(488 avaliações)

Redirect users to different locations after they log in, log out and register based on different conditions.

404 Solution
(41 avaliações)

Automatically redirect 404 errors to the right page using a 7-engine matching pipeline and spell-checking algorithm. Zero configuration required.

Do mesmo author (cartpauj)

Login or Logout Menu Item
(23 avaliações)

Add a dynamic "Login" or "Logout" menu item to any WordPress Menu and control redirects.

User Notes
(15 avaliações)

Keep private notes about each of your users that only Administrators can see.