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

Fix 404 Page Redirection for Invalid Routes #4740

Closed
wants to merge 0 commits into from
Closed

Fix 404 Page Redirection for Invalid Routes #4740

wants to merge 0 commits into from

Conversation

Aman-G-upta
Copy link
Contributor

This pull request improves the handling of invalid routes by implementing a proper redirection to the 404.html page for any invalid or non-existent paths on the website. Previously, navigating to a non-existent route would display a "File not found" error, causing a poor user experience. Now, the application gracefully redirects to a custom 404 page, improving the overall usability and consistency.

Before
image

Please refer to the video below for a detailed overview and clear understanding

Screen.Recording.2024-11-07.123501.mp4

Kindly merge it @anuragverma108

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
swapreads ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 7:13am

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for swapreadsconnect ready!

Name Link
🔨 Latest commit 32cae55
🔍 Latest deploy log https://app.netlify.com/sites/swapreadsconnect/deploys/672e4b023e91a80008014db5
😎 Deploy Preview https://deploy-preview-4740--swapreadsconnect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@abhi03ruchi
Copy link
Collaborator

abhi03ruchi commented Nov 7, 2024

enhance the 404 page so that it matches the website theme( UI ) .

@Aman-G-upta Aman-G-upta closed this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants