WordPress is one of the most popular content management systems (CMS) used to create websites. However, like any other software, WordPress can encounter errors that can be frustrating to users. One of the most common errors that WordPress users face is the “The link you followed has expired” error. This error message can appear when users try to upload files, images, or plugins to their WordPress site.
This error message can be caused by a variety of reasons, such as server configuration issues, large file sizes, PHP settings, or plugin conflicts. However, there are several ways to fix this error, and in this article, we will discuss some effective solutions to solve the “The link you followed has expired” error in WordPress.
Solution 1: Increase the Upload Size Limit
One of the most common reasons for the “The link you followed has expired” error is due to the size limit set by the server for uploading files. To fix this, you can increase the upload size limit by editing the php.ini file. Follow these steps:
Step 1: Login to your hosting account, and open the cPanel dashboard.
Step 2: Scroll down to the “Software” section and click on the “Select PHP Version” option.
Step 3: Click on the “Switch to PHP Options” button.
Step 4: Locate the “upload_max_filesize” and “post_max_size” options and increase their values to a larger limit, such as 64M or 128M.
Step 5: Click on the “Save” button to save the changes.
Solution 2: Increase the Memory Limit
Another reason for the “The link you followed has expired” error is due to the memory limit set by the server. To increase the memory limit, follow these steps:
Step 1: Access the wp-config.php file by using FTP or cPanel file manager.
Step 2: Add the following line of code just before the “That’s all, stop editing! Happy blogging” line copy
define( 'WP_MEMORY_LIMIT', '256M' );
Step 3: Save the changes and upload the wp-config.php file back to the server.
Solution 3: Disable ModSecurity
ModSecurity is a security module that can sometimes interfere with the uploading process, resulting in the “The link you followed has expired” error. To disable ModSecurity, follow these steps:
Step 1: Log in to your hosting account and access the cPanel dashboard.
Step 2: Locate the “Security” section and click on the “ModSecurity” option.
Step 3: Click on the “Off” button to disable ModSecurity.
Step 4: Try uploading the file again to see if the error is resolved.
Solution 4: Deactivate Plugins
Sometimes, plugins can conflict with each other, causing the “The link you followed has expired” error. To determine if a plugin is causing the error, you can deactivate them one by one until you find the culprit. Follow these steps:
Step 1: Login to your WordPress dashboard and click on the “Plugins” option.
Step 2: Deactivate all the plugins installed on your website.
Step 3: Try uploading the file again to see if the error is resolved.
Step 4: If the error is resolved, reactivate each plugin one by one until you find the plugin causing the error.
Solution 5: Contact Your Hosting Provider
If none of the solutions mentioned above work, you should contact your hosting provider to see if they can assist you in fixing the error. They may be able to adjust server settings or identify other issues that may be causing the problem.
In conclusion, the “The link you followed has expired” error is a common error in WordPress, and it can be caused by various factors
Leave a Reply