Último día de Halloween: +30% en una recargaEl bono se aplica una sola vez: recarga de una vez todo el importe que necesites. Echa un vistazo a tu panel: hay sorpresas escondidas. 00h00min00s Aprovechar el bono
Utilidades

Generador de .htaccess

Genera reglas .htaccess de Apache listas para usar.

Selecciona las reglas

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.

Redirecciones permanentes (301) a HTTPS y a www / sin www
Reglas de caché
Sin listado de directorios y protección contra hotlinking de imágenes
Bloqueo de rastreadores SEO por User-Agent
Forzar redirección a HTTPS
Compresión Gzip/Deflate

Cómo usar

  1. Elige las reglas que necesites: redirección HTTPS, compresión GZIP, caché y otras
  2. Configura los parámetros de cada regla según los requisitos del sitio
  3. Copia el código generado y pégalo en el archivo .htaccess

FAQ

It is an Apache configuration file that applies to the directory it sits in and its subfolders. It is where you set redirects, compression, caching, headers and access restrictions.

Tick “Force HTTPS”: the rule redirects http to https with a 301. Before enabling it make sure the certificate is installed and the site opens over https.

In the site root (next to index) as .htaccess, or append the text to an existing file. Keep a backup: a syntax error causes a 500 error.

No. Nginx does not read .htaccess; its rules go into the server configuration. Our templates are for Apache only.

Not with this generator: it has only 12 ready templates. Password protection (.htpasswd) and custom 301 redirects must be set up another way.

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.

Promoción con enlaces en cascada para tu sitio Bono de $30Backlinks 5→50→5000 en más de 100 plataformas. Desde $30 para empezar, más un bono de $30 para nuevos usuarios.