My htaccess file is being deleted

Username (http://kaplanhub.ga) or Website URL

(please specify the website or account you are asking about)

404 Page Not Found

(please share the FULL error message you see)

## EXPIRES CACHING ##
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresByType image/jpg "access 1 year"
	ExpiresByType image/jpeg "access 1 year"
	ExpiresByType image/gif "access 1 year"
	ExpiresByType image/png "access 1 year"
	ExpiresByType text/css "access 1 month"
	ExpiresByType text/html "access 1 month"
	ExpiresByType application/pdf "access 1 month"
	ExpiresByType text/x-javascript "access 1 month"
	ExpiresByType application/x-shockwave-flash "access 1 month"
	ExpiresByType image/x-icon "access 1 year"
	ExpiresDefault "access 1 month"
</IfModule>

## CACHE CONTROL ##
<IfModule mod_headers.c>
	# 1 Month for most static assets
	<FilesMatch ".(css|jpg|jpeg|png|gif|js|ico)$">
		Header set Cache-Control "max-age=2592000, public"
	</FilesMatch>
</IfModule>

Options +FollowSymLinks
RewriteEngine On

## SECURITY ##
<FilesMatch "\.(ini|log|sh|sql|htaccess)">
	Order Allow,Deny
	Deny from All
</FilesMatch>
RewriteRule (^|/)(apps/main|apps/dashboard|apps/install)/private(/|$) - [F]

## ROBOTS.TXT ##
RewriteRule ^robots.txt(/?)$ /robots.php [L]

## SITEMAP.XML ##
RewriteRule ^sitemap.xml(/?)$ /sitemap.php [L]

## ERRORS ##
ErrorDocument 404 /apps/main/index.php?go=404
ErrorDocument 403 /apps/main/index.php?go=404

## INSTALL ##
RewriteRule ^kurulum(/?)$ /apps/install/index.php [L]

## MAIN ##
RewriteRule ^(/?)$ /apps/main/index.php?go=home [L]
RewriteRule ^kurallar(/?)$ /apps/main/index.php?go=rules [L]
RewriteRule ^indir(/?)$ /apps/main/index.php?go=download [L]
RewriteRule ^indir/([0-9]+)/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=download&id=$1&file=$2 [L]
RewriteRule ^oyuncu/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=player&id=$1 [QSA,L]
RewriteRule ^profil(/?)$ /apps/main/index.php?go=profile&target=profile&action=get [QSA,L]
RewriteRule ^profil/duzenle(/?)$ /apps/main/index.php?go=profile&target=profile&action=update [L]
RewriteRule ^profil/sifre-degistir(/?)$ /apps/main/index.php?go=profile&target=profile&action=change-password [L]
RewriteRule ^giris-yap(/?)$ /apps/main/index.php?go=login [L]
RewriteRule ^kayit-ol(/?)$ /apps/main/index.php?go=register [L]
RewriteRule ^sifremi-unuttum(/?)$ /apps/main/index.php?go=recover [L]
RewriteRule ^sifremi-unuttum/([0-9a-zA-Z-_]+)/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=recover&id=$1&token=$2 [L]
RewriteRule ^cikis-yap(/?)$ /apps/main/index.php?go=logout [L]
RewriteRule ^kredi/yukle(/?)$ /apps/main/index.php?go=credit&target=credit&action=charge [L]
RewriteRule ^kredi/yukle/basarili(/?)$ /apps/main/index.php?go=credit&target=credit&action=alert&result=success [L]
RewriteRule ^kredi/yukle/basarisiz(/?)$ /apps/main/index.php?go=credit&target=credit&action=alert&result=unsuccess [L]
RewriteRule ^kredi/gonder(/?)$ /apps/main/index.php?go=credit&target=credit&action=send [L]
RewriteRule ^kredi/gonder/([0-9]+)(/?)$ /apps/main/index.php?go=credit&target=credit&action=send&id=$1 [L]
RewriteRule ^odeme/([0-9]+)/([0-9]+)(/?)$ /apps/main/public/ajax/pay.php?paymentID=$1&price=$2 [L]
RewriteRule ^islem/batihost/mobil(/?)$ /apps/main/public/ajax/process.php?api=batihost&type=1 [L]
RewriteRule ^islem/batihost/kredi-karti(/?)$ /apps/main/public/ajax/process.php?api=batihost&type=2 [L]
RewriteRule ^islem/paywant(/?)$ /apps/main/public/ajax/process.php?api=paywant [L]
RewriteRule ^islem/rabisu(/?)$ /apps/main/public/ajax/process.php?api=rabisu [L]
RewriteRule ^islem/shopier(/?)$ /apps/main/public/ajax/process.php?api=shopier [L]
RewriteRule ^islem/keyubu/mobil(/?)$ /apps/main/public/ajax/process.php?api=keyubu&type=1 [L]
RewriteRule ^islem/keyubu/kredi-karti(/?)$ /apps/main/public/ajax/process.php?api=keyubu&type=2 [L]
RewriteRule ^islem/ininal(/?)$ /apps/main/index.php?go=credit&target=credit&action=ininal [L]
RewriteRule ^siralama(/?)$ /apps/main/index.php?go=leaderboards [L]
RewriteRule ^siralama/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=leaderboards&server=$1 [L]
RewriteRule ^magaza(/?)$ /apps/main/index.php?go=store [L]
RewriteRule ^magaza/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=store&server=$1 [L]
RewriteRule ^magaza/([0-9a-zA-Z-_]+)/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=store&server=$1&category=$2 [L]

RewriteRule ^destek(/?)$ /apps/main/index.php?go=support&target=support&action=getAll [L]
RewriteRule ^destek/gonder(/?)$ /apps/main/index.php?go=support&target=support&action=insert [L]
RewriteRule ^destek/goruntule/([0-9]+)(/?)$ /apps/main/index.php?go=support&target=support&action=get&id=$1 [L]
RewriteRule ^destek/sil/([0-9]+)(/?)$ /apps/main/index.php?go=support&target=support&action=delete&id=$1 [L]

RewriteRule ^haberler/([0-9]+)(/?)$ /apps/main/index.php?go=home&page=$1 [L]
RewriteRule ^kategori/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=home&category=$1 [L]
RewriteRule ^kategori/([0-9a-zA-Z-_]+)/([0-9]+)(/?)$ /apps/main/index.php?go=home&category=$1&page=$2 [L]
RewriteRule ^etiket/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=home&tag=$1 [L]
RewriteRule ^etiket/([0-9a-zA-Z-_]+)/([0-9]+)(/?)$ /apps/main/index.php?go=home&tag=$1&page=$2 [L]
RewriteRule ^haber/([0-9]+)/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=news&id=$1 [L]
RewriteRule ^sayfa/([0-9]+)/([0-9a-zA-Z-_]+)(/?)$ /apps/main/index.php?go=page&id=$1 [L]

RewriteRule ^apps/main/public/assets/css/edits/color.css(/?)$ /apps/main/public/assets/css/edits/color.css.php [L]

RewriteRule ^bakim(/?)$ /apps/main/index.php?go=maintenance [L]

RewriteRule ^404(/?)$ /apps/main/index.php?go=404 [L]

## DASHBOARD ##
RewriteRule ^yonetim-paneli(/?)$ /apps/dashboard/index.php?go=home [L]
RewriteRule ^yonetim-paneli/hata/([0-9]+)(/?)$ /apps/dashboard/index.php?go=home&alert=$1 [L]

RewriteRule ^OneSignalSDKWorker.js$ /apps/dashboard/public/assets/js/OneSignalSDKWorker.js [L]
RewriteRule ^OneSignalSDKUpdaterWorker.js$ /apps/dashboard/public/assets/js/OneSignalSDKUpdaterWorker.js [L]

RewriteRule ^yonetim-paneli/bildirimler(/?)$ /apps/dashboard/index.php?go=notifications [L]

RewriteRule ^yonetim-paneli/guncelleme(/?)$ /apps/dashboard/index.php?go=update [L]

RewriteRule ^yonetim-paneli/haber(/?)$ /apps/dashboard/index.php?go=news&target=news&action=getAll [L]
RewriteRule ^yonetim-paneli/haber/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=news&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/haber/ekle(/?)$ /apps/dashboard/index.php?go=news&target=news&action=insert [L]
RewriteRule ^yonetim-paneli/haber/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=news&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/haber/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=news&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/haber/kategori(/?)$ /apps/dashboard/index.php?go=news&target=category&action=getAll [L]
RewriteRule ^yonetim-paneli/haber/kategori/ekle(/?)$ /apps/dashboard/index.php?go=news&target=category&action=insert [L]
RewriteRule ^yonetim-paneli/haber/kategori/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=category&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/haber/kategori/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=category&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/haber/yorum(/?)$ /apps/dashboard/index.php?go=news&target=comment&action=getAll [L]
RewriteRule ^yonetim-paneli/haber/yorum/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=comment&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/haber/yorum/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=comment&action=get&id=$1 [L]
RewriteRule ^yonetim-paneli/haber/yorum/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=news&target=comment&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/sunucu(/?)$ /apps/dashboard/index.php?go=server&target=server&action=getAll [L]
RewriteRule ^yonetim-paneli/sunucu/ekle(/?)$ /apps/dashboard/index.php?go=server&target=server&action=insert [L]
RewriteRule ^yonetim-paneli/sunucu/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=server&target=server&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/sunucu/ozet/([0-9]+)(/?)$ /apps/dashboard/index.php?go=server&target=server&action=get&id=$1 [L]
RewriteRule ^yonetim-paneli/sunucu/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=server&target=server&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/magaza/urun(/?)$ /apps/dashboard/index.php?go=store&target=product&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/urun/ekle(/?)$ /apps/dashboard/index.php?go=store&target=product&action=insert [L]
RewriteRule ^yonetim-paneli/magaza/urun/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=product&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/magaza/urun/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=product&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/magaza/kategori(/?)$ /apps/dashboard/index.php?go=store&target=category&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/kategori/ekle(/?)$ /apps/dashboard/index.php?go=store&target=category&action=insert [L]
RewriteRule ^yonetim-paneli/magaza/kategori/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=category&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/magaza/kategori/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=category&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/magaza/kupon(/?)$ /apps/dashboard/index.php?go=store&target=coupon&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/kupon/ekle(/?)$ /apps/dashboard/index.php?go=store&target=coupon&action=insert [L]
RewriteRule ^yonetim-paneli/magaza/kupon/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=coupon&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/magaza/kupon/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=coupon&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/magaza/kredi/gonder(/?)$ /apps/dashboard/index.php?go=store&target=credit&action=send [L]
RewriteRule ^yonetim-paneli/magaza/kredi/gonder/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=credit&action=send&id=$1 [L]

RewriteRule ^yonetim-paneli/magaza/kupon-gecmisi(/?)$ /apps/dashboard/index.php?go=store&target=coupon-history&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/kupon-gecmisi/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=coupon-history&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/magaza/kupon-gecmisi/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=coupon-history&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/magaza/kredi-gecmisi(/?)$ /apps/dashboard/index.php?go=store&target=credit-history&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/kredi-gecmisi/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=credit-history&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/magaza/kredi-gecmisi/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=credit-history&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/magaza/magaza-gecmisi(/?)$ /apps/dashboard/index.php?go=store&target=store-history&action=getAll [L]
RewriteRule ^yonetim-paneli/magaza/magaza-gecmisi/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=store-history&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/magaza/magaza-gecmisi/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=store&target=store-history&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/hesap(/?)$ /apps/dashboard/index.php?go=account&target=account&action=getAll [L]
RewriteRule ^yonetim-paneli/hesap/([0-9]+)(/?)$ /apps/dashboard/index.php?go=account&target=account&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/hesap/ekle(/?)$ /apps/dashboard/index.php?go=account&target=account&action=insert [L]
RewriteRule ^yonetim-paneli/hesap/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=account&target=account&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/hesap/goruntule/([0-9a-zA-Z-_]+)(/?)$ /apps/dashboard/index.php?go=account&target=account&action=get&id=$1 [QSA,L]
RewriteRule ^yonetim-paneli/hesap/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=account&target=account&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/destek(/?)$ /apps/dashboard/index.php?go=support&target=support&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/destek/yanit-bekleyen(/?)$ /apps/dashboard/index.php?go=support&target=support&category=unread&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/yanit-bekleyen/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&category=unread&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/destek/yanitli(/?)$ /apps/dashboard/index.php?go=support&target=support&category=readed&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/yanitli/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&category=readed&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/destek/kapali(/?)$ /apps/dashboard/index.php?go=support&target=support&category=closed&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/kapali/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&category=closed&action=getAll&page=$1 [L]
RewriteRule ^yonetim-paneli/destek/goruntule/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&action=get&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/kapat/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=support&action=close&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/kategori(/?)$ /apps/dashboard/index.php?go=support&target=category&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/kategori/ekle(/?)$ /apps/dashboard/index.php?go=support&target=category&action=insert [L]
RewriteRule ^yonetim-paneli/destek/kategori/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=category&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/kategori/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=category&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/cevap(/?)$ /apps/dashboard/index.php?go=support&target=answer&action=getAll [L]
RewriteRule ^yonetim-paneli/destek/cevap/ekle(/?)$ /apps/dashboard/index.php?go=support&target=answer&action=insert [L]
RewriteRule ^yonetim-paneli/destek/cevap/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=answer&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/destek/cevap/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=support&target=answer&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/siralama(/?)$ /apps/dashboard/index.php?go=leaderboards&target=leaderboards&action=getAll [L]
RewriteRule ^yonetim-paneli/siralama/ekle(/?)$ /apps/dashboard/index.php?go=leaderboards&target=leaderboards&action=insert [L]
RewriteRule ^yonetim-paneli/siralama/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=leaderboards&target=leaderboards&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/siralama/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=leaderboards&target=leaderboards&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/sayfa(/?)$ /apps/dashboard/index.php?go=page&target=page&action=getAll [L]
RewriteRule ^yonetim-paneli/sayfa/ekle(/?)$ /apps/dashboard/index.php?go=page&target=page&action=insert [L]
RewriteRule ^yonetim-paneli/sayfa/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=page&target=page&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/sayfa/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=page&target=page&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/engel(/?)$ /apps/dashboard/index.php?go=banned&target=ban&action=getAll [L]
RewriteRule ^yonetim-paneli/engel/ekle(/?)$ /apps/dashboard/index.php?go=banned&target=ban&action=insert [L]
RewriteRule ^yonetim-paneli/engel/ekle/([0-9a-zA-Z-_]+)(/?)$ /apps/dashboard/index.php?go=banned&target=ban&action=insert&id=$1 [L]
RewriteRule ^yonetim-paneli/engel/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=banned&target=ban&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/engel/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=banned&target=ban&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/engel/site(/?)$ /apps/dashboard/index.php?go=banned&target=ban&category=site&action=getAll [L]
RewriteRule ^yonetim-paneli/engel/destek(/?)$ /apps/dashboard/index.php?go=banned&target=ban&category=support&action=getAll [L]
RewriteRule ^yonetim-paneli/engel/yorum(/?)$ /apps/dashboard/index.php?go=banned&target=ban&category=comment&action=getAll [L]

RewriteRule ^yonetim-paneli/indir(/?)$ /apps/dashboard/index.php?go=download&target=download&action=getAll [L]
RewriteRule ^yonetim-paneli/indir/ekle(/?)$ /apps/dashboard/index.php?go=download&target=download&action=insert [L]
RewriteRule ^yonetim-paneli/indir/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=download&target=download&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/indir/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=download&target=download&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/odeme(/?)$ /apps/dashboard/index.php?go=payment&target=payment&action=getAll [L]
RewriteRule ^yonetim-paneli/odeme/ekle(/?)$ /apps/dashboard/index.php?go=payment&target=payment&action=insert [L]
RewriteRule ^yonetim-paneli/odeme/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=payment&target=payment&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/odeme/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=payment&target=payment&action=delete&id=$1 [L]
RewriteRule ^yonetim-paneli/odeme/ayarlar(/?)$ /apps/dashboard/index.php?go=payment&target=settings&action=getAll [L]
RewriteRule ^yonetim-paneli/odeme/ayarlar/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=payment&target=settings&action=update&id=$1 [L]

RewriteRule ^yonetim-paneli/tema/genel(/?)$ /apps/dashboard/index.php?go=theme&target=general&action=update [L]
RewriteRule ^yonetim-paneli/tema/header(/?)$ /apps/dashboard/index.php?go=theme&target=header&action=update [L]
RewriteRule ^yonetim-paneli/tema/renk(/?)$ /apps/dashboard/index.php?go=theme&target=color&action=update [L]
RewriteRule ^yonetim-paneli/tema/css(/?)$ /apps/dashboard/index.php?go=theme&target=css&action=update [L]
RewriteRule ^yonetim-paneli/tema/slider(/?)$ /apps/dashboard/index.php?go=theme&target=slider&action=getAll [L]
RewriteRule ^yonetim-paneli/tema/slider/ekle(/?)$ /apps/dashboard/index.php?go=theme&target=slider&action=insert [L]
RewriteRule ^yonetim-paneli/tema/slider/duzenle/([0-9]+)(/?)$ /apps/dashboard/index.php?go=theme&target=slider&action=update&id=$1 [L]
RewriteRule ^yonetim-paneli/tema/slider/sil/([0-9]+)(/?)$ /apps/dashboard/index.php?go=theme&target=slider&action=delete&id=$1 [L]

RewriteRule ^yonetim-paneli/ayarlar/genel(/?)$ /apps/dashboard/index.php?go=settings&target=general&action=update [L]
RewriteRule ^yonetim-paneli/ayarlar/sistem(/?)$ /apps/dashboard/index.php?go=settings&target=system&action=update [L]
RewriteRule ^yonetim-paneli/ayarlar/smtp(/?)$ /apps/dashboard/index.php?go=settings&target=smtp&action=update [L]
RewriteRule ^yonetim-paneli/ayarlar/webhooks(/?)$ /apps/dashboard/index.php?go=settings&target=webhooks&action=update [L]
RewriteRule ^yonetim-paneli/ayarlar/dil(/?)$ /apps/dashboard/index.php?go=settings&target=language&action=update [L]

(other information and details relevant to your question)

I put my htaccess file in the htdocs file, but it is being deleted, I don’t understand why it was deleted. Can you help me?

What is the file size of that htaccess file?

19,0 kb file size

19 kb is very big

Sorry the htaccess file size limit is 10 kB

The size limits are:

  • HTML and PHP files are limited 1 MB.
  • .htaccess files are limited to 10 kB.
  • All other files are limited to 10 MB.
4 Likes

I need to add this htaccess file. If I can’t, my website will not work. What should I do?

  1. Try to reducing that complexity it impacts your website’s performance
  2. Use PHP to replace some of htaccess rules
3 Likes

Can you help me with this?

:neutral_face: I’m not really good at htaccess’s rules

can you help me ?

Nobody can help you. If you are not willing to modify your .htaccess, pls consider upgrading to premium hosting…

2 Likes

What you could do is to route all requests to a single index.php and then handle all the URL routing from there. It’s funny that you’re actually 80% of the way there already.

Right now, you seem to have a single .htaccess rule for every URL on yonetim-paneli, which all route to the same PHP script at /apps/dashboard/index.php, but with a few different query parameters.

You could relatively easily change it so everything starting with yonetim-paneli is going to that script. And from there, you can show specific pages by checking the $_SERVER['REQUEST_URI'] parameter, instead of the query parameters.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.