Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 [Pages] Create a redirect type of page #673

Open
tudoramariei opened this issue Mar 21, 2024 · 0 comments
Open

🚧 [Pages] Create a redirect type of page #673

tudoramariei opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
enhancement 🚀 New feature or request needs-info

Comments

@tudoramariei
Copy link
Member

tudoramariei commented Mar 21, 2024

🚧 THIS ISSUE IS CURRENTLY A DRAFT 🚧

Is your feature request related to a problem? Please describe.

Some pages' URLs can change over time, and if the old link is still used somewhere, you need to keep two copies of that page.

Describe the solution you'd like

Create a new type of page that redirects the user to a URL.
The URL shouldn't be a Text input field but a component similar to the page selector from the header/footer settings to make things as clear as possible.

When the user clicks on Add to add a new page, there should be a dropdown to allow the user to select between Page and Redirect.

The only editable component should be the slug. The page title should not be editable, it should be Redirect: [page to redirect to].

Additional context

A simple Text input URL field would be susceptible to issues over time if the domain or page URL changes.
Screenshot 2024-03-21 at 10 35 50

The Header/Footer page input field is much more reliable in connecting internal & external pages.
Screenshot 2024-03-21 at 10 35 04

@tudoramariei tudoramariei added enhancement 🚀 New feature or request needs-info labels Mar 21, 2024
@tudoramariei tudoramariei changed the title [Pages] Create a redirect type of page 🚧 [Pages] Create a redirect type of page Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request needs-info
Projects
None yet
Development

No branches or pull requests

2 participants