DocConvertPRO

.htaccess Redirect Generator

Generate redirect lines for your .htaccess file.

  • Free
  • No signup
  • Private: runs in your browser
  • Works on mobile

.htaccess Redirect Generator tool

Loading the tool…

How to use .htaccess Redirect Generator

  1. Enter your values in the fields above.
  2. The result updates instantly as you type or change an option.
  3. Copy the result or note it down. Nothing is saved on our servers.

Why use DocConvertPRO?

  • Free to use with no signup or watermark.
  • Everything runs in your browser. Your input is not uploaded.
  • Works on phones, tablets and computers.
  • Made for Indian users: rupees, lakh/crore formats and local use cases.

About this tool

Use 301 for permanent moves and 302 for temporary ones.

Frequently asked questions

301 or 302?

301 is permanent and passes SEO signals; 302 is temporary.

Does it work on Nginx?

No. It is for Apache.

Where do I put it?

In the .htaccess file at your site root.

Related tools