ANSHIKA-26 / WordWise

Blogging website
https://anshika-26.github.io/WordWise/
MIT License
80 stars 328 forks source link

Fix 404 Page Redirection for Invalid Routes #1713

Closed Aman-G-upta closed 1 month ago

Aman-G-upta commented 1 month ago

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. Fixes: #1685 Before image

After

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

https://github.com/user-attachments/assets/34d434d6-0621-4a3a-99c6-c840437aeb43

Please merge it @ANSHIKA-26

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
word-wise ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 2:39am
hiteashgupta1 commented 1 month ago

Mention issue number

Aman-G-upta commented 1 month ago

Please review and add label @ANSHIKA-26

github-actions[bot] commented 1 month ago

🎉🎉 Thank you for your contribution! Your PR #1713 has been merged! 🎉🎉