◧ DEVELOPER Updated July 25, 2026

Htaccess Redirect Generator

Migrate URLs without losing rankings or writing config by hand.

Redirects (old path, then new path)
Server
Status code
Server config
Ad space · belowTool · horizontal

How it works

Each line is split into an old path and a target, then emitted as an Apache Redirect directive or an exact-match nginx location block with the status code you choose.

Frequently asked questions

Which code should I use for SEO?

301 for permanent moves — it passes ranking signals to the new URL.

Do rules need a specific order?

Yes. Put the most specific paths first so a broad rule does not swallow them.

Comments

Comments aren't enabled yet. When you're ready, this is where a service like Giscus, Disqus, or a custom form would go — the slot is already reserved on every tool page.