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

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

In this article, we will learn about the topic How To Fix “The Link You Followed Has Expired” Error in WordPress? There are many ways to short out this problem. Among them, we will show you how to easily fix ‘the link you have followed has expired’ error in WordPress.

‘The link you followed has expired’ error in WordPress? This type of error does not give any clue about the problem what actually has happened. There are many reasons to cause such type of error but among them, one reason is limitation size in file uploading or image uploading in the project.

We can solve such type of problem in the following ways:

Method 1. Increasing limits in functions.php file

This method is easier but sometimes it may not support our theme. By adding the following code in your WordPress theme’s functions.php file.

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

You can also increase the values in upload_max_size and post_max_size to be more than the file you are trying to upload. You will also increase the max_execution_time to the time you think that it would take more time for the file to upload.

Don’t forget to save your changes and upload the file back to your website.

Method 2. Fix by increasing limits in .htaccess file

If you don’t want to add code in your theme functions.php file then you can try this second method. For this method you need to add the following code in .htaccess file of your project.

1. php_value upload_max_filesize 128M
2. php_value post_max_size 128M
3. php_value max_execution_time 300
4. php_value max_input_time 300

Don’t forget to save your changes and upload the file back to your website.

Method 3. Fix by increasing limits in php.ini file




Copyright © 2020-2021 Engineer Jagat All rights reserved. Developed by Ravindra Rana