.htaccess Generator for WordPress

Easily generate .htaccess security & performance settings for WordPress
For Apache 2.4+ / WordPress

JA

Presets

Target Apache Version

Target Apache Version

โš ๏ธ This switch only affects the format of access control directives. The entire generated .htaccess will not be Apache 2.2 compatible. On Apache 2.2, other Apache 2.4-specific directives may cause 500 errors.

Options & ErrorDocument

โš ๏ธ Some shared hosting providers prohibit changing Options directives. Enabling the Options settings above may cause 500 errors. In that case, disable the Options settings.

File Access Restrictions


IP Address Block

Rewrite Rules

Security Response Headers

Cache & Performance

wp-admin Basic Auth

wp-content/uploads Protection

Preview

# Select options to generate