How to fix “the link you followed has expired” WordPress

A typical error that occurs when attempting to upload themes and plugins through the WordPress dashboard is the link you followed has expired WordPress.

Typically the error occurs when your file is greater than the default WordPress upload and execution limit. The only way to overcome this dilemma is to lift the normal upload limits.

In this guide, in a few simple steps, we will teach you How to fix the link you followed has expired WordPress by yourself.

Reason to Get fix the link you followed has expired WordPress Error

You’ll find that by default, WordPress has a set upload size limit, which prohibits you from uploading larger files. You’ll need to open the WordPress dashboard and go to Media >> Add New tab.

How to fix the link you followed has expired WordPress

These sizes vary depending on how you host the web. Although managed WordPress hosting providers set a default size limit of over 100 MB, smaller shared hosting schemes will limit their size to 25 MB. Usually, this cap forbids you from uploading big themes and plugins

Even if your website is of a greater upload size maximum, WordPress sometimes doesn’t upload larger files if your website is operating for a time. This is where you discover fatal errors and other particular problems like the link you followed have expired WordPress.

How to fix the link you followed has expired WordPress Error

All you have to do is increase your upload size and runtime for your Website to correct the fix the link you followed has expired WordPress. For this, the WordPress core file needs to be modified, and some lines of code to be copied. It is feasible in various forms.

Disclosure: Backup and copy your website before making further adjustments to core WordPress files.

Method 1: Modify .htaccess File

The .htaccess file is a WordPress core file. This file can be modified and our code copied to change WordPress’s default upload limit.

To update the text, you must have access to your server’s WordPress folders. We will teach you how to use the CPanel to navigate the API. However, an FTP client app can also be used.

  • Login to CPanel via your hosting account
  • Search & Open File Manager
  • Open the public.html folder.
  • Inside public.html, you will surely find the .htaccess file.
  • Right-click on this file and choose Edit
How to fix the link you followed has expired WordPress Error
  • Now Copy and Paste the code given below at the end of the .htaccess file’s code
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
  • Click Save when you are finished

Typically this approach solves the mistake. Try the next approach if it doesn’t work.

Method 2: Create A file with PHP.ini

You will build and upload a PHP.ini file in the server to fix the problem when editing .htaccess file does not function.

Some hosting servers generate a PHP.ini file in your server automatically. Follow the detailed steps for navigating to the.html public folder on your server in the previous process, and see if your server already has a PHP.ini register.

Otherwise, let’s construct one.

1. Create A file with PHP.ini

You must build a PHP.ini file on your computer locally and then upload it to your server. Next, open a blank notepad, copy and paste the code lines below:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

Then save your note as PHP.ini file and pick “All Files” file form.

How to fix the link you followed has expired WordPress Error
2. Upload The PHP.ini File

Go to your public.html server and back to your server. Then install the PHP.ini file on your computer that you have made.

This corrects the mistake and raises the upload size to 64 MB.

Sum Up

These approaches should solve the problem and allow you to use the WordPress dashboard to upload themes and plugins of greater sizes.

That being said, there could be limitations on some shared hosting services to discourage you from uploading massive data. Contact the hosting company to ask for their assistance if the problem continues.

That’s it. We hope you learned How to fix the link you followed has expired WordPress Error easily. And for the visitor who asked us to write an article on How to Update WordPress, we have a dedicated article on this.

If you have any suggestions or queries, do comment and help us improve more.

Leave a Comment