The Own Code field in the User Agents tab allows you to append arbitrary .htaccess directives to the generated configuration. This is an advanced option for rules that do not fit the structured options in the other tabs.
Use the Own Code field when you need to:
RewriteRule or RewriteCond directivesEnter valid Apache or IIS directives in the text area in the User Agents tab, one directive per line. The code is appended verbatim to the .htaccess file after the SecurityCheck Pro-managed rules.
An Expand button opens the text area into a larger overlay for easier editing.
Custom code is not validated before being written to the .htaccess file. Incorrect syntax can take your site offline immediately. Always back up your .htaccess file before adding custom directives, and test in a development environment first.
Custom code added here is part of the .htaccess Protection configuration. If you click Apply Default Config on the Dashboard, custom code fields are not reset, but the other managed rules may be modified.
