JezK
Edit File: .htaccess
#Begin Really Simple Auto Prepend File <IfModule mod_php7.c> php_value auto_prepend_file /home/nabfins/public_html/wp-content/advanced-headers.php </IfModule> <IfModule mod_php.c> php_value auto_prepend_file /home/nabfins/public_html/wp-content/advanced-headers.php </IfModule> <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 Really Simple Auto Prepend File <Files *> Order Deny,Allow Deny from 103.175.2.136 Deny from 43.131.17.95 Deny from 43.162.111.16 Deny from 74.207.198.135 Deny from 15.220.152.93 Deny from 92.62.121.150 Deny from 198.163.193.188 Deny from 188.72.57.108 Deny from 109.204.52.69 Deny from 146.70.186.124 Deny from 109.204.52.72 Deny from 116.196.45.43 Deny from 109.204.52.72 </Files> # BEGIN Custom Redirect Redirect 301 /our-team/ https://nabfins.org/ Redirect 301 /team/ https://nabfins.org/ Redirect 301 /Tenders/ https://nabfins.org/tenders-5/ Redirect 301 /dr-diwakar-hegde https://nabfins.org/smt-n-neeraja/ Redirect 301 /tenders/ https://nabfins.org/tenders-5/ Redirect 301 /tender/ https://nabfins.org/tenders-5/ Redirect 301 /Tender/ https://nabfins.org/tenders-5/ # END Custom Redirect #Begin Really Simple Security Options -Indexes #End Really Simple Security # Block XML-RPC access <Files xmlrpc.php> Require all denied </Files> # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <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 php8_module> php_flag display_errors On php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php82" php_value upload_max_filesize 512M php_flag zlib.output_compression Off </IfModule> <IfModule lsapi_module> php_flag display_errors On php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php82" php_value upload_max_filesize 512M php_flag zlib.output_compression Off </IfModule> ErrorDocument 403 /cgi-sys/403_def.html ErrorDocument 404 /cgi-sys/404_def.html ErrorDocument 500 /cgi-sys/500_def.html ErrorDocument 502 /cgi-sys/502_def.html ErrorDocument 503 /cgi-sys/503_def.html ErrorDocument 504 /cgi-sys/504_def.html # END cPanel-generated php ini directives, do not edit #Begin Really Simple Security Options -Indexes #End Really Simple Security # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # Send all requests that don't match a file or directory to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # 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___lsphp .php .php8 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit