#comentar la linea 2 con un # al inicio para activar el archivo index
RedirectMatch 302 ^/$ /maintenance.html


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

RewriteEngine On 
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTP_REFERER} !^http://petroacidos.mx/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://petroacidos.mx$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.petroacidos.mx/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.petroacidos.mx$      [NC]
RewriteCond %{HTTP_REFERER} !^https://petroacidos.mx/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://petroacidos.mx$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.petroacidos.mx/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.petroacidos.mx$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]


<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 200.34.175.111
deny from 185.25.23.102

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
