

#RewriteEngine On
#RewriteCond %{HTTP_HOST} ^adtsolarpro\.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.adtsolarpro\.com$
#RewriteRule ^dist "https\:\/\/adtsolarpro\.com\/" [R=301,L]

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?adtsolarpro.com$
RewriteCond %{REQUEST_URI} !^/dist/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /dist/$1
RewriteCond %{HTTP_HOST} ^(www.)?adtsolarpro.com$
RewriteRule ^(/)?$ dist/index.html [L]

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