quran / quran.com-frontend-next

Frontend build on next.js
https://quran.com
1.31k stars 381 forks source link

[bug]: typo in URL - `tafisr` instead of `tafsir` #2105

Open omeiirr opened 4 months ago

omeiirr commented 4 months ago

Is there an existing issue for this?

Describe the bug

For Tafsir by Ibn-Kathir, the URL shows tafisr instead of tafsir

example link: https://quran.com/65:12/tafsirs/en-tafisr-ibn-kathir

Moreover, the correct link results in an error screen ("Sorry something went wrong") https://quran.com/65:12/tafsirs/en-tafsir-ibn-kathir

Tried to search but couldn't find this issue made previously; apologies if this is a duplicate.

I'm assuming we can't simply update the link to use tafsir as it would break backwards compatibility for other apps using quran.com .

Optimal solution would be to have the current link using tafsir and redirect the incorrect link using tafisr to the correct one.

Open to ideas.

Relevant log output

No response

Steps to reproduce

Go to: https://quran.com/65:12/tafsirs/en-tafsir-ibn-kathir

Find the typo in URL

Environment (please complete the following information) and Add any other context about this bug

All browsers

Environment

Production(quran.com)