Skip to content
Toolzen
  • Image CompressorImage tools
  • Image ResizerImage tools
  • Image ConverterImage tools
  • Favicon GeneratorImage tools
  • Merge PDFPDF tools
  • Split PDFPDF tools
  • Remove PDF PagesPDF tools
  • Images to PDFPDF tools

.htaccess Redirect Generator

Generate 301 redirects, HTTPS and www rules for Apache .htaccess.

Loading tool…

How to use the .htaccess Redirect Generator

  1. 1

    Choose the redirect type.

  2. 2

    Enter the old and new URLs.

  3. 3

    Copy the rules into your .htaccess file.

Frequently asked questions

Should I use 301 or 302?

Use 301 for permanent moves so search engines transfer ranking to the new URL.