<IfModule mod_rewrite.c>

Options -Indexes
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html

ErrorDocument 400 https://winwintoto.org/
ErrorDocument 401 https://winwintoto.org/
ErrorDocument 403 https://winwintoto.org/
ErrorDocument 404 https://winwintoto.org/
ErrorDocument 500 https://winwintoto.org/

</IfModule>