Opened 3 years ago

Closed 3 years ago

#5571 closed enhancement (duplicate)

PoC - Redirections for

Reported by: javiercasares's profile JavierCasares Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords: dev-feedback


From the Spanish Community we have the need to make redirections of some obsolete pages to point to new pages with a new URL or new content at

Bearing in mind that there is no redirection system, I propose this proof of concept of how a simple redirection system could be proposed (NOTE: my knowledge of WordPress plugin development is limited, but I have people who could propose something much more serious and that complies with the PHPCS).

The idea of the Plugin is simple. On the one hand, in the pages, create a metabox in which you can indicate the new destination URL. It is saved, and if when loading the page, that metabox is detected in the page, the redirection is done.

I know that this situation has been raised previously by other people to Meta, both by the Spanish team and by other teams, so if the idea is valid, I can work on evolving this system to be 100% compatible.

I leave a link from the Git where you can see the PoC

Change History (2)

#1 @estelaris
3 years ago

  • Keywords dev-feedback added

@dd32 could this solve the issue I raised in #5519?

#2 @dd32
3 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

I'm going to close this as a duplicate of #5519 - even though it's not the same functionality, it's ultimately going to be fixed by the same thing.

I'm not going to personally deploy any plugins such as the proposed once onto, as I don't believe we should maintain something like that going forward, and it requires the obsolete pages to continue to exist.

As per #5519, a plugin I would support, would be one which fixes in a way which could be added to WordPress itself through the wp_old_slug_redirect() functionality.

Note: See TracTickets for help on using tickets.