Generate Apache .htaccess rules for canonical URLs, WordPress or Laravel routing, redirects, caching, compression and security in your browser.
Build an Apache .htaccess file from grouped settings for canonical URLs, WordPress or Laravel front-controller routing, 301/302 redirects, Gzip compression, cache lifetimes, security headers, IP access rules and custom error pages.
The generated configuration updates in your browser as you edit the options. Copy or download the file and review it on a staging site before deployment. This generator does not send your settings to a Mota SEO processing endpoint.
Force HTTPS, normalize www and generate WordPress or Laravel front-controller rules.
Generate permanent 301 or temporary 302 redirects.
Configure Gzip compression and cache lifetimes for common static assets.
Add security headers, HSTS, deny directory listing, protect sensitive files and block IP/CIDR ranges.
Map 4xx and 5xx status codes to local pages or HTTP(S) URLs.
The configuration is assembled locally and is not posted to Mota SEO.
Save it as .htaccess in the directory it should control, usually the site root. Apache must have AllowOverride enabled for these rules to apply.
Put the source and target on one line and add 302 at the end. Without it, the generator uses a permanent 301 redirect.
Only after HTTPS is working on every relevant hostname and path. Browsers remember HSTS and may keep forcing HTTPS after you change this setting.
No. .htaccess is specific to Apache. Nginx uses server-block configuration and does not read .htaccess files.
No. It generates the file in your browser and does not send the configuration to a Mota SEO processing endpoint.