How to Fix “Link Expired” Error When Uploading a Theme or Plugin in WordPress

Seeing the “Link Expired” error when uploading a WordPress theme or plugin? This post explains why it happens and how to fix it by increasing server limits or uploading manually.

If you’re uploading a theme or plugin to your WordPress site and encounter the message:

“The link you followed has expired.”
Don’t worry — this is a common error that usually happens because the file you’re uploading exceeds your server’s current upload limits.

This happens often with premium themes (like the Brick theme) or large plugins

Why This Error Happens?

WordPress has upload size and execution time limits, which are controlled by your server’s PHP settings. If the file size exceeds those limits, the upload fails and shows the “Link Expired” message.

How to Fix “Link Expired” Error When Uploading a Theme or Plugin in WordPress

Method 1: Increase PHP Limits

To allow larger uploads, increase the following values in your server’s PHP configuration:

				
					upload_max_filesize = 64M  
post_max_size = 64M  
max_execution_time = 300
				
			

You can do this using one of the following methods:

Option A: Add to .htaccess

  1. Go to the root folder of your WordPress installation.
  2. Edit or create a file called .htaccess.
  3. Add this code:
				
					php_value upload_max_filesize 64M  
php_value post_max_size 64M  
php_value max_execution_time 300

				
			

Option B: Edit php.ini (if your host allows it)

  1. Locate your php.ini file.
  2. Add or update the following:
				
					upload_max_filesize = 64M  
post_max_size = 64M  
max_execution_time = 300
				
			

Method 2: Upload the Theme or Plugin Manually

If you don’t want to change server settings, you can upload the theme or plugin manually.

For Themes:

  1. Extract the .zip file on your computer.

  2. Upload the extracted folder to:

				
					/wp-content/themes/
				
			

Use an FTP client (like FileZilla) or your hosting file manager.

  1. Log into WordPress and go to Appearance > Themes.
  2. Find the theme and click Activate.

For Plugins:

  1. Extract the plugin .zip on your computer.
  2. Upload the extracted folder to:
				
					/wp-content/plugins/
				
			

Use an FTP client (like FileZilla) or your hosting file manager.

  1. Log into WordPress and go to Plugins > Installed Plugins.
  2. Find the plugin and click Activate.

Conclusion

The “Link Expired” error might be frustrating, but it’s easy to fix. Either increase your upload limits or use manual upload — both methods work great.

Still have questions? Leave a comment below and I’ll be happy to help!

Leave a Comment

Shopping Cart
Scroll to Top

Black Friday

Sale

Limited Time Offer!

Unlock
Lifetime Membership

60% Off!

Days :
Hours :
Minutes :
Seconds

— Access to 3,000+ Premium Plugins & Themes for life —

Unlock Lifetime Membership
20% Off!

$129 $69 $55.20

Use Discount Code: SAVE20

Or