Htaccess Redirect Generator

Generate Apache RewriteRules for 301/302 redirects.

Loading tool...

About Htaccess Redirect Generator

What is the .htaccess Redirect Generator?

Easily generate Apache RewriteRules for one‑off or bulk redirects. Ideal for migrations, rebrands, or consolidating content while preserving SEO.

How It Works

  1. Enter a single from/to pair or paste bulk from,to mappings.
  2. Choose the status code (301 or 302).
  3. Copy the generated .htaccess snippet.

Key Features

  • Single & Bulk: Handle quick fixes or entire migrations.
  • Auto‑escape: Safely escape special regex characters.
  • Copy‑ready: Minimal, production‑friendly rules.
All free tools

From the blog

All articles

T.LY 4 min read

A New Layout for the T.LY App

T.LY has a new app layout, with a shared sidebar, search, clearer settings, and navigation that works on phones. Here’s what changed and where we started.

Tools 2 min read

T.LY Is Now Available in ChatGPT

Create a short link without leaving ChatGPT. Install T.LY, paste your URL, and get a link you can share. No T.LY account or API key needed.

Tools 3 min read

T.LY Is Now Available in Canva

Create short links and branded QR codes inside Canva. Connect your T.LY account, customize your QR code, and add it to your next flyer, menu, or poster.