Htaccess Redirect Generator

1. Select redirect type

2. Enter your domain name

Do not include www. Domain name only - e.g.

3. Get your code

4. Copy the code to your .htaccess file

About Htaccess Redirect Generator

Htaccess Redirect Generator

Anyone familiar with the Apache web server will be familiar with the htaccess file. It is a text file that is used to configure the web server. One of the features of Apache is its ability to redirect requests. This can be useful if you have a website that hosts user-generated content and you want to keep those users from seeing inappropriate or unauthorized content. You can use the htaccess file to redirect requests to a different location.

If you're like most webmasters, you've probably been frustrated at times trying to figure out how to redirect specific websites or pages on your site. With a little ingenuity, you can probably cobble together a makeshift redirector using some simple coding, but it can be laborious and time-consuming. What if there were a way to simply generate a redirector automatically? There is now - with the help of an HTaccess redirect generator.

The HTaccess redirect generator is an extremely simple and easy-to-use tool for generating a redirector. This program does everything you would expect it to do: generates a redirector file that you can use to send specific pages or websites to different places on your website.


Prohibited Content

We use Strict Filtering on bad content, so you are not allowed to use the tool for generating any of the following categories of content:

  • Hate: content that expresses, incites, or promotes hate based on identity.
  • Harassment: content that intends to harass, threaten, or bully an individual.
  • Violence: content that promotes or glorifies violence or celebrates the suffering or humiliation of others.
  • Self-harm: content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
  • Adult: content meant to arouse sexual excitement, such as describing a sexual activity or promoting sexual services (excluding sex education and wellness).
  • Political: content attempting to influence the political process or be used for campaigning purposes.
  • Spam: Unsolicited bulk content.
  • Deception: false or misleading content, such as attempting to defraud individuals or spread disinformation.
  • Malware: content that attempts to generate ransomware, keyloggers, viruses, or other software intended to impose some level of harm.

We are doing rigorous testing and I would appreciate your valuable feedback to make this tool work better.

Please share your valuable feedback on Contact Us page.