How to Fix "The Link You Followed is Expired" Error in WordPress

How to Fix "The Link You Followed is Expired" Error in WordPress

If you've ever uploaded a theme or plugin to WordPress and encountered the "The link you follow has expired" error, this article is for you. In this article, we'll dive into the causes of this error and how to fix it to make sure you can upload your files without being bothered by this issue.

Why do I get the error "The link you are following has expired"?

This error usually appears when you try to upload a file, such as installing a WordPress theme or plugin, or uploading a media file. This error is prompted because the WordPress hosting provider has set a limit on the file upload size. When you upload a fileExceeding this limitThis error occurs when the

How to Fix "The Link You Followed is Expired" Error in WordPress

Checking upload file size limits

You can navigate in the WordPress admin dashboard to the Media → Add New, view "Maximum upload file size" to find out the current limitations. Often, the limit is too small to upload, which may not be enough to support some of the larger theme or plugin files.

How to Fix "The Link You Followed is Expired" Error in WordPress

If the current limit is not sufficient, you can increase the upload file size limit by doing the following:


Method 1: Edit the functions.php file

This can be done through the theme's functions.php file to increase the upload file size limit. Please follow the steps below:

  1. Login WordPress DashboardThe
  2. Navigate to Appearance → Theme EditorThe
How to Fix "The Link You Followed is Expired" Error in WordPress
  1. In the list of files on the right hand side find functions.php and click to open it.
  2. Add the following code snippet to the end of the file:
@ini_set( 'upload_max_size' , '128M' ); @ini_set( 'post_max_size', '128M' ); @ini_set( 'max_execution_time', '300' ).

This code snippet will set the upload file size and maximum execution time to 128MB and 300 seconds respectively, you can adjust these values as needed. Before making any changes, it is recommended to backup your files to prevent loss.

How to Fix "The Link You Followed is Expired" Error in WordPress

Method 2: Modify the .htaccess file

How to Fix "The Link You Followed is Expired" Error in WordPress

.htaccess The file is located in the root folder of the WordPress installation directory. Please follow the steps below:

  1. Access using an FTP client or file manager .htaccess Documentation.
  2. show (a ticket) .htaccess file, add the following code at the end 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

After saving the file, the new restrictions will take effect immediately. Edit .htaccess Care needs to be taken with the files, as any incorrect input may result in the site not functioning properly.


Method 3: Modify the php.ini file

If your host allows access to the php.ini file, you can increase the upload limit by modifying this file. The procedure is as follows:

  1. Use a file manager or FTP client to find the php.ini file and open it.
  2. Find the following line and change the value:
upload_max_filesize = 128M post_max_size = 128M max_execution_time = 300 max_input_time = 300

After you save your changes, you sometimes need to restart the Web server for them to take effect.

How to Fix "The Link You Followed is Expired" Error in WordPress

Method 4: Update PHP version

Older versions of PHP It may cause incompatibility with the WordPress core or plugins and may even lead to this error. To check and update the PHP version:

  1. In the WordPress dashboard, navigate to the Tools → Site Health → Information → ServersTo view the current version of PHP, click here.
How to Fix "The Link You Followed is Expired" Error in WordPress
  1. Update the PHP version according to your hosting provider's specific guidelines and check that the site functions properly after the update.

Method 5: Check for plug-in conflicts

Plugin conflicts may cause upload errors. You can check this by following the steps below:

  1. Navigate to Plugins → Installed Plugins, deactivate all plugins.
How to Fix "The Link You Followed is Expired" Error in WordPress
  1. Re-enable the plug-ins one by one, checking if there are still errors after each enable.
  2. If it is determined that a plugin is causing the error, try updating the plugin or contacting the developer for support.

summarize

"The link you are following is out of date" errors usually stem fromInsufficient upload limitBy adjusting the functions.php,.htaccess maybe php.ini The parameters in the file will fix it.


Contact Us
Can't read the article? Contact us for a free answer! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
Posted by photon fluctuations, retweeted with attribution:https://www.361sale.com/en/21400/

Like (1)
Previous 4 days ago
Next 3 days ago

Recommended

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service