# .htaccess Redirect Generator

Create 301 redirect rules and force HTTPS or www in .htaccess.

- URL: https://toolstackhub.co.uk/tools/htaccess-redirect-generator/
- Category: SEO & Marketing Tools
- Price: free, no sign-up
- Privacy: runs in the browser; input is not uploaded
- Last updated: 2026-11-07

## About
Generate Apache redirect rules for moved pages, forcing HTTPS and choosing between www and non-www.

## How to use
1. Enter each redirect as the old path, a space, then the full new URL, one per line.
2. Choose whether to force HTTPS and how to handle www.
3. Copy the rules to the .htaccess file on your Apache server, above other rules where appropriate.

## FAQ
**Is the .htaccess Redirect Generator free?** Yes, with no sign-up or limits.
