
RewriteOptions inherit
# Enable Rewrite Engine
RewriteEngine On

# Redirect to HTTPS and ensure 'www'
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.playingcardsdealer.com/\.com$ [NC]
RewriteRule ^(.*)$ https://www.playingcardsdealer.com/$1 [L,R=301]

# Remove index.html from URL
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\s/(.*)index\.php [NC]
RewriteRule ^(.*)index\.php$ https://www.playingcardsdealer.com/$1 [R=301,L]

# Enable FollowSymLinks
Options +FollowSymLinks

