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 #4873

Merged
merged 1 commit into from
Nov 10, 2024
Merged

Fix 404 Page Redirection for Invalid Routes #4873

merged 1 commit into from
Nov 10, 2024

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
383851159-e33c2551-2877-4486-9c89-e9f2bfde4504

After
image

Please merge it @anuragverma108

Copy link

vercel bot commented Nov 9, 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 9, 2024 5:45pm

Copy link
Contributor

github-actions bot commented Nov 9, 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 9, 2024

Deploy Preview for swapreadsconnect ready!

Name Link
🔨 Latest commit 1d5f99a
🔍 Latest deploy log https://app.netlify.com/sites/swapreadsconnect/deploys/672f9fb28094f8000842d4f1
😎 Deploy Preview https://deploy-preview-4873--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.

@atmajaa atmajaa added level3 Advance gssoc-ext This contribution is under GirlScript Summer of Code 2024 Extended Edition! hacktoberfest-accepted GSSOC Ext. is collaborated with Hacktoberfest labels Nov 10, 2024
@atmajaa atmajaa merged commit 4cd4ac1 into anuragverma108:main Nov 10, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext This contribution is under GirlScript Summer of Code 2024 Extended Edition! hacktoberfest-accepted GSSOC Ext. is collaborated with Hacktoberfest level3 Advance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants