Build your .htaccess
Tick the rules you need. The file updates live below.
# Tick the options above, then click Generate .htaccess
Works on Apache servers with mod_rewrite. Back up your existing .htaccess before uploading. These rules do not apply to Nginx servers.
Frequently asked questions
Is the generated .htaccess safe to upload?
The rules use standard, widely used Apache directives. Always back up your existing .htaccess first and test your site after uploading. If anything breaks, restore the backup.
Will this work on my hosting?
It works on Apache servers with mod_rewrite enabled, which covers most shared hosting. It does not work on Nginx servers, which use a different configuration format.
Is this tool really free?
Yes. Everything runs in your browser, no signup and no limits. The file is generated on your device and never uploaded anywhere.
Preview
Related free tools
Free HTML Anchor Link Generator | Build <a> Tags
Free HTML anchor link generator. Build correct link tags with target, rel, and title attri
Free Canonical Tag Generator | SEO Canonical URLs
Free canonical tag generator. Enter your preferred page URL and generate a correct canonic
Free Hreflang Tag Generator for Multilingual Sites
Free hreflang tag generator. Enter each language version URL and generate correct hreflang