Generador de .htaccess
Redes y Operaciones · Herramienta online gratuita
Generar reglas .htaccess de redirección/caché/autenticación.
Common Options
Rules
# .htaccess
# Generated by ez4code.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Redirects & Rewrites
RewriteEngine On
Redirect 301 /old-page.html /new-page.html
# Block access to dotfiles
<FilesMatch "^\.">
Require all denied
</FilesMatch>
# Custom error pages
ErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 500 /500.html
Apache mod_rewrite
Genera directivas RewriteRule y Redirect para Apache HTTP Server.
Múltiples códigos de redirección
Soporta códigos de estado 301, 302, 307 y 308 por regla.
Listo para subir
Descarga el archivo como .htaccess y súbelo a la raíz de tu sitio.
Cómo usar Generador de .htaccess
- 1Enter the URL, IP address, or network parameter to look up.
- 2Click the lookup or test button.
- 3Review the detailed results in the output panel.
- 4Use the information for your network operations.
Características
- ✓100% gratis — sin registro, sin suscripción, sin anuncios
- ✓Funciona íntegramente en tu navegador — los datos nunca salen de tu dispositivo
- ✓Rápida y ligera — resultados instantáneos
- ✓Multiplataforma — funciona en escritorio, tableta y móvil
Preguntas frecuentes
Are network lookups real-time?
Yes, IP lookups, DNS queries, and HTTP tests perform live network requests to provide current data.
Is my IP address logged?
The IP Lookup tool queries public geolocation APIs. We do not store your IP address or lookup history.
Why do geolocation results differ between providers?
Each provider maintains its own IP-to-location database with different update cycles and coverage. Treat any single result as an approximation, not an exact address.
Do the results reflect me if I use a proxy or VPN?
No. Results show the egress IP of the proxy or VPN you are connected through. Disconnect it if you need your real public IP.
Herramientas relacionadas
Generador de Configuración Nginx
Generar configuraciones Nginx de proxy inverso/sitio estático.
Generador de Docker Compose
Generar visualmente docker-compose.yml.
Generador de Dockerfile
Generar plantillas de Dockerfile por lenguaje/runtime.
Generador de .gitignore
Generar plantillas .gitignore por selección de lenguaje/IDE.
Generador de YAML CI/CD
Generar plantillas de pipeline GitHub Actions / GitLab CI.
Generador de Archivo .env
Gestionar pares clave-valor para generar .env y .env.example.
Búsqueda de IP
Consultar geolocalización de dirección IP e información del ISP.
Calculadora de Subred
Calcular detalles de subred IPv4 a partir de CIDR.