504 error - Are you sure you want to do this?

In wordpress if you receive either of the following errors when trying to upload a theme...

504 error

"Are you sure you want to do this?"


Add the following code to your public_html/.htaccess file...
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

If the public_html/.htaccess file does not exist, be sure that you have "View hidden files" enabled in your File Manager's settings. Then create the .htaccess file if it does not show. Then add the code.

 


Share this page:


Was this article useful? Have any suggestions or improvements to the information?

Also Read

How to disable WordPress comments, pingbacks and trackbacks

Now days pingbacks and trackbacks are mostly SPAM when it comes to WordPress. To disable them...

WordPress error "This file cannot be imported. It may be caused by file_uploads being disabled in your php.ini".

The following error may be received if you attempt to upload a theme or file larger than the...

Quickly Disable All WordPress Plugins via phpMyAdmin

Before beginning, be sure to have a backup of your database. Then, login to your database using...

Install WordPress on Host

With Ultra Web Hosting you can install WordPress on your hosting account with us in seconds....

The WordPress app doesn't work with my website

The WordPress app utilizes the xmlrpc.php file on your account put there by WordPress. However, a...