Fatos principais
.htaccess is an Apache configuration file for per-directory rules. Tick the rules you need (HTTPS, www, GZIP, caching, security headers, CORS and more) and copy the result. These are templates for Apache, not Nginx; back up your old file before deploying, because a mistake in .htaccess can cause a 500 error.
- Preço
- Grátis
- Cadastro
- Não é necessário
- Processamento
- On our server: the ticked boxes are sent by POST and the server assembles ready rule templates into text; nothing is stored
- Entrada
- Checkboxes for 12 ready Apache rules
- Limites
- No sign-up and no limits; ready templates only, you cannot enter your own URLs or conditions
- Resultado
- The .htaccess text in a read-only field headed “Generated by PromoPilot” with a Copy button; paste it into the .htaccess file in the site root
- Última atualização
Gerador de .htaccess
Crie um .htaccess para Apache a partir de 12 regras prontas: redirecionamentos para HTTPS e www, cache, GZIP, cabeçalhos de segurança, sem listagem de diretórios, proteção contra hotlink, CORS, bloqueio de bots de SEO. Não há redirecionamentos personalizados, senhas nem bloqueio de IP.
Como usar
- Escolha as regras desejadas: redirecionamento HTTPS, compressão GZIP, cache e outras
- Configure os parâmetros de cada regra de acordo com os requisitos do site
- Copie o código gerado e cole no arquivo .htaccess
FAQ
PromoPilot vs. alternativas: comparação
Comparamos apenas o que está confirmado nas páginas de cada serviço. Onde não conseguimos confirmar um dado, a célula mostra "—".
| Parâmetro | PromoPilot | htaccessredirect.net | htaccess tester (madewithlove) |
|---|---|---|---|
| Ready templates (HTTPS, www, GZIP, caching) | ✓ | ✓ www rewrite, JS/CSS/image caching, hotlink prevention, custom errors, bot blocking | ✗ |
| Password protection for a file or folder | ✗ | ✓ file password protection and an htpasswd generator | ✗ |
| Custom 301 redirects | ✗ | ✓ 301 redirects for a file or directory | ✗ |
| Testing rules against a URL | ✗ | — | ✓ paste rules and a URL and see how Apache would rewrite it |
Role a tabela para os lados
Onde somos mais fracos: only 12 fixed templates: no passwords or .htpasswd, no custom redirects or result testing, and you have to insert the domain into the hotlinking rule yourself.
Quando escolher o PromoPilot: When you want typical Apache rules fast without digging through documentation. For custom 301 redirects, password protection and testing rules against a URL you need other tools.
Verificado em: . "—" significa que não foi confirmado na página oficial; condições e preços mudam, então confira os sites dos próprios serviços.