# Ege Balık Ağları - güvenli yönlendirme ve hız ayarları (Apache)
DirectoryIndex index.html

<IfModule mod_rewrite.c>
RewriteEngine On
# Eski sayfaları yeni adreslere yönlendir (Google sıralaması korunur)
RewriteRule ^hakkimizda\.html$ /#about [R=301,NE,L]
RewriteRule ^urunler\.html$ /urunler/ [R=301,L]
RewriteRule ^iletisim\.html$ /#contact [R=301,NE,L]
</IfModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css application/javascript image/svg+xml application/xml text/plain
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType text/html "access plus 0 seconds"
</IfModule>
