I’ve got a very basic htaccess file that redirects all site traffic to a https version of a site:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.website.com/$1 [R,L]
However, is it possible to add a rule to the htaccess that if the site is accessed via its dedicated IP it doesn’t redirect to the https and can be used via the IP without the SSL?