Sometimes, when you install a theme from a .zip file using the WordPress theme installer, you may got a message like “Are you sure you want to do this? Please, try again.”.

First thing to know: This is not a problem with the theme or bug!

Second: Don’t panic! 🙂 There is an easy solution in 99.99% of the cases.

It’s a common error especially on shared hosting environment where the hosting providers limit your resources in order to save performance.

Most likely your web server is configured with PHP settings that are too low to allow the theme ZIP file to upload correctly.


These days, recommended PHP configuration limits for a modern and powerful themes are as follows:

  • max_execution_time 60
  • memory_limit 128M
  • post_max_size 32M
  • upload_max_filesize 32M

Most probably your hosting PHP settings are configured to a maximum file upload size limit at 8 megabytes or less.


Try to edit your wp-config.php and put this code somewhere in it:

define('WP_MEMORY_LIMIT', '128M');

If it didn’t work, put a file named php.ini in your website root directory and put this code in it. If the file already exists, insert the code in it.

memory_limit = 128M;

If none of the above methods work, contact your web host and ask them to increase the memory limit for you OR you can upload your theme using an FTP client.


About the Author:

Dimitar Koev is a graphic and web designer, front-end developer and marketing expert. CEO & founder of the Althemist team (previously known as Koev) - an independent envato market author, focused on building WordPress themes with strong e-commerce accent.