How to Fix The Link you Followed Has Expired on WordPress

Wordpress

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission at no extra cost to you.

While “the link you followed has expired” is a disappointing challenge to have, it’s not something that can’t be fixed. 

In subsequent writing, we will outline the possible causes of the error, and how to fix it.

What Causes “The link you have followed has expired” Error

The error message “The link you follow has expired” usually pops up when you’re trying to upload a file (plugin it theme) that exceeds the maximum file size limit set by your hosting provider.

Hosting providers usually do this to optimize the site size and/or speed as multiple uploads with larger file sizes can take a toll on the site.

How to fix “the link you followed has expired” error on WordPress

There are generally three ways to have this fixed, but then there’s a fourth that’s oftentimes more long-lasting.

  • Increase the Limits in the functions.php File

This is the fastest method, but often gets reset if you switch or update themes. To do this, simply open the functions.php file in your WordPress theme editor and paste the code below.

define(‘WP_MAX_UPLOAD_SIZE’, ‘100M’);

define(‘WP_MEMORY_LIMIT’, ‘128M’);

You can choose to replace the values of the Max upload size and Memory limit to suit your preference.

  • Increase the Limits in the .htaccess File

The .htaccess File is a hidden file that contains configuration settings for your website. To increase the file upload limit using this file, add the following code to it.

php_value upload_max_filesize 100M

php_value post_max_size 100M

php_value memory_limit 128M

  • Increase the Limits in the php.ini File

Just open the file in a text editor and find the following lines.

upload_max_filesize = 8M

post_max_size = 8M

memory_limit = 64M

Next, you want to have them replaced with your preference.

  • Increase Limits Using WPcode

This is usually the most efficient method because, unlike the functions.php method, it won’t reset when you change or update your theme.

First, you need to have  WP Code installed. The. Navigate through Code Snippets >> Add Snippet >> Add your Custom Code.

On the core type, make sure you have the PHP snippet selected, then input the following code.

@ini_set( ‘upload_max_size’ , ‘120M’ );

@ini_set( ‘post_max_size’, ‘120M’);

@ini_set( ‘max_execution_time’, ‘300’ );

You may increase the values to what will allow your files to upload correctly. Next, you want to toggle on the code snippet to make it active.

  • Update your PHP Version

Although it’s not talked about enough, an outdated PHP Version can lead to this error message popping up. In fact, using WordPress is generally a challenge if your PHP version isn’t updated, as such, we recommend you do it first before considering other troubleshooting measures.

  • Check for Conflicting Plugins

If after you have tried all the possible solutions and you’re still facing this problem, you may want to check if the issue isn’t related to plugin conflicts. 

To do this, simply install the Health Check and Troubleshooting plugin. Then in the WordPress admin, navigate through Tools >> Site Health >> Troubleshooting. Finally, click on Enable troubleshooting mode. This will deactivate all your plugins and switch to the default theme.

You can then start switching everything on one after the other to spot the plugin that’s causing the issue.

Related:

Is Wordpress A Ui Designer
Is WordPress good for UI Design?

The plain answer is “No, WordPress is not a UI designer.” However, it’s not all that simple as there’s some subtle connection between WordPress and some UI designers – for one, both design/develop what end users see. The fact that

website-design-storyboard
What is a Storyboard in Web Design?

Every aspect of developing a website, from ideation to conception must be thoroughly planned and organized. All technicalities must be concisely observed if the end result is going to be a fully functional and elegant-looking Website that speaks great user

What Is Elementor Tool
What is Elementor Tool?

Elementor is one of the most powerful and free WordPress drag-and-drop website builders that enable you to create stunning WordPress websites quickly and easily. While the default WordPress editor is suitable for basic blog posts, it lacks design options and

Food And Restaurant Web Design Service In Lagos Nigeria
Food & Restaurant Web Design Service

Nigeria’s culinary world is getting more vibrant and tantalizing. Fastly growing to an energetic terrain where both local and international cuisines are widely celebrated and savoured. If your business exists in this industry, then having a strong online presence for

Does Ui Design Require Coding
What is included in UI Design?

User interface (UI) design, is the process of creating visual and interactive elements of a digital product. This is essentially the entire layout and navigation that’s made available to the end user. To better grasp what’s included in UI design,

Your Reliable Real Estate Web Design Agency
7 Types of Real Estate Websites

Every industry and sector needs a combination of several digital marketing strategies to thrive today. Real estate sector inclusive is one of the markets that will experience more growth trend due to the adoption of digital marketing methodologies. Creating a

Food And Restaurant Web Design Service In Lagos Nigeria
Food & Restaurant Web Design Service

Nigeria’s culinary world is getting more vibrant and tantalizing. Fastly growing to an energetic terrain where both local and international cuisines are widely celebrated and savoured. If your business exists in this industry, then having a strong online presence for

Who Founded Wordpress
How to Change “Just another WordPress site”

Having the WordPress site’s default tagline may be catchy for the company, but it often looks unprofessional to WordPress website owners operating a specific brand with the platform. If you’re using a WordPress version before 6.1, you’re most likely going

Elementor
How to Add OTF Fonts In Elementor?

Using custom fonts in Elementor can significantly enhance the visual appeal of your website. While Elementor offers a variety of Google Fonts, you might want to use your own custom OTF (OpenType Font) files to maintain brand consistency. Step One:

Where Can A Web Designer Work In Nigeria
Where Can a Web Designer Work in Nigeria?

Just as the web design profession is perceived to be lucrative being a professional service, so is its job opportunity surplus for those who are experienced and skilled to deliver their prospect’s job requirements and specifications. A well-trained web designer

How Can I Become A Web Designer In Nigeria
How Can I Become a Web Designer in Nigeria?

If you opened this article looking for how to become a web designer in Nigeria, you’ve made the right choice. Not only is web development a very lucrative profession, it is one of the few ones that also gives its

Is Web Design Profitable In Nigeria
Is Web Design Profitable in Nigeria?

Web design is arguably the most flexible and lucrative occupation in the tech industry. Being a profession that can be run entirely remotely, the ability to set up contracts in a market where prices aren’t regulated, and potentially pay you