Fixing ‘The Link You Have Followed Has Expired’ Error

This error usually appears when you try to upload a WordPress theme or plugin from the WordPress admin area.
It typically happens because your server settings don’t allow large uploads or long execution times.

You can fix this using one of the methods below.


Method 1: Increase Server Limits via .htaccess

You can fix this error by increasing the upload and execution limits in your .htaccess file.

  • Connect to your website using an FTP client or the File Manager in cPanel.

  • Open the .htaccess file (it is located in the root folder of your WordPress installation).

Screenshot_3.png

  • Add the following code at the bottom of the file:
 
php_value upload_max_filesize 128M php_value post_max_size 128M php_value max_execution_time 300 php_value max_input_time 300
  1. Save the changes and try uploading your plugin or theme again.

Note: If you are on a shared hosting plan, some hosts may not allow modifying PHP settings via .htaccess

In that case, contact your hosting provider.


Method 2: Upload the Plugin or Theme via FTP

If adjusting server limits doesn’t work, you can upload the plugin or theme manually.

  1. Extract the plugin/theme archive to your desktop or another folder.

  2. Upload the folder to your WordPress directory using an FTP client:

    • Plugins: /wp-content/plugins/

    • Themes: /wp-content/themes/

  3. Activate the plugin or theme in your WordPress admin dashboard.

Screenshot_4.png


Tip: Using FTP is often faster and avoids server timeout issues for large files.

 

This error usually occurs when you try to upload a WordPress theme or plugin to your website from the WordPress admin area.

Have more questions? Submit a request