How To Fix “The Link You Followed Has Expired” WordPress Error
The “The link you followed has expired” error in WordPress can occur for several reasons. Still, a problem with the upload process or a PHP configuration issue usually causes it. Here are a few steps you can take to try and fix this error:
- Increase the PHP Memory Limit: The error may be caused by a lack of memory available to your WordPress site. You can try increasing the memory limit by adding the following line to your wp-config.php file: define(‘WP_MEMORY_LIMIT’, ‘256M’);
- Check your PHP version: Some versions of PHP have been known to cause issues with file uploads. Check that your server is running a compatible version of PHP by going to the “Updates” section of your WordPress dashboard. Recommended PHP version id 7.4.x.
- Check your file upload size limit: The error may be caused by a file upload size limit that’s set too low. You can check the current limit by looking at the “upload_max_filesize” value in your php.ini file. If the limit is set too low, you can increase it by editing the file and updating the value.
- Check your plugin and theme: Sometimes, the error may be caused by a plugin or theme. You can try disabling all your plugins and switching to the default WordPress theme to see if the error goes away.
- Check for corrupted files: Sometimes, the error may be caused by corrupted files. You can try replacing the corrupted files with fresh copies from a new download of WordPress.
- Clear your browser cache: Sometimes, the error may be caused by cached data in your browser. Try clearing your browser cache and cookies and uploading the file again.
- Check your server’s file permissions: The error may be caused by incorrect file permissions on your server. You can check your server’s file permissions by accessing your site via FTP and making sure that the files and folders have the correct permissions.
By following these steps, you should be able to fix the “The link you followed has expired” error in WordPress. If the error persists, it may be best to reach out to your web host or a WordPress developer for further assistance.