Gerador .htaccess
Construir regras Apache .htaccess visualmente — redirecionamentos, reescritas, cabeçalhos de segurança, cache, CORS
Sobre Gerador .htaccess
Build Apache .htaccess rules visually — redirects, rewrites, segurança headers, caching, CORS, e mais — não manual regex writing needed.
Como usar Gerador .htaccess
- 1Click 'Add Rule' to add a novo rule to your .htaccess arquivo.
- 2Selecionar the rule tipo: Redirect, URL Rewrite, Básico Auth, IP Block, Personalizado Cabeçalho, Gzip, Cache, Erro Página, Force HTTPS, WWW Redirect, or CORS.
- 3Preencha os parâmetros da regra (ex.: origem/destino para redirecionamentos, endereços IP para bloqueio).
- 4Add múltiplos rules — they are combined em a único .htaccess saída.
- 5Copie o generated .htaccess content or download it as a arquivo.
Dicas
- Sempre adicione as regras Forçar HTTPS e Redirecionamento WWW primeiro — elas devem aparecer no topo do seu .htaccess.
- Enable Gzip compressão and Blinhaser Cache rules for significant performance improvements.
- Test your .htaccess on a staging server antes deploying to production — syntax errors can take down your site.
Ferramentas relacionadas
Equipe OneKitToolsAtualizado 2.21.4