bende de aynı sorun var. htaccess dediniz acaba benimhtaccess de sorun eksik mi var anlayamadığım ?
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^
www.xxx.com$ [NC]
RewriteRule ^
https://www.
xxx.com%{REQUEST_URI} [R=301,L]
ErrorDocument 404 /404.php
RewriteCond %{THE_REQUEST} s/+index.php[ ?] [NC]
RewriteRule ^index.php$ / [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !.[a-z0-9]{2,4}$ [NC]
RewriteRule ^(.+[^/])$ /$1/ [R=301,L]
<IfModule mod_brotli.c>
AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/css application/javascript application/json image/svg+xml
</IfModule>
<IfModule mod_headers.c>
<FilesMatch ".(css|js|html|svg)$">
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
# Statikler 1 yıl
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/avif "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
# HTML kısa (her istekte kontrol)
ExpiresByType text/html "access plus 0 seconds"
</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .(jpe?g|png|gif|webp)$ /image/logo.png [L]
RewriteCond %{THE_REQUEST} s/+.*.php[ ?] [NC]
RewriteCond %{REQUEST_URI} !^/admin/ [NC]
RewriteRule ^ /404.php [L]
ServerSignature Off
Options -Indexes