<IfModule mod_rewrite.c>
RewriteEngine On

# Ensure HTTPS and WWW

# comment below three line on 04-09-2025

#RewriteCond %{HTTPS} off [OR]
#RewriteCond %{HTTP_HOST} !^www\.getmanufacturers\.com$ [NC]
#RewriteRule ^(.*)$ https://www.getmanufacturers.com/$1 [L,R=301]

# comment above three line on 04-09-2025


RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [L,R=301]


    
RewriteBase /

# Route all other requests to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 43.134.0.0/16
deny from 43.133.0.0/16
deny from 43.153.0.0/16
deny from 3.0.0.0/16
deny from 52.167.144.225
deny from 20.171.207.253
deny from 20.168.18.39
deny from 20.14.99.106
deny from 172.182.0.0/16
deny from 37.120.0.0/16
deny from 51.222.0.0/16
deny from 52.167.144.231
deny from 89.58.0.0/16
deny from 128.241.0.0/16
deny from 144.76.33.48
deny from 152.53.0.0/16

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
