Trisha-tech / OnlineBookSales

This project named Online Book Sales - Backend deals with developing an e-commerce website for Online Book Sale. It provides the user with a catalog of different books available for purchase in the store. In order to facilitate online purchase, a shopping cart is provided to the user.
https://book4u-j5au.onrender.com/
MIT License
139 stars 239 forks source link

[Feature Request]: Implement Auto-Redirect for Invalid URLs #662

Open RachitSahu26 opened 2 weeks ago

RachitSahu26 commented 2 weeks ago

Is there an existing issue for this?

Feature Description

When users enter an incorrect or non-existent URL within the app, they currently encounter an error page or blank screen. This feature request proposes implementing an auto-redirect for invalid URLs, leading users to a fallback page (e.g., the homepage or a custom 404 error page) to improve navigation and user experience.

Use Case

Auto-Redirect to 404 Page: Redirect users to a friendly 404 page when they enter a non-existent URL. This page can contain helpful links (e.g., to the homepage, help center, or popular sections). Alternative: Automatically redirect users to the homepage if a custom 404 page is not available or desirable.

Benefits

Routing Configuration: Update the app's routing configuration to handle undefined routes and redirect them to a designated 404 page or the homepage. Custom 404 Page Design: Create a user-friendly 404 page with links to essential sections, ensuring users can quickly navigate back to main areas of the app.

Add ScreenShots

Uploading auto re.mp4…

Priority

High

Record

github-actions[bot] commented 2 weeks ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

Tanisha0708 commented 2 weeks ago

@RachitSahu26 i would like to work on this issue please assign me this issue