RewriteEngine On

# Paksa HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Hapus WWW
RewriteCond %{HTTP_HOST} ^www\.cashbudy\.com$ [NC]
RewriteRule ^ https://cashbudy.comcom%{REQUEST_URI} [L,R=301]