WordPress newbie here, apologies if things don't make sense.

I bought a premium theme and uploaded/installed it to WordPress. Surely enough, after doing so, I found out that I was supposed to add the following values to .htaccess:

php_value post_max_size 64M
php_value upload_max_filesize 64M
php_value max_file_uploads 128M
php_value max_input_vars 5000

The authors are very adamant to do this BEFORE installing and activating the theme, but that's already too late in my case.

What's the appropriate course of action here, deactivate and delete the theme in question in order to add those lines to .htaccess?

  • 1
    If your default server values are already greater than those settings then there should be no problem adding them after the fact.
    – MrWhite
    Aug 2 '20 at 21:26

Just switch the theme, then delete the theme you bought and after edited the .htaccess reinstall it. This should work without problems. If you have access to cpanel, set the values from the php settings section instead of rely on the .htaccess file.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.