.htaccess Redirect Generator
Generate 301/302 redirect rules. Also works as .htaccess redirect generator online and .htaccess redirect format. Free, no login, works on mobile.
Processing...
How to use
- 1 Enter the source path or URL you want to redirect from.
- 2 Enter the destination URL and choose 301 permanent or 302 temporary.
- 3 Generate the RewriteRule or Redirect directive.
- 4 Copy the rule into your Apache .htaccess file.
Frequently Asked Questions
Use a 301 for permanent moves so link equity transfers, and a 302 for temporary changes where the original URL will return.
Paste it into the .htaccess file in the relevant directory of your Apache server, usually the site root.
Yes, a 301 passes most ranking signals to the new URL, which is why it is preferred when permanently moving content.
About .htaccess Redirect Generator
.htaccess Redirect Generator by Krishna Tools is a free online tool. Everything works right in your browser – on mobile or computer. People also search for it as ".htaccess redirect generator online", ".htaccess redirect format", ".htaccess redirect maker online free". There is no sign-up, no app to install and your data stays in your browser.