
RewriteOptions inherit
# Enable RewriteEngine
RewriteEngine On

# Redirect non-www to www
RewriteCond %{HTTP_HOST} ^playingcardmanufacturer\.co.uk [NC]
RewriteRule ^(.*)$ https://www.playingcardmanufacturer.co.uk/$1 [L,R=301]

# Redirect all traffic to HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]

Options +FollowSymLinks 
RewriteCond %{THE_REQUEST} ^.*/index.php 
RewriteRule ^(.*)index.html$ https://www.playingcardmanufacturer.co.uk/$1 [R=301,L]