Why You See ‘The Link You Followed Has Expired’ During Plugin Upload
This error usually occurs when the file size of the plugin exceeds the maximum upload size set by your hosting server. It can also be due to timeout limits being too low for the upload to complete.
1. Increase Upload and Timeout Limits
Edit your .htaccess file and add the following lines:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
2. Alternatively, Update php.ini
If you have access to php.ini, increase the values as follows:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
max_input_time = 300
3. Modify wp-config.php
As another option, edit wp-config.php and add:
@ini_set('upload_max_size', '64M');
@ini_set('post_max_size', '64M');
@ini_set('max_execution_time', '300');
4. Upload via FTP as a Workaround
- Extract the plugin ZIP on your computer.
- Upload the extracted folder to
wp-content/plugins/using FTP. - Activate the plugin via your WordPress dashboard.
Need Help?
If server configuration isn’t your thing or the error persists, the WPFix247 team can take care of it in minutes and ensure plugin uploads work without errors.