Open RachitSahu26 opened 2 weeks ago
🎉 Welcome to CodeCache! 🎉
Thank you for opening your first issue! We're excited to have you contributing to the project.
Before you get started, please make sure to check out our contributing guidelines and coding standards to ensure that everything is aligned with the project's workflow. If you have any questions or need help along the way, don't hesitate to ask.
We appreciate your input and look forward to collaborating with you. 🚀
Happy coding!
Assign this issue to me with level 3 i will complete it under 1 hour @notsoocool
@RachitSahu26 i like your idea but, we already have a custom 404 page, so ig we don't need any redirection for now.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Is your feature request related to a problem? Please describe. Users may encounter a frustrating experience when they mistakenly enter an invalid or incorrect URL on the site. Currently, no redirection mechanism is in place to guide users back to a meaningful page, such as the homepage, when they land on a nonexistent route. Describe the solution you'd like A clear and concise description of what you want to happen. I would like to implement an auto-redirect feature. When users visit a URL that does not match any valid route, they should be automatically redirected to the homepage, ensuring a smoother user experience. This will prevent confusion and provide a consistent navigation flow across the site. Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Displaying a custom "404 - Page Not Found" page with a link to the homepage. Redirecting users to a specific fallback route, such as a "Help" or "Explore" page. Showing a toast notification informing users of the invalid URL and offering a redirection option. Additional context Add any other context or screenshots about the feature request here. This feature will improve user experience by preventing dead ends. Below are some examples of other websites that implement similar auto-redirects or provide meaningful fallback pages. If screenshots or mockups are needed, I can provide those too.
https://github.com/user-attachments/assets/4fc6e80c-9fd7-4777-9e03-d0fa2274e748