Htaccess Redirect Generator


1. Select redirect type





2. Enter your domain name


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

3. Get your code


4. Copy the code to your .htaccess file



About Htaccess Redirect Generator

The generator aims to simplify the implementation of the most common web redirection scenarios through htaccess by generating the necessary rewrite code. If you are using an Apache web server, these codes will be inserted into your htaccess file. Remember to back up in case something goes wrong, and after making changes, make sure that the URLs you want to redirect are actually in the correct http 301 state where you want them to be. Redirect the script and get the custom redirect code generated based on your input, and prepare to copy and paste it into your htaccess file. If you want me to include additional redirection scripts, please send me a message here and let me know.