Runs locally
Redirect Rule
An Apache Redirect line for 301 or 302.
Ctrl+Enter runs. Ctrl+Shift+Backspace clears.
Export and import are available after you sign in. Sign in
An Apache Redirect line for 301 or 302. Runs in the browser. Nothing is uploaded.
About this tool
Move a page without losing visitors or search rankings. Enter the old path and the new address, choose 301 or 302, and copy the line into your .htaccess or Apache config.
How to use it
- 01
Enter the old path, for example /old-page.
- 02
Enter the new path or full URL.
- 03
Choose 301 or 302 and copy the rule.
FAQ
Frequently asked questions
Should I use 301 or 302?
Use 301 when the move is permanent, so search engines transfer ranking to the new URL; use 302 for temporary moves.
Does it work on Nginx?
No. The output is Apache syntax; Nginx uses return 301 inside a location block.