Tentang Tools Ini
Apa Itu .htaccess Generator?
Public Access & Redirects
Force HTTPS
Redirect semua HTTP ke HTTPS secara otomatis (301)
Configuration
Force File Download
Paksa browser mengunduh tipe file tertentu
Limit Upload Size
Batasi ukuran file yang bisa diupload
MB
upload_max_filesize & post_max_size
Performance
Gzip Compression
mod_deflate — kompres HTML, CSS, JS, XML, JSON, font
Keep-Alive Headers
Pertahankan koneksi TCP agar request lebih cepat
Browser Caching (Expires)
mod_expires — gambar 1 tahun, CSS/JS 1 bulan, font 1 tahun
Custom Error Pages
Security Hardening
Prevent Directory Listing
Options -Indexes — sembunyikan daftar file dari browserDisable CGI Execution
Blokir akses langsung ke file .cgi, .pl, .py, .sh
Hide Server Information
ServerSignature Off & ServerTokens ProdPrevent Clickjacking
Header
X-Frame-Options: SAMEORIGIN & X-Content-Type-Options: nosniffHSTS (HTTP Strict Transport Security)
max-age=31536000; includeSubDomains; preload⚠ Membutuhkan Force HTTPS aktif di tab Public Access
Block Spam & Scraper Bots
Blokir AhrefsBot, SemrushBot, MJ12bot, GPTBot, ClaudeBot, Bytespider
Protect Sensitive Files
Blokir akses ke
wp-config.php, .htaccess, .env, xmlrpc.phpDisable PHP in Uploads
Cegah eksekusi file PHP di folder
/wp-content/uploads/Deny Dangerous HTTP Methods
Hanya izinkan GET, POST, HEAD, OPTIONS
Custom Redirects
Generated .htaccess
Paste kode ini di bagian atas file .htaccess yang sudah ada, sebelum blok
# BEGIN WordPressCara Memasang .htaccess
- Generate dan unduh file
.htaccessdi atas. - Buka file
.htaccessyang sudah ada di root server (biasanyapublic_html/). - Paste kode baru di paling atas, sebelum baris
# BEGIN WordPress. - Upload ulang atau simpan perubahan melalui File Manager / FTP.
- Test di browser — pastikan redirect dan rule berjalan dengan benar.
Cara Kerja Tools
Bagaimana .htaccess Generator Ini Bekerja?
Kenapa .htaccess Penting?
F.A.Q
Pertanyaan yang Sering Diajukan
KONTAK
