RewriteEngine On

# Google verification HTML dosyaları direkt servis edilsin
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.html$ - [L]

# sitemap.xml → sitemap.php
RewriteRule ^sitemap\.xml$ sitemap.php [L]

# robots.txt → robots.php
RewriteRule ^robots\.txt$ robots.php [L]

# Geri kalan tüm path'ler index.php'ye
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA]
