Forcing HTTPS using htaccess

Also forces WWW and defines path to 'not found' page:

#Force HTTPS as per Siteground
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteEngine on
rewritecond %{https_host} ^websitesyork.co.uk [nc]
rewriterule ^(.*)$ https://www.websitesyork.co.uk/$1 [r=301,nc]

ErrorDocument 404 /notfound.php