Datos clave
.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.
- Precio
- Gratis
- Registro
- No necesario
- Procesamiento
- 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
- Límites
- 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 actualización
Generador de .htaccess
Crea un .htaccess para Apache a partir de 12 reglas predefinidas: redirecciones a HTTPS y www, caché, GZIP, encabezados de seguridad, sin listado de directorios, protección contra hotlinking, CORS, bloqueo de bots SEO. No incluye redirecciones personalizadas, contraseñas ni bloqueo de IP.
Cómo usar
- Elige las reglas que necesites: redirección HTTPS, compresión GZIP, caché y otras
- Configura los parámetros de cada regla según los requisitos del sitio
- Copia el código generado y pégalo en el archivo .htaccess
FAQ
PromoPilot frente a alternativas: comparación
Comparamos solo lo que está confirmado en las páginas de cada servicio. Donde no pudimos confirmar un dato, la celda muestra "—".
| 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 |
Desplaza la tabla hacia los lados
Dónde somos más débiles: 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.
Cuándo elegir 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.
Comprobado el: . "—" significa que no está confirmado en la página oficial; las condiciones y los precios cambian, así que consulta los sitios de cada servicio.