940cbdbde921b1b01bc102855d1b90fb

Increasing the Max Input Vars for WordPress

PHP Max Input Vars defines how many variables can be passed to a single function to avoid overloading.

The max_input_vars directive must be defined in the .htacess file on the server. The SFTP credentials in your Strattic dashboard will allow you access to these files.

Steps

  1. Connect to your SFTP server using (see how to connect using Cyberduck)

  2. From Cyberduck, go to the view menu and select “show hidden files”

  3. Within the /public_html/ folder locate .htaccess

  4. Right-click on the file and select Edit

  5. Paste the directive code php_value max_input_vars 3000 at the top of the file. You can replace 3000 with the value you require.

  6. Once you are done making changes save the file. The downloaded file will then upload to back to the server and override the existing file.


Strattic is an end-to-end managed WordPress static publishing and hosting platform.
Try it free for 14 days, no credit card required.

Did this answer your question?