Update .htaccess for HTTPS redirection: Modified the RewriteCond to include both hexahost.de and dev.hexahost.de, ensuring secure connections for both domains.

This commit is contained in:
𝓜𝓪𝓬𝓮™
2026-04-02 13:40:56 +02:00
parent 5325cc2e95
commit b4ab365314

View File

@@ -20,7 +20,7 @@
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^(www\.)?hexahost\.de$ [NC] RewriteCond %{HTTP_HOST} ^(www\.)?(hexahost\.de|dev\.hexahost\.de)$ [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# PHP-Endung aus URLs entfernen # PHP-Endung aus URLs entfernen