I created a one-click digitalocean wordpress droplet. Wordpress has been setup, but I am unable to upload a theme that is about 45mb.
I keep getting the error: The link you followed has expired. Please try again.
I have followed this article to update the php.ini file and even created a .htaccess file, but the issue persists.
Please I need help figuring out how to resolve this.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This is most likely related to the maximum upload file size value. Can you confirm which is the current value set on your end? You should see the value listed on the upload page in the WordPress admin area bellow the Upload New Media window.
You can either increase the limit via php.ini file, the .htaccess or via the functions.php file
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300
@ini_set( 'upload_max_size' , '120M' );
@ini_set( 'post_max_size', '120M');
@ini_set( 'max_execution_time', '300' );
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 300
php_value max_input_time 300
The .htaccess file method is less used and I’ll recommend you try the first two methods.
Let me know if you have any questions.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.