Error Message: “Are you sure you want to do this?”
This message appears because your maximum upload size limit is less than the size of the theme file you are trying to upload.
For example, if your upload limit is set to 2MB and your theme’s zip file is 10MB, the upload will fail.
Increase Upload Limit via Hosting (php.ini)
- Locate the php.ini file inside the wp-admin directory (if you can’t find this file ask hosting for support)
- Find this line in the php.ini file “upload_max_filesize = 2M” and replace it with a higher value (e.g. “upload_max_filesize = 64M”)
- You may also want to increase your max post size. Look for this line in your php.ini file “post_max_size” and increase it as well.
- Save the changes to the file inside your wp-admin directory.
- Try the upload again
- If you still have issues, look for this file in your root directory and make the same changes.
Install the Theme/Plugin via FTP
If you can’t increase the upload limit or prefer a different method:
- Use FTP to manually upload the theme or plugin.