/home/simp499cl/public_html
Edit: /home/simp499cl/public_html/.htaccess (1262B)
RewriteEngine on
RewriteOptions inherit
# 1) Redirigir solicitudes visibles con .html hacia la versión limpia
RewriteCond %{THE_REQUEST} \s/+(.+?)\.html[\s?] [NC]
RewriteRule ^ /%1 [R=301,L]
# 2) Servir internamente archivos .html cuando pidan la URL sin extensión
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.+)$ $1.html [L]
RewriteCond %{REQUEST_URI} !^/dondevamos/privacy.html$
RewriteRule ^dondevamos/[^/]+$ https://www.simplesystems.cl/dondevamos [R=301,L]
RewriteCond %{REQUEST_URI} !^/pmc/privacy.html$
RewriteRule ^pmc/eventos/[^/]+$ https://www.simplesystems.cl/pmc [R=301,L]
# AASA fix - asegura que el archivo tenga el tipo application/json
# Fuerza servirlo como JSON sin procesar
ForceType application/json
Header set Content-Type "application/json"
Require all granted
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
# php -- END cPanel-generated handler, do not edit