Scroll to top
USA
651 N Broad St, Suite 206,
MiddleTown, New Castle,
Delaware - 19709
Canada
635 Ashprior Avenue,
Mississauga, Ontario,
Canada - L5R3N6
India
34, Shiwanshu Bunglows
Vadodara, Gujarat - 390007

How To Fix “The Link You Followed Has Expired” Error In WordPress

29 / 100

WordPress websites are used by a lot of people around the world, and sometimes due to traffic or malfunctions, errors are common. The most common error faced by users and owners is “the link you follow has expired”. This usually happens when you try to download the themes from the WordPress dashboard. 

how to fix

Another reason for the same might be uploading huge files (larger than the default limit). Well, the good thing is that you can overcome this problem by increasing the limit of the default storage. Now, a major question that arises is what can cause this error?                                  

For all those who are to use WordPress for the first time, and face this kind of problem should open the dashboard, go to media, select add new page option. There you will see a default upload size set by WordPress.

link is expired wordpress

However, the sizes are not the same and vary according to website hosting services. Most web hosting plans set their limit in and around 100 Mb as the maximum and the minimum around 25 Mb. So, the problem usually occurs while selecting the plugins and themes.                            

You can always try using the website with a larger uploading size. But also make sure that the execution time is managed well. Cause, if not, then the same problem will occur repeatedly. It can also give space to some fatal damage, harming the website.

By just increasing the default size, not all your problems come to an end. There are many other ways to do so. To increase the limit of uploading files, you will need some core editing skills in WordPress. 

Before doing so, make sure you backup all your files and make copies of the same so that you don’t lose it. Just before we start, remember that if one method does not work, reverse or undo the changes and then try another way.

Here is the list of the top 3 methods to overcome WordPress errors.

Method 1- Edit .htaccess File

edit .htaccess file

You can edit this file the way you want and can have access to the code which can help you for the further setup. To edit the files, you will have to connect with WordPress files in your server and get access to the CPanel. You can also do it with the help of an FTP app.

Step 1- Entering the cPanel

If you are not able to get access to CPanel, then simply type the same in the search bar given at the end of your domain name. Once you get access to CPanel, enter your ID and password.

cPanel in WordPress

 

Step 2- Access to file manager:

The next step is to open the file manager app. It will lead you to the public.html option. Once you click on that, you will find a folder. Open it.

wp file manager
Step 3- Copy the Code:

Once you open the public.html folder, right-click on it. You will see the option of a .htaccess file. Again right-click on it and choose edit. Copy and paste your lines of code at the very end of the .htaccess file.

WP file manager
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

Save when you’re done. This method works most of the time and fixes all the errors, if not, try the other method.                                                                           

Method 2- Increasing limits in function.php file

Just remember, if you change the themes in the middle of the process, the limit will again go back to the old one.. Just like the previous method, function.php  also works on the code system which is supposed to be typed below the domain name.

edit function.php in WordPress

While typing the code, make sure you increase the value of the size. You will also need to increase the execution time according to how much time will be taken by the file to get uploaded. Try doubling the value so that no obstacles come in between.

1
2
3
@ini_set( ‘upload_max_size’ , ‘120M’ );
@ini_set( ‘post_max_size’, ‘120M’);
@ini_set( ‘max_execution_time’, ‘300’ );

 Method 3- Increasing the limits in php.ini

In this method, you will need to use an FTP client and open the php.ini file. You should open the file in the site’s root folder. An advantage of using this method is that you can share your hosting account with others who are facing the same problem as you. In such situations, you can upload your stuff on the notepad or any plain text editor.

increase limits in php.ini

Again, you will have to enter the code and set your size and time execution according to the needs of your files. Once you are done, save your draft and back it up on another website. 

So, now we come to an end of our list of the different methods that can be used to overcome the “link you followed has expired” error. All these methods are tried and tested and work seamlessly. 

1
2
3
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300

If you found this article helpful, let us know in the comments section below. And make sure you follow WP Uber for the latest updates on themes and plugins. 

WP Uber is a WordPress management agency that provides detailed site health reports and customized security solutions for WordPress sites. 

Author avatar
Tim Michaels
I am into WordPress and web development for the last 10 years. I use my experience to help people just starting with WordPress. Follow my blog at WP Uber for everything related to WordPress.
We use cookies to give you the best experience.
Do NOT follow this link or you will be banned from the site!