.htaccess Redirect Generator | 2lus
Generate an Apache RewriteRule from supplied old and new locations.
What it does
Generate redirect configuration templates. Format code, inspect JSON or generate developer text.
What this tool accepts
text, a URL, or values entered in the tool
What it produces
HTML, CSS, JS, JSON, TXT, CONF
How to use it
- Choose json-view and paste valid JSON.
- Run, expand objects and copy values or paths.
Example
Input: text: redirect; url: /old; secondary: https://example.com/new Options: mode: rewrite; server: apache Output: An Apache redirect rule requiring manual review and deployment.
Tips and notes
- Code is not executed; MD5 is for non-security uses only.
Privacy and processing
Processing runs locally in your browser until you explicitly choose to share a result.