Title: Redirect Old Links
Author: ryanshoover
Published: <strong>16 março, 2017</strong>
Last modified: 20 março, 2017

---

Pesquisar plugins

![](https://ps.w.org/redirect-old-links/assets/banner-772x250.png?rev=1627557)

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/redirect-old-links/assets/icon-256x256.png?rev=1627557)

# Redirect Old Links

 Por [ryanshoover](https://profiles.wordpress.org/ryanshoover/)

[Baixar](https://downloads.wordpress.org/plugin/redirect-old-links.1.0.0.zip)

 * [Detalhes](https://br.wordpress.org/plugins/redirect-old-links/#description)
 * [Avaliações](https://br.wordpress.org/plugins/redirect-old-links/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/redirect-old-links/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/redirect-old-links/#developers)

 [Suporte](https://wordpress.org/support/plugin/redirect-old-links/)

## Descrição

Changing your link structure in WordPress can lead to all of your old links breaking
and returning a “404”. But no more! If someone goes to an old link for your site,
I’ll find the new link and redirect them there automatically.

No configuration. No one-by-one setting of the new link structures. No wrestling
with complicated regex patterns. Just install me and relax.

_Redirect 404s_ works with posts, pages, and custom post types (like ecommerce products).

 * Note – the plugin only works for permalink structures where the last “chunk” 
   of the URL is the post name (also called the slug).

## Instalação

 1. Upload the plugin folder to your /wp-content/plugins/ directory
 2. Activate the plugin through the Plugins menu
 3. Done!

## Perguntas frequentes

  How do I configure the plugin?

No configuration necessary! I automatically tests all 404 links to see if they might
resolve to an existing post. If I find a post that matches, I’ll just redirect the
visitor to that post.

  How do you know when a post matches?

I take the last “chunk” of the URL and assume it’s a post name. Then I search for
any posts with that name. If I find one, I redirect the user to the post I found.
Since I use this method, I won’t work for _all_ permalink structures. But the vast
majority end in the post name, so I’ll work just fine on most sites.

Examples:
 * /2017/02/this-is-the-last-chunk/ * /announcements/this-is-the-last-
chunk/

  Do you work with custom post types like ecommerce products?

Sure do! I’ll search all public post types for the post name to see if I find one.

## Avaliações

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

### 󠀁[Finally a 301 plugin which works and don’t need any setup](https://wordpress.org/support/topic/finally-a-301-which-works-and-dont-need-any-setup/)󠁿

 [maxmoon](https://profiles.wordpress.org/maxmoon/) 26 março, 2017

I was looking for about 3 hours for a plugin, which can redirect all sites if you
change the permalinks structure in WordPress. After 5 plugins I almost gave up, 
because none of them worked if you have another direction of your WordPress installation
or if you have a multi lingual blog (permalinks with /de/ or /en/). But with this
plugin everything works! And I haven't configured anything… just installed it and
it worked! It's just amazing!

 [ Leia a 1 avaliação ](https://wordpress.org/support/plugin/redirect-old-links/reviews/)

## Colaboradores e desenvolvedores

“Redirect Old Links” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ ryanshoover ](https://profiles.wordpress.org/ryanshoover/)

[Traduzir o “Redirect Old Links” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/redirect-old-links)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/redirect-old-links/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/redirect-old-links/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/redirect-old-links/)
por [RSS](https://plugins.trac.wordpress.org/log/redirect-old-links/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

 * 1.0.0 Initial release to wordpress.org repository
 * 0.2 Update the query to search for all post names, instead of just matching off
   of `get_page_by_path()`
 * 0.1 Initial release

## Meta

 *  Versão **1.0.0**
 *  Última atualização **10 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **4.7.38**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/redirect-old-links/)
 * Tags
 * [404](https://br.wordpress.org/plugins/tags/404/)[permalinks](https://br.wordpress.org/plugins/tags/permalinks/)
   [redirect](https://br.wordpress.org/plugins/tags/redirect/)[seo](https://br.wordpress.org/plugins/tags/seo/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/redirect-old-links/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/redirect-old-links/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/redirect-old-links/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/redirect-old-links/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/redirect-old-links/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/redirect-old-links/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/redirect-old-links/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/redirect-old-links/reviews/)

## Colaboradores

 *   [ ryanshoover ](https://profiles.wordpress.org/ryanshoover/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/redirect-old-links/)