If you are installing your theme from the WordPress theme installer, but get a message that says The link you followed has expired, most likely your web server is configured with low PHP settings that only allow a certain size ZIP file to be uploaded via WP admin.
Most hosting companies configure their servers to only have the maximum file upload size limit at 2-10 MB, some are less. The Moon Shop theme ZIP is currently about 16 MB in size which is due to the included plugins and all the demo content. So if you get this error, your web server is rejecting the upload due to the overall size of the moon-shop.zip file. You need to increase the upload size from your server. WordPress is, unfortunately, giving you a rather ambiguous message in response. This is not a theme issue or bug.
There two ways to solve this problem.
- You can get your web host to increase your PHP limits so a larger zip file is allowed to be uploaded. They will know which limits to set if you explain the issue.
- You can upload your theme via FTP.
Recommended PHP configuration limits are as follows:
- memory_limit 256M
- max_input_vars 3000
- max_execution_time 300
- post_max_size 64M
- upload_max_filesize 64M