While uploading theme file, one of the most common installation related issues is “Are you sure you want to do this?”. Usually reason for this issue is that PHP file upload size limit is set to very low (2MB or even lower).
There are multiple ways to fix this issue, but we can recommend to use .htaccess method:
- Open the .htaccess file in the root folder of your WordPress installation
- Add the following code and save it
php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300
Notice: in some shared hosting this method may not work. In that case you should contact your hosting support and ask them to do it for you.
If that doesn’t solve your issue, then you should try other solutions mentioned in this article.