Zum Inhalt springen

⚙️ .htaccess Generator

Aktivieren oder deaktivieren Sie einfach die Funktionen von Apache <code>.htaccess</code> mit Kontrollkästchen, um eine produktionsreife <code>.htaccess</code>-Datei in Echtzeit zu generieren, einschließlich HTTPS-Umleitung, HSTS, gzip-Komprimierung, Caching, Ablehnung vertraulicher Dateien und WordPress-Permalinks.

100% Free No signup Browser-only 5 languages Dark mode

🔒 Über Datenschutz

🧩 Funktionsauswahl

📄 Generierte .htaccess


        
    

📖 Wie man es benutzt

  1. 1
    Pick features
    Tick the checkboxes for the features you need (HTTPS redirect, HSTS, gzip, etc). The preview on the right updates live.
  2. 2
    Set your domain
    If you enable www canonicalization, set your domain (e.g. example.com). Not required for HTTPS-only redirects.
  3. 3
    Copy or download
    Use the buttons to copy to clipboard or download as a file. Always review before uploading.
  4. 4
    Upload to your server
    Place the file as .htaccess in your document root (public_html / htdocs / public). Back up any existing file first.

❓ Häufig gestellte Fragen

Does .htaccess work on servers other than Apache?
No. .htaccess is Apache-only. LiteSpeed is compatible, but nginx needs a server block instead — try our nginx config generator.
What if I get a 500 error?
It can happen when a module is missing (e.g. no mod_brotli). The blocks are wrapped in IfModule so they should be safe — but if you still see 500, comment out one block at a time and check Apache error_log.
Does it work on shared hosting (Xserver / Sakura)?
Yes. Most shared hosts allow .htaccess including PHP version selection (AddHandler). Some require enabling mod_deflate / mod_expires from the control panel.
🐛 Sind Sie auf ein Problem mit diesem Tool gestoßen?

Vollständig kostenlos und ohne Registrierung. Auch Reproduktionsschritte sind ausreichend. Eingegangene Berichte werden direkt an die Betreiber weitergeleitet und dienen als Referenz für Korrektionen.

※ Um Probleme zu reproduzieren, werden Browser-Informationen (UA / Bildschirmgröße / Sprache / URL) automatisch gesendet