Opened 4 years ago
Closed 4 years ago
#5571 closed enhancement (duplicate)
PoC - Redirections for WordPress.org
Reported by: | JavierCasares | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Make (Get Involved) / P2 | Keywords: | dev-feedback |
Cc: |
Description
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 es.wordpress.org.
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 https://github.com/javiercasares/meta-redirection
Change History (2)
#2
@
4 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 WordPress.org, 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 https://core.trac.wordpress.org/ticket/4328 in a way which could be added to WordPress itself through the wp_old_slug_redirect() functionality.
@dd32 could this solve the issue I raised in #5519?