Problem:

When installing a new theme in appearance > themes > add new, the following message can sometimes be displayed :


The link you followed has expired.


This message is displayed because your server settings for upload max size or maximum memory are not well configured.

Solution:

Don’t worry, this is a common issue, very easy to fix.

If you are unable to find the settings of PHP / memory then contact your hosting provider to do it for you. This is their job, it takes just 5 minutes to do it.

Show them a screenshot of your error, or email them the error message. Ask them to help by increasing the following values, until you are able to install your theme or upload your image.

memory_limit
upload_max_size
post_max_size
upload_max_filesize
max_execution_time
max_input_time

If you know how to change the PHP and memory settings of your server then change PHP and memory settings preferably to the following values. Most hosting companies provide a way to change the values from the hosting control panel.

memory_limit = 256
upload_max_size = 64M
post_max_size = 64M
upload_max_filesize = 64M
max_execution_time = 300
max_input_time = 1000