Merhaba siteye uygulama ait admin panel kurulumu yaptık bağlantılarında sorun admin paneline girmeye çalıştığımızda site
500 Internal Server Error
hatasını veriyor biraz kurcalarken .htaccess dosyasında bulunan php_value session.gc_maxlifetime 3231536000 kısmını kaldırdığımızda giriş yapabildik panele ama bu sefer panelin içine girdiğimizde ayarlara yada başka bir sayfaya tıkladığımızda
  404Page Not Found
hatası veriyor bu sorunu nasıl halledebiliriz acaba vds kullanıyoruz ve plesk panel mevcut

php.ini dosyası
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

display_errors = On
max_execution_time = 6000
max_input_time = 6000
max_input_vars = 10000
memory_limit = 1024M
post_max_size = 2048M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php74"
upload_max_filesize = 2048M
zlib.output_compression = Off
.htaccess Dosyası

# Enable Rewrite Engine and set default charset to UTF-8
RewriteEngine On
# To force your site's link (HTTPS) to redirect, remove the (#) symbols at the beginning of the 3 rules below.
# RewriteCond %{HTTPS} off
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
AddDefaultCharset utf-8

# Rewrite rules for clean URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /

RewriteRule ^/?$ /ns-admin/index.php [QSA]

RewriteRule ^anasayfa?$ /ns-admin/index.php?page=anasayfa [QSA]
RewriteRule ^ayarlar/?$ /ns-admin/index.php?page=ayarlar [QSA]
RewriteRule ^bot_ayar/?$ /ns-admin/index.php?page=bot_ayar [QSA]
RewriteRule ^falcilar/?$ /ns-admin/index.php?page=falcilar [QSA]
RewriteRule ^kullanicilar/?$ /ns-admin/index.php?page=kullanicilar [QSA]
RewriteRule ^kahvefallar/?$ /ns-admin/index.php?page=kahvefallar [QSA]
RewriteRule ^falyorumla/?$ /ns-admin/index.php?page=falyorumla [QSA]
RewriteRule ^degerlendirmeler/?$ /ns-admin/index.php?page=degerlendirmeler [QSA]
RewriteRule ^satislar/?$ /ns-admin/index.php?page=satislar [QSA]
RewriteRule ^profil/?$ /ns-admin/index.php?page=profil [QSA]
RewriteRule ^falci-ekle/?$ /ns-admin/index.php?page=falciekle [QSA]
RewriteRule ^degerlendirme_ekle/?$ /ns-admin/index.php?page=degerlendirme_ekle [QSA]


RewriteRule ^degerlendirmeduzenle/?$ /ns-admin/index.php?page=degerlendirmeduzenle [QSA]
RewriteRule ^falciduzenle/?$ /ns-admin/index.php?page=falciduzenle [QSA]
RewriteRule ^kullaniciduzenle/?$ /ns-admin/index.php?page=kullaniciduzenle [QSA]



# Disable directory listing
Options -Indexes

# Set PHP Handler for .phtml files
AddHandler application/x-httpd-php .phtml

# Set session max lifetime
php_value session.gc_maxlifetime 3231536000

# Compression Settings
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE image/x-icon
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/x-font
    AddOutputFilterByType DEFLATE application/x-font-truetype
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/x-font-otf
    AddOutputFilterByType DEFLATE application/x-font-opentype
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/ttf
    AddOutputFilterByType DEFLATE font/otf
    AddOutputFilterByType DEFLATE font/opentype
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>

# Disable mod_security scan for POST requests
<IfModule mod_security.c>
    SecFilterEngine On
    SecFilterScanPOST Off
</IfModule>

<IfModule mod_headers.c>
    Header set X-Content-Type-Options "nosniff"
</IfModule>

<IfModule mod_headers.c>
    Header set X-XSS-Protection "1; mode=block"
</IfModule>
# Set Cache Expiry
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType application/pdf "access plus 1 month"
    ExpiresByType text/x-javascript "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresDefault "access plus 190 days"
</IfModule>

<IfModule mod_headers.c>
  Header set Cache-Control "public"
  <FilesMatch "\.(php|phtml)$">
    Header set Cache-Control "max-age=7200"
  </FilesMatch>

  <FilesMatch "\.(jpg|jpeg|png|gif)$">
    Header set Cache-Control "max-age=31536000"
  </FilesMatch>

  <FilesMatch "\.(html|json|ttf|otf|woff)$">
    Header set Cache-Control "max-age=7200"
  </FilesMatch>
</IfModule>