How to Fix the Link You Followed Has Expired Error in WordPress: Easy Solutions

How to Fix the Link You Followed Has Expired Error in Wordpress
How to Fix the ‘Link You Followed Has Expired’ Error in WordPress

If you use WordPress, you may see an error. This error says, “The link you followed has expired.” This can be frustrating. Don’t worry. We can fix it. This guide will show you how.

How to Fix the Link You Followed Has Expired Error in WordPress: Easy Solutions

Credit: rankmath.com

Why Does This Error Happen?

This error happens because of two reasons. First, the file you are uploading is too big. Second, the upload time is too long. WordPress has limits. These limits can cause this error.

File Size Limit

WordPress has a file size limit. If your file is too big, you will see this error. You need to increase the file size limit.

Upload Time Limit

WordPress also has an upload time limit. If the upload takes too long, you will see this error. You need to increase the upload time limit.

How to Fix the Error

There are three main ways to fix this error. You can edit the functions.php file. You can edit the .htaccess file. You can also edit the php.ini file. Let’s look at each method.

Method 1: Edit the functions.php File

The functions.php file is part of your theme. You can add code to this file. This code will increase the file size and upload time limits.

  1. Log in to your WordPress dashboard.
  2. Go to Appearance > Theme Editor.
  3. Find the functions.php file on the right side.
  4. Add this code at the end of the file:

@ini_set('upload_max_size', '64M');
@ini_set('post_max_size', '64M');
@ini_set('max_execution_time', '300');

  1. Click Update File to save your changes.

This code will increase the file size limit to 64MB. It will also increase the upload time limit to 300 seconds.

Method 2: Edit the .htaccess File

The .htaccess file is part of your server. You can add code to this file. This code will increase the file size and upload time limits.

  1. Log in to your hosting account.
  2. Go to the File Manager.
  3. Find the .htaccess file in your root directory.
  4. Add this code at the end of the file:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

  1. Save your changes.

This code will increase the file size limit to 64MB. It will also increase the upload time limit to 300 seconds.

Method 3: Edit the php.ini File

The php.ini file is part of your server. You can add code to this file. This code will increase the file size and upload time limits.

  1. Log in to your hosting account.
  2. Go to the File Manager.
  3. Find the php.ini file in your root directory.
  4. Add this code at the end of the file:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

  1. Save your changes.

This code will increase the file size limit to 64MB. It will also increase the upload time limit to 300 seconds.

How to Fix the Link You Followed Has Expired Error in WordPress: Easy Solutions

Credit: www.bluehost.com

What If These Methods Don’t Work?

Sometimes, these methods may not work. Don’t worry. There are other options.

Contact Your Hosting Provider

Your hosting provider can help. They can increase the file size and upload time limits for you. Contact them and explain the problem. They will know what to do.

Use A Plugin

You can also use a plugin. Some plugins can increase the file size and upload time limits for you. One popular plugin is “Increase Max Upload File Size”.

  1. Log in to your WordPress dashboard.
  2. Go to Plugins > Add New.
  3. Search for “Increase Max Upload File Size”.
  4. Click Install Now and then Activate.
  5. Go to Settings > Increase Max Upload File Size.
  6. Set the file size limit to 64MB.
  7. Save your changes.

This plugin will increase the file size limit for you.

Frequently Asked Questions

What Causes The “link You Followed Has Expired” Error?

The error is caused by file upload limits or server timeout settings.

How Can I Increase The File Upload Limit In WordPress?

Edit the php. ini file to increase the upload_max_filesize and post_max_size values.

Can I Fix The Error Via The .htaccess File?

Yes, you can modify the. htaccess file to change PHP settings.

How Do I Edit The Php.ini File In Cpanel?

Navigate to the MultiPHP INI Editor in cPanel and adjust the settings.

Conclusion

The “Link You Followed Has Expired” error is common. It happens because of file size and upload time limits. You can fix it by editing the functions.php, .htaccess, or php.ini files. If these methods don’t work, contact your hosting provider or use a plugin. Now you know how to fix this error. Happy blogging!

Leave a Reply

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

Iqbal hossen Juel

A seasoned marketing professional with over a decade of experience in digital and traditional marketing. Currently serving as Digital Experience Lead at Starcom, He brings a unique blend of strategic marketing expertise and technical knowledge to the table. With a passion for programming and design, he offers a distinctive perspective that bridges the gap between marketing strategy and technical implementation.

Our Review Process:

We test and review software products based on an independent, multi-point methodology. If you use our links to purchase something, we earn a commission. Read our editorial process and disclosures.

Ultimate Collection Of

Business Tools

A collection of business related Tools and resources that every business owner should have!

Table of Contents

Related Posts

Best Ai Chatbot
Best Ai Chatbot: Revolutionizing Customer Engagement
Best AI Chatbot What is an AI Chatbot? An AI chatbot is a computer program. It talks with humans using...
Read More
Best Comic Making App
Best Comic Making App: Unleash Your Creativity Today!
Best Comic Making App Do you love comics? Do you want to make your own? Today, we will talk about the...
Read More
Content Optimization: Boost Your Rankings with Proven Strategies
Ever wonder why some pages skyrocket on Google while others flop? Content optimization is the secret...
Read More
Best Clothes Editor
Best Clothes Editor: Transform Your Wardrobe Instantly
Best Clothes Editor Editing clothes in photos can be fun. It can also be useful. Many apps and tools...
Read More