Toolvist

Generador de redirecciones .htaccess

Genera reglas de redirección .htaccess (301, 302, etc.).

Generador de redirecciones .htaccess gratuito

El Generador de redirecciones .htaccess crea reglas .htaccess de Apache para redirecciones comunes: redirecciones de URL 301/302, forzar HTTPS y www frente a non-www. Elige un tipo, introduce las rutas y copia las reglas.

The redirect destination should be verified with the HTTP Header Checker, and a bulk set of rules is easier to author with the Redirect Map Generator. The Broken Link Checker List tool helps find the URLs that need rules.

Cómo usar Redirecciones .htaccess

  1. 1 Enter the old path and the new path for each redirect you need.
  2. 2 Choose the redirect type — permanent for a moved resource, temporary for anything else.
  3. 3 Add the rule modifiers you need, such as preserving query strings.
  4. 4 Copy the generated rules into your server configuration file.

Cómo usarlo

Elige un tipo de redirección y aporta las rutas o el dominio requeridos. Las reglas se generan en vivo: pégalas en tu archivo .htaccess.

  • Redirecciones 301 (permanente) y 302 (temporal)
  • Reglas para forzar HTTPS y www/non-www
  • Copiar con un clic

Preguntas frecuentes

When should a redirect be permanent and when temporary?

Permanent when the resource has genuinely moved and the old location will never return, because clients are entitled to remember that answer and stop asking. Temporary when the change might be reversed or when the redirect is part of a deliberate test, so clients keep requesting the original. Choosing permanent by mistake is difficult to undo, since browsers that cached the rule will not ask again.

Why must I use the server configuration file?

Because redirects work at the server level, before any content is served. A client-side redirect runs after the page has loaded, which costs the visitor a round trip and gives search engines a worse signal. The server configuration file is also read before your application code runs, so it can handle a URL that no longer has any code to serve.

What happens to my existing rules?

Nothing, unless you overwrite them. The file is processed from top to bottom and the first matching rule wins, so order matters and a broad rule placed above a specific one will shadow it. Adding rules at the end is safer than inserting them, and checking the whole file rather than only the new part is worth the minute it takes.

Herramientas SEO y para webmasters relacionadas

Ver todo en Herramientas SEO y para webmasters →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Redirecciones .htaccess:

Explorar el directorio completo →