.htaccess Redirect Generator
Free online .htaccess redirect generator. Paste your text and get the result instantly – no sign-up, nothing uploaded.
What is the .htaccess Redirect Generator used for?
Use it to generate .htaccess rules for redirects, HTTPS and caching.
When to use it
- Apache hosting
- Site migrations
- Performance tweaks
How to use the .htaccess Redirect Generator
- Type or paste your text into the input box.
- Adjust the options, if any, to fine-tune the result.
- See the output update instantly below.
- Copy the result with one click or download it as a file.
About this tool
The .htaccess Redirect Generator turns your input into the result you need in real time. Paste or type in the box above and the output appears below immediately; use the options for force https, www, compression & caching, custom 404 page (e.g. /404.html) and redirect (old-path new-url), optional to fine-tune it.
When you are happy with the result, copy it with one click or download it as a text file. The example text is there so you can see what the tool does before using your own content.
Because the .htaccess redirect generator runs entirely in your browser, it is fast even with large inputs and keeps private content – code, documents, passwords or personal notes – on your device.
Frequently asked questions
Can I use the result commercially?
Yes. Anything you create with the .htaccess redirect generator is yours to use however you like.
Is the .htaccess redirect generator free?
Yes. The .htaccess redirect generator on UnlimitedPocket is completely free, with no sign-up, no usage limits and no watermarks.
Is my data uploaded anywhere?
No. Everything is calculated in your browser on your own device. Nothing you type or open is sent to our servers.