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

Merged
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
image

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

Screen.Recording.2024-11-07.125449.mp4

Please merge it @PriyaGhosal

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)
buddy-trail ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 7:29am

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 buddytrail ready!

Name Link
🔨 Latest commit 1aaa2a0
🔍 Latest deploy log https://app.netlify.com/sites/buddytrail/deploys/672c6c623029ce00087b6b6a
😎 Deploy Preview https://deploy-preview-1934--buddytrail.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.

@PriyaGhosal PriyaGhosal merged commit 3f393e9 into PriyaGhosal:main Nov 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants