<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    
    # Redirecionamento para URLs amigáveis
    
    
    RewriteRule ^([a-zA-Z0-9_-]+)$ page.php?url_slug=$1 [L,QSA]

    # Se o arquivo ou diretório não existir, redirecione para index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ 404.php [L]
</IfModule>

<IfModule mime_module>
    <FilesMatch "\.(php|php7|phtml)$">
        SetHandler application/x-httpd-ea-php73
    </FilesMatch>
</IfModule>

<FilesMatch "\.(woff|woff2)$">
    AddType fonts/woff .woff
    AddType fonts/woff2 .woff2
</FilesMatch>

# 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
