.htaccess Redirect Generator
Generate Apache .htaccess rules for 301 redirects, forcing HTTPS, and www or non-www.
About the .htaccess Redirect Generator
When you move or rename pages, a 301 redirect sends visitors and search engines to the new address and keeps your SEO value. This generator also writes rules to force HTTPS and choose between www and non-www. Paste the result into the .htaccess file in your Apache website root.
How to use the .htaccess Redirect Generator — step-by-step guide
Frequently asked questions
Is the .htaccess Redirect Generator free?
Yes. The .htaccess Redirect Generator on Apex Tool Station is 100% free with no signup and no watermark. Browser tools have no usage limits.
Are my files or data uploaded to a server?
No. Everything runs locally in your browser using JavaScript. Your files and text never leave your device, which makes it safe for private documents.
Does it work on mobile?
Yes. The tool works on any modern browser on Android, iPhone, Windows, Mac and Linux.