# Enable rewrite engine RewriteEngine On # Legacy redirects (301) – must be before the catch-all RewriteRule ^impressum\.html$ /impressum [R=301,L] RewriteRule ^datenschutz\.html$ /datenschutz [R=301,L] RewriteRule ^haus-schleusingen\.html$ / [R=301,L] # Serve existing files/directories directly (css, js, images, fonts, etc.) RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] # Route everything else through the front controller RewriteRule ^(.*)$ index.php [QSA,L]