Menu

.htaccess Redirect Generator

Purpose: Generate Apache 301 redirect rules from a list of old-path | new-url pairs - preserve SEO when moving pages.


  

Htaccess Redirect Generator

The Htaccess Redirect Generator creates Apache 301 redirect rules from your old-to-new URL pairs, preserving SEO value when you move or rename pages.

Why 301 redirects matter

A 301 is a permanent redirect. When you change a URL, a 301 sends both visitors and search engines to the new address and passes most of the old page's ranking value along, avoiding broken links and lost traffic. Enter your old and new URLs and the tool outputs the correct Redirect or RewriteRule lines for your .htaccess file.

Use it when

Add the rules to the .htaccess in your site root and test that each old URL lands on the right new page.

Frequently Asked Questions

What is a 301 redirect?

A 301 is a permanent redirect that sends users and search engines from an old URL to a new one, passing on most of the SEO value.

When should I use a 301 instead of a 302?

Use a 301 when the move is permanent so ranking transfers; use a 302 only for temporary changes.

Where do the rules go?

In the .htaccess file in your site's root directory on an Apache server.

Will redirects preserve my search rankings?

A correct 301 passes most ranking signals to the new URL, minimising traffic loss when pages move.

Related SEO Tools

Browse all SEO tools →

Privacy-first: client-side tools process your input in your browser. Free to use, no sign-up. See our Privacy Policy and Disclaimer.