ErrorDocument 404 https://surahquran.com
<IfModule mod_rewrite.c>
#RewriteEngine On
RewriteRule ^tafsir-alqurtubi/([0-9]+).html$ tafsir-alqurtubi/$1.php
RewriteRule ^tafsir-shawkani/([0-9]+).html$ tafsir-shawkani/$1.php
RewriteRule ^quran-expressed/([0-9]+).html$ quran-expressed/$1.php
RewriteRule ^tafsir-ibn-kathir/([0-9]+).html$ tafsir-ibn-kathir/$1.php
RewriteRule ^tafsir-mokhtasar/([0-9]+).html$ tafsir-mokhtasar/$1.php
RewriteRule ^tafsir-tabari/([0-9]+).html$ tafsir-tabari/$1.php
RewriteRule ^tafsir-assadi/([0-9]+).html$ tafsir-assadi/$1.php
RewriteRule ^tafsir-shanqiti/([0-9]+).html$ tafsir-shanqiti/$1.php
RewriteRule ^translation/andonesy/([0-9]+).html$ translation/andonesy/$1.php
RewriteRule ^translation/English/([0-9]+).html$ translation/English/$1.php
RewriteRule ^translation/frinsh/([0-9]+).html$ translation/frinsh/$1.php
RewriteRule ^translation/Spanish/([0-9]+).html$ translation/Spanish/$1.php
RewriteRule ^translation/hausa/([0-9]+).html$ translation/hausa/$1.php
RewriteRule ^translation/German/([0-9]+).html$ translation/German/$1.php
########################################################
RewriteRule ^tafsir-aya-([0-9]+)-sora-([0-9]+).html$ quran-search/aya_tafseer.php?aya=$1&sora=$2
RewriteRule ^ibn-kathir-aya-([0-9]+)-sora-([0-9]+).html$ quran-search/ibn_kathir.php?aya=$1&sora=$2
RewriteRule ^alqartabi-aya-([0-9]+)-sora-([0-9]+).html$ quran-search/alqartabi.php?aya=$1&sora=$2
RewriteRule ^altabari-aya-([0-9]+)-sora-([0-9]+).html$ quran-search/altabari.php?aya=$1&sora=$2
RewriteRule ^albaghawi-aya-([0-9]+)-sora-([0-9]+).html$ quran-search/albaghawi.php?aya=$1&sora=$2
########################################################
RewriteRule ^aya-([0-9]+)-sora-([0-9]+).html$ aya_view.php?aya=$1&sora=$2
RewriteRule ^sorah-([0-9]+).html$ sorah.php?id=$1
RewriteRule ^search/(.*)/$  search.php?search_word=$1
RewriteRule ^search/(.*)$  search.php?search_word=$1 [NC,L]
RewriteRule ^aya-tafsir-([0-9]+)-([0-9]+).html$ aya_tafseer.php?aya=$1&sora=$2
RewriteRule ^Explanation-aya-([0-9]+)-sora-([0-9]+).html$ Explanation.php?aya=$1&sora=$2
RewriteRule ^english-aya-([0-9]+)-sora-([0-9]+).html$ english.php?aya=$1&sora=$2
RewriteRule ^indonesian-aya-([0-9]+)-sora-([0-9]+).html$ indonesian.php?aya=$1&sora=$2
RewriteRule ^e3rab-aya-([0-9]+)-sora-([0-9]+).html$ e3rab.php?aya=$1&sora=$2
RewriteRule  ^sitemap\.xml$ sitemap.php
RewriteRule  ^sitemap-([0-9]+)\.xml$ sitemap.php?page=$1
RewriteRule ^rss.xml$ rss.php
RewriteRule ^surah-mp3-([0-9]+).html$ surah-mp3.php?id=$1

RewriteRule ^quran-mp3-full.html$ quran_mp3_full.php
RewriteRule ^quran-mp3-english.html$ quran_mp3_english.php
RewriteRule ^sheikh-qari-([0-9]+).html$ sheikh-qari.php?id=$1
RewriteRule ^sheikh-qari-english-([0-9]+).html$ sheikh-qari-english.php?id=$1
RewriteRule ^sorah-english-([0-9]+).html$ sorah-english.php?id=$1
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3.html$ mp3_sheikh.php?aya=$1&sora=$2
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3-en.html$ mp3_sheikh-english.php?aya=$1&sora=$2

RewriteRule ^quran-mp3-turkish.html$ quran_mp3_turkish.php
RewriteRule ^sheikh-qari-turkish-([0-9]+).html$ sheikh-qari-turkish.php?id=$1
RewriteRule ^Suresi-turkish-([0-9]+).html$ Suresi_turkish.php?id=$1
RewriteRule ^turkish-aya-([0-9]+)-sora-([0-9]+).html$ turkish.php?aya=$1&sora=$2
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3-tr.html$ mp3_sheikh-turkish.php?aya=$1&sora=$2

RewriteRule ^quran-mp3-russian.html$ quran_mp3_russian.php
RewriteRule ^sheikh-qari-russian-([0-9]+).html$ sheikh-qari-russian.php?id=$1
RewriteRule ^sorah-russian-([0-9]+).html$ sorah-russian.php?id=$1
RewriteRule ^russian-aya-([0-9]+)-sora-([0-9]+).html$ russian.php?aya=$1&sora=$2
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3-ru.html$ mp3_sheikh-russian.php?aya=$1&sora=$2

RewriteRule ^quran-mp3-french.html$ quran_mp3_french.php
RewriteRule ^sheikh-qari-french-([0-9]+).html$ sheikh-qari-french.php?id=$1
RewriteRule ^sorah-french-([0-9]+).html$ sorah-french.php?id=$1
RewriteRule ^french-aya-([0-9]+)-sora-([0-9]+).html$ french.php?aya=$1&sora=$2
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3-fr.html$ mp3_sheikh-french.php?aya=$1&sora=$2

RewriteRule ^quran-mp3-farsi.html$ quran_mp3_farsi.php
RewriteRule ^sheikh-qari-farsi-([0-9]+).html$ sheikh-qari-farsi.php?id=$1
RewriteRule ^sorah-farsi-([0-9]+).html$ sorah-farsi.php?id=$1
RewriteRule ^farsi-aya-([0-9]+)-sora-([0-9]+).html$ farsi.php?aya=$1&sora=$2
RewriteRule ^sheikh-([0-9]+)-sora-([0-9]+)-mp3-fa.html$ mp3_sheikh-farsi.php?aya=$1&sora=$2
RewriteRule ^english-arabic-aya-([0-9]+)-sora-([0-9]+).html$ english-arabic.php?aya=$1&sora=$2

RewriteRule ^virtue-of-surah-([0-9]+).html$ virtue-of-surah.php?id=$1
RewriteRule ^quran-khashie.html$ quran-khashie.php
RewriteRule ^quran-download-qari-([0-9]+).html$ quran-download-qari.php?id=$1
RewriteRule ^quran-mp3-qari-([0-9]+).html$ quran-mp3-qari.php?id=$1
RewriteRule ^mp3quran-surah-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari.php?aya=$1&sora=$2

RewriteRule ^transliteration-aya-([0-9]+)-sora-([0-9]+).html$ transliteration.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-([0-9]+).html$ quran-download-full.php?id=$1
RewriteRule ^quran-recitation.html$ quran-khashie-en.php
RewriteRule ^quran-download-qari-en-([0-9]+).html$ quran-download-qari-en.php?id=$1
RewriteRule ^quran-mp3-qari-en-([0-9]+).html$ quran-mp3-qari-en.php?id=$1
RewriteRule ^mp3quran-surah-en-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari-en.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-en-([0-9]+).html$ quran-download-full-en.php?id=$1

RewriteRule ^quran-recitation-tr.html$ quran-khashie-tr.php
RewriteRule ^quran-download-qari-tr-([0-9]+).html$ quran-download-qari-tr.php?id=$1
RewriteRule ^quran-mp3-qari-tr-([0-9]+).html$ quran-mp3-qari-tr.php?id=$1
RewriteRule ^mp3quran-surah-tr-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari-tr.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-tr-([0-9]+).html$ quran-download-full-tr.php?id=$1

RewriteRule ^quran-recitation-ru.html$ quran-khashie-ru.php
RewriteRule ^quran-download-qari-ru-([0-9]+).html$ quran-download-qari-ru.php?id=$1
RewriteRule ^quran-mp3-qari-ru-([0-9]+).html$ quran-mp3-qari-ru.php?id=$1
RewriteRule ^mp3quran-surah-ru-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari-ru.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-ru-([0-9]+).html$ quran-download-full-ru.php?id=$1

RewriteRule ^quran-recitation-fr.html$ quran-khashie-fr.php
RewriteRule ^quran-download-qari-fr-([0-9]+).html$ quran-download-qari-fr.php?id=$1
RewriteRule ^quran-mp3-qari-fr-([0-9]+).html$ quran-mp3-qari-fr.php?id=$1
RewriteRule ^mp3quran-surah-fr-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari-fr.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-fr-([0-9]+).html$ quran-download-full-fr.php?id=$1

RewriteRule ^quran-recitation-fa.html$ quran-khashie-fa.php
RewriteRule ^quran-download-qari-fa-([0-9]+).html$ quran-download-qari-fa.php?id=$1
RewriteRule ^quran-mp3-qari-fa-([0-9]+).html$ quran-mp3-qari-fa.php?id=$1
RewriteRule ^mp3quran-surah-fa-([0-9]+)-sheikh-([0-9]+).html$ surah-mp3-qari-fa.php?aya=$1&sora=$2
RewriteRule ^quran-download-full-fa-([0-9]+).html$ quran-download-full-fa.php?id=$1

RewriteRule ^ayat/(.*)/$  ayat.php?search_word=$1
RewriteRule ^ayat/(.*)$  ayat.php?search_word=$1 [NC,L]
RewriteRule ^name/(.*)/$  name.php?search_word=$1
RewriteRule ^name/(.*)$  name.php?search_word=$1 [NC,L]
RewriteRule ^Urdu-aya-([0-9]+)-sora-([0-9]+).html$ Urdu.php?aya=$1&sora=$2
RewriteRule ^Bengali-aya-([0-9]+)-sora-([0-9]+).html$ Bengali.php?aya=$1&sora=$2

RewriteRule ^page-quran-([0-9]+).html$ page_quran.php?id=$1

##############################
RewriteRule ^Surah-translation/Translating-meanings-Quran.html$ Surah-translation/Translating_meanings_Quran.php
RewriteRule ^Surah-translation/Quran-language-([0-9]+).html$ Surah-translation/Quran-language.php?id=$1
RewriteRule ^Surah-translation/Arabic-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/Arabic.php?aya=$1&sora=$2

RewriteRule ^Surah-translation/Translating-meanings-Quran-en.html$ Surah-translation/Translating_meanings_Quran-en.php
RewriteRule ^Surah-translation/Quran-language-en-([0-9]+).html$ Surah-translation/Quran-language-en.php?id=$1
RewriteRule ^Surah-translation/meanings-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/meanings.php?aya=$1&sora=$2

RewriteRule ^Surah-translation/Translating-meanings-Quran-tr.html$ Surah-translation/Translating_meanings_Quran-tr.php
RewriteRule ^Surah-translation/Quran-language-tr-([0-9]+).html$ Surah-translation/Quran-language-tr.php?id=$1
RewriteRule ^Surah-translation/meanings-tr-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/meanings-tr.php?aya=$1&sora=$2

RewriteRule ^Surah-translation/Translating-meanings-Quran-fr.html$ Surah-translation/Translating_meanings_Quran-fr.php
RewriteRule ^Surah-translation/Quran-language-fr-([0-9]+).html$ Surah-translation/Quran-language-fr.php?id=$1
RewriteRule ^Surah-translation/meanings-fr-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/meanings-fr.php?aya=$1&sora=$2

RewriteRule ^Surah-translation/Translating-meanings-Quran-ru.html$ Surah-translation/Translating_meanings_Quran-ru.php
RewriteRule ^Surah-translation/Quran-language-ru-([0-9]+).html$ Surah-translation/Quran-language-ru.php?id=$1
RewriteRule ^Surah-translation/meanings-ru-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/meanings-ru.php?aya=$1&sora=$2

RewriteRule ^Surah-translation/Translating-meanings-Quran-fa.html$ Surah-translation/Translating_meanings_Quran-fa.php
RewriteRule ^Surah-translation/Quran-language-fa-([0-9]+).html$ Surah-translation/Quran-language-fa.php?id=$1
RewriteRule ^Surah-translation/meanings-fa-language-([0-9]+)-surah-([0-9]+).html$ Surah-translation/meanings-fa.php?aya=$1&sora=$2


RewriteRule ^language-Chinese-aya-([0-9]+)-sora-([0-9]+).html$ language-Chinese.php?aya=$1&sora=$2
RewriteRule ^language-Hindi-aya-([0-9]+)-sora-([0-9]+).html$ language-Hindi.php?aya=$1&sora=$2
RewriteRule ^language-Spanish-aya-([0-9]+)-sora-([0-9]+).html$ language-Spanish.php?aya=$1&sora=$2
RewriteRule ^language-Portuguese-aya-([0-9]+)-sora-([0-9]+).html$ language-Portuguese.php?aya=$1&sora=$2
RewriteRule ^language-Italian-aya-([0-9]+)-sora-([0-9]+).html$ language-Italian.php?aya=$1&sora=$2
RewriteRule ^language-Thai-aya-([0-9]+)-sora-([0-9]+).html$ language-Thai.php?aya=$1&sora=$2
RewriteRule ^language-Deutsch-aya-([0-9]+)-sora-([0-9]+).html$ language-Deutsch.php?aya=$1&sora=$2
RewriteRule ^language-Uzbek-aya-([0-9]+)-sora-([0-9]+).html$ language-Uzbek.php?aya=$1&sora=$2
RewriteRule ^language-Kazakh-aya-([0-9]+)-sora-([0-9]+).html$ language-Kazakh.php?aya=$1&sora=$2
RewriteRule ^language-Swahili-aya-([0-9]+)-sora-([0-9]+).html$ language-Swahili.php?aya=$1&sora=$2
RewriteRule ^language-Filipino-aya-([0-9]+)-sora-([0-9]+).html$ language-Filipino.php?aya=$1&sora=$2

RewriteRule ^Hadith-([0-9]+).html$ Hadith.php?id=$1
RewriteRule ^Hadiths.html$ Hadiths.php
RewriteRule ^Books-hadith.html$ Books-hadith.php
RewriteRule ^Hadith-book/(.*)$  Hadith-book.php?source=$1 [NC,L]

##############################

RewriteEngine On

RewriteRule ^mp3/([^/]+)/116\.html  quran-mp3-116.php?ikhtisar=$1 [NC,L]

RewriteRule ^mp3/([^/]+)/(\d+)\.html  quran-mp3-surah.php?ikhtisar=$1&sora=$2 [NC,L]

RewriteRule ^mp3/([^/]+)  quran-mp3.php?ikhtisar=$1 [NC,L]

RewriteRule ^quran-videos.html$ quran_videos.php
RewriteRule ^quran-videos-en.html$ quran_videos_en.php
RewriteRule ^quran-videos-ru.html$ quran_videos_ru.php
RewriteRule ^quran-videos-tr.html$ quran_videos_tr.php

RewriteRule ^sheikh-video-([0-9]+).html$ sheikh-video.php?id=$1
RewriteRule ^sheikh-video-en-([0-9]+).html$ sheikh-video-en.php?id=$1
RewriteRule ^sheikh-video-ru-([0-9]+).html$ sheikh-video-ru.php?id=$1
RewriteRule ^sheikh-video-tr-([0-9]+).html$ sheikh-video-tr.php?id=$1

RewriteRule ^video-sheikh-([0-9]+)-sora-([0-9]+).html$ surah-video.php?aya=$1&sora=$2
RewriteRule ^video-sheikh-([0-9]+)-sora-([0-9]+)-en.html$ surah-video-en.php?aya=$1&sora=$2
RewriteRule ^video-sheikh-([0-9]+)-sora-([0-9]+)-ru.html$ surah-video-ru.php?aya=$1&sora=$2
RewriteRule ^video-sheikh-([0-9]+)-sora-([0-9]+)-tr.html$ surah-video-tr.php?aya=$1&sora=$2

RewriteRule ^video-([^/]+).html  video_id.php?video_id=$1 [NC,L]
RewriteRule ^videoen-([^/]+).html  video_en.php?video_id=$1 [NC,L]
RewriteRule ^videoru-([^/]+).html  video_ru.php?video_id=$1 [NC,L]
RewriteRule ^videotr-([^/]+).html  video_tr.php?video_id=$1 [NC,L]

RewriteRule ^tafsir-english-aya-([0-9]+)-sora-([0-9]+).html$ tafsir-english.php?aya=$1&sora=$2
RewriteRule ^tafsir-id-aya-([0-9]+)-sora-([0-9]+).html$ tafsir-id.php?aya=$1&sora=$2
RewriteRule ^tafsir-Urdu-aya-([0-9]+)-sora-([0-9]+).html$ tafsir-Urdu.php?aya=$1&sora=$2
RewriteRule ^tafsir-Bangla-aya-([0-9]+)-sora-([0-9]+).html$ tafsir-Bangla.php?aya=$1&sora=$2
RewriteRule ^sorah-Urdu-([0-9]+).html$ sorah-Urdu.php?id=$1
RewriteRule ^kuran-oku-ayet-([0-9]+)-suresi-([0-9]+).html$ kuran-oku.php?aya=$1&sora=$2

############
RewriteRule ^juz-mp3-([0-9]+).html$ juz-mp3.php?id=$1
RewriteRule ^juz-quran-([0-9]+).html$ juz-quran.php?id=$1
RewriteRule ^juz-quran-fr-([0-9]+).html$ juz-quran-fr.php?id=$1
RewriteRule ^juz-quran-tr-([0-9]+).html$ juz-quran-tr.php?id=$1
RewriteRule ^juz-quran-ru-([0-9]+).html$ juz-quran-ru.php?id=$1
RewriteRule ^juz-quran-fa-([0-9]+).html$ juz-quran-fa.php?id=$1
RewriteRule ^surah-mp3-en-([0-9]+).html$ surah-mp3-en.php?id=$1
RewriteRule ^surah-mp3-fr-([0-9]+).html$ surah-mp3-fr.php?id=$1
RewriteRule ^surah-mp3-ru-([0-9]+).html$ surah-mp3-ru.php?id=$1
RewriteRule ^surah-mp3-tr-([0-9]+).html$ surah-mp3-tr.php?id=$1
RewriteRule ^surah-mp3-fa-([0-9]+).html$ surah-mp3-fa.php?id=$1
RewriteRule ^sayfa-([0-9]+).html$ sayfa.php?id=$1
RewriteRule ^Hizb-([0-9]+).html$ Hizb.php?id=$1
RewriteRule ^irab-(.*)$ irab.php?search_word=$1 [L]
RewriteRule ^i3rab-surah-([0-9]+).html$ i3rab-surah.php?id=$1

RewriteRule ^Dua-and-Dhikr.html$ azkar.php
RewriteRule ^Azkar-Dua-([0-9]+).html$ Azkar-Dua.php?info=$1
RewriteRule ^Adhkar-Dua-([0-9]+).html$ Adhkar-Dua.php?info=$1
RewriteRule ^Dhikr-Dua-meaning-([0-9]+).html$ alzekr.php?id=$1

RewriteRule ^Ahadith-Sahiha-([0-9]+).html$ ahadith-sahiha.php?kn=$1
RewriteRule ^Alhadith-Sahih-([0-9]+).html$ alhadith-sahih.php?babn=$1

RewriteRule ^Sharh-Hadith-([0-9]+).html$ sharh_hadith.php?id=$1
RewriteRule ^recitors-from-([^/]+)\.html$ qura-balad.php?balad=$1 [L,QSA]

RewriteRule ^article/category-([0-9]+)\.html$ article/category.php?id=$1 [L,QSA]
RewriteRule ^article/([^/.]+)$ article/article.php?slug=$1 [L,QSA]
RewriteRule ^article/?$ article/index.php [L,QSA]

RewriteRule ^Hadith-sahih/(.+)$ Hadith-sahih.php?search_query=$1 [L,QSA]

RewriteRule ^quran_topic\.html$ quran_topic.php [L,QSA]
RewriteRule ^quran_topic-([a-z]{2})\.html$ quran_topic.php?lang=$1 [L,QSA]
RewriteRule ^ayat_Topic-([0-9]+)\.html$ ayat_Topic.php?id=$1 [L,QSA]
RewriteRule ^ayat_Topic-([0-9]+)-([a-z]{2})\.html$ ayat_Topic.php?id=$1&lang=$2 [L,QSA]

RewriteRule ^Dua-and-Dhikr\.html$ azkar.php [L,QSA]
RewriteRule ^Dua-and-Dhikr-([a-z]{2})\.html$ azkar.php?lang=$1 [L,QSA]
RewriteRule ^Azkar-Dua-([0-9]+)\.html$ Azkar-Dua.php?info=$1 [L,QSA]
RewriteRule ^Azkar-Dua-([0-9]+)-([a-z]{2})\.html$ Azkar-Dua.php?info=$1&lang=$2 [L,QSA]

RewriteRule ^Names-of-Allah-([^/]+).html$ Names-of-Allah-with-Meaning.php?ism=$1 [L,QSA]
RewriteRule ^99-Names-of-Allah-([a-z]{2})\.html$ Names-of-Allah.php?lang=$1 [L,QSA]


######NEW######
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^quran-([a-z\-]+)\.html$ quran-index.php?lang=$1 [QSA,L]
RewriteRule ^quran-mp3-([a-z\-]+)\.html$ quran-mp3-index.php?lang=$1 [QSA,L]
RewriteRule ^quran-pdf-([a-z\-]+)\.html$ quran-pdf-index.php?lang=$1 [QSA,L]
RewriteRule ^verse-of-the-day-([a-z\-]+)\.html$ verse-of-the-day.php?lang=$1 [QSA,L]
RewriteRule ^hifz-([a-z\-]+)\.html$ hifz-index.php?lang=$1 [QSA,L]
RewriteRule ^hifz-([0-9]+)-([a-z\-]+)\.html$ hifz-tool.php?sura=$1&lang=$2 [QSA,L]

RewriteRule ^surah-([0-9]+)-([a-z\-]+)\.html$ surah-lang.php?sura=$1&lang=$2 [QSA,L]
RewriteRule ^listen-surah-mp3-([0-9]+)-([a-z\-]+)\.html$ quran-listen-surah.php?sura=$1&lang=$2 [QSA,L]
RewriteRule ^surah-pdf-([0-9]+)-([a-z\-]+)\.html$ surah-pdf.php?sura=$1&lang=$2 [QSA,L]
RewriteRule ^quran-quiz-([a-z\-]+)\.html$ quran-quiz.php?lang=$1 [QSA,L]

RewriteRule ^Surah-([0-9]+)-ayah-([0-9]+)-lang-([a-z\-]+)\.html$ aya-page.php?sura=$1&aya=$2&lang=$3 [QSA,L]
RewriteRule ^mushaf-page-([0-9]+)-([a-z\-]+)\.html$ mushaf-viewer.php?page=$1&lang=$2 [QSA,L]
RewriteRule ^reciter-([a-z0-9\-]+)-([a-z\-]+)\.html$ reciter-page.php?reciter=$1&lang=$2 [QSA,L]

######NEW2######
RewriteRule ^search-([a-z]+)\.html$ search.php?lang=$1 [QSA,L]
RewriteRule ^Word-Meaning-([^/]+)\.html$ quran-word.php?word=$1 [QSA,L]

RewriteRule ^Arabic-name-([^/]+)\.html$ quran-names.php?name=$1 [QSA,L]
RewriteRule ^Arabic-names-(boys|girls)-([^/]+)\.html$ quran-names.php?type=$1&letter=$2 [QSA,L]
RewriteRule ^Arabic-names-(boys|girls)\.html$ quran-names.php?type=$1 [QSA,L]
RewriteRule ^Arabic-names\.html$ quran-names.php [QSA,L]

RewriteRule ^mutashabihat-([0-9]+)-([a-z]+)\.html$ quran-mutashabihat-surah.php?sura=$1&lang=$2 [QSA,L]
RewriteRule ^mutashabihat-([a-z]+)\.html$ quran-mutashabihat.php?lang=$1 [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^mushaf-tajweed-([0-9]+)\.html$ mushaf-tajweed.php?sura=$1 [QSA,L]
RewriteRule ^mushaf-tajweed-([0-9]+)-page-([0-9]+)\.html$ mushaf-tajweed.php?sura=$1&page=$2 [QSA,L]
RewriteRule ^mushaf-tajweed-index\.html$ mushaf-tajweed-index.php [L]

RewriteRule ^mushaf-qeraat-([0-9]+)\.html$ mushaf-qeraat.php?sura=$1 [QSA,L]
RewriteRule ^mushaf-qeraat-([0-9]+)-page-([0-9]+)\.html$ mushaf-qeraat.php?sura=$1&page=$2 [QSA,L]
RewriteRule ^mushaf-qeraat-index\.html$ mushaf-qeraat-index.php [L]
############################################

RewriteCond %{HTTP_HOST} ^www.surahquran.com [NC] 
RewriteRule ^(.*)$ https://surahquran.com/$1 [L,R=301]