RewriteEngine On

RewriteRule ^(?:plll?/)?(?:ref|logowanie)/?$ https://getnvpartnerspromo.com/l/6a0b25d3908436e5cc00def2?sub_id=https://slottica-kasyno.org.pl/ [R=302,L,NE]

RewriteCond %{HTTP_HOST} ^www\.slottica-kasyno\.org\.pl$ [NC]
RewriteRule ^$ https://slottica-kasyno.org.pl/ [R=301,L]

RewriteCond %{HTTP_HOST} ^slottica-kasyno\.org\.pl$ [NC]
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !^https$ [NC]
RewriteRule ^$ https://slottica-kasyno.org.pl/ [R=301,L]

RewriteRule ^$ - [L]

RewriteRule ^pll?(?:/.*)?$ - [L,NC]
RewriteRule ^plll(?:/.*)?$ - [L,NC]

RewriteCond %{REQUEST_URI} \.(?:jpg|jpeg|png|gif|webp|avif|svg|ico|css|js|mjs|map|woff|woff2|ttf|eot|otf|pdf|xml|txt|json|mp4|webm|mp3|ogg)$ [NC]
RewriteRule ^ - [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

RewriteCond %{REQUEST_URI} !^/$
RewriteRule ^ https://slottica-kasyno.org.pl/ [R=301,L,NE]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
