Free tool
WordPress .htaccess Security & Speed Generator
HTTPS redirect, security hardening, caching and GZIP rules for Apache / LiteSpeed.
Redirects
Security
Speed
.htaccess
Always keep a backup of your current .htaccess. Rename the downloaded file to “.htaccess”.
How to use it
- Choose the rules you want.
- Copy the generated code.
- Back up your current .htaccess, then replace it (it lives in the same folder as wp-config.php).
- Reload your site and test the login, forms and checkout.
Prefer an expert to handle it? Message me on WhatsApp
FAQ
Does this work on Nginx?
No — .htaccess is for Apache and LiteSpeed servers (most shared hosting, including Hostinger). Nginx needs server-config rules.
My site shows an error after saving
Restore your backup .htaccess, then add the rules back one group at a time to find the conflict.
Can I keep my caching plugin rules?
Yes. Leave the blocks your cache or security plugin added and paste these above the “# BEGIN WordPress” line.
More free tools
Try another free tool
WordPress Security Scanner
Check SSL, security headers, outdated WordPress, exposed usernames, XML-RPC and more — with fixes.
Open tool
Free
WordPress Theme & Plugin Detector
See which theme, plugins, page builder and hosting any WordPress website uses.
Open tool
Free
Website Speed Test
Check performance, SEO and Core Web Vitals scores with the top fixes for any page.
Open tool
Free
Website Cost Calculator
Estimate the price and timeline of your WordPress or WooCommerce website in under a minute.
Open tool
Free
Image Compressor & WebP Converter
Compress, resize and convert images to WebP — privately, right in your browser.
Open tool
Free
Meta Tag Generator & SERP Preview
Preview how your page looks in Google and generate SEO, Open Graph and Twitter tags.
Open tool
Free
Schema Markup Generator
Create LocalBusiness, Organization and FAQ JSON-LD structured data in seconds.
Open tool
Free
Robots.txt Generator for WordPress
Build an SEO-friendly robots.txt for WordPress & WooCommerce, with your sitemap.
Open tool
Free
WordPress Salt Key Generator
Fresh, secure AUTH keys and salts for wp-config.php — generated in your browser.
Open tool
Free
WhatsApp Link & QR Generator
Create click-to-chat links, QR codes and website buttons for your WhatsApp number.
Open tool
Free
UTM Link Builder
Build tracking links so Google Analytics shows which channels bring clients.
Open tool
Free
Let's work together
Ready for a website your clients trust at first glance?
Tell me about your project on WhatsApp or book a free consultation call — no pressure, just a clear plan and an honest quote.