Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Web Server » Fix WordPress Error “The Link You Followed Has Expired”
  • xxxxxx
    How to make a screenshot of Windows 10 Screen / Login Screen Windows
  • FEAUREanydesk
    How to install AnyDesk on a Linux Machine Linux
  • How to Check what files are taking up space
    How to Check what files are taking up space on Windows 11 Windows
  • veeamcmce 2
    A review of the VMCE training and certification Backup
  • VRAM on Windows 1
    Check the Size of Video Random Access Memory (VRAM) in Windows Windows
  • Install ROOT CA Enterprise
    How to Install ROOT CA Enterprise and NPS Wifi Certificate Windows
  • Windows BootProcess
    Measured Boot, Secure Boot, Trusted Boot, and Early Launch Anti-Malware: How to secure the Windows 10 boot process Security | Vulnerability Scans and Assessment
  • Trellix configurations after ePo setup
    ePO Server Settings: Trellix ePO AD integration and ENS Agents Installation Security | Vulnerability Scans and Assessment

Fix WordPress Error “The Link You Followed Has Expired”

Posted on 31/03/202322/11/2023 Temitope Odemo By Temitope Odemo No Comments on Fix WordPress Error “The Link You Followed Has Expired”
Wordpress-banner

This WordPress error is not new to people who regularly work on WordPress themes. The good news is that it’s an error that has a solution that can easily be implemented. This error does not give a complete description of the exact problem. This can be challenging for any rookie on WordPress to fix quickly. In this article, you will learn how to fix WordPress Error “The Link You Followed Has Expired”. Please see how to Integrate a WordPress site with WP Telegram, and how to fix “There has been a critical error on this website, please check your site admin email inbox for instructions“.

This issue may be caused a time due to the file upload limit that existed or was defined. I will be showing you different ways to resolve this issue. Though some will require you to change some lines of code, you do not need to be a professional developer before you can do this because it’s simple and direct. Please see the YouTube video below on how to Fix the WordPress Error “The Link You Followed Has Expired”

The below shows the response you get when an issue exists. Here are some exciting articles: WordPress site on Azure: How to create a website hosted in Azure, Deploy WordPress on Azure App Service: How to install MySQL, and Part 1: SimpleSAMLphp Setup on Windows Serve.

The-Link-you-followed-as-expired

Resolve WordPress error “The Link You Followed Has Expired”

1. Open the functions.php File to fix the Link you followed has expired. This file exists on every WordPress theme and it’s editable. But note that once you change your theme any changes you make on the file will return to default. This is a good approach to use if you do not change the theme regularly. To resolve this issue, locate and edit the functions.php file.

functions.php-location

and paste the following code into it:

@ini_set( 'upload_max_size' , '100M' );
@ini_set( 'post_max_size', '100M');
@ini_set( 'max_execution_time', '350' );

Confirm you change upload_max_size, post_max_size and max-execution-time values to the exact sizes that will allow for a file to be uploaded.

Save the changes to the file and check if the error still pops out.

functions.php-file

If you want to read more on WordPress check these posts: How to Install and Configure WordPress on Your Windows Computer Using WAMP SERVER, How to Install and Setup WordPress into a cPanel and Configure Your First WordPress Theme,

Recommendation for changing functions.php file

1: The first recommendation is that you should use low values but try to increase the values just to correct the error.

2: The second recommendation is to have a shorter execution time and a smaller upload size. A hacker will find it difficult to upload large files to cause havoc to the WordPress website.

2. Open the .htaccess File.

The .htaccess file is used for web server configuration. Locate the .htaccess file in the root folder or the public_html directory for your website files.

htaccess-file-location

Open the file with an editor and paste the following lines of code before the line with # BEGIN WordPress  or # END WordPress, save the file after pasting.

php_value upload_max_filesize 120M
php_value post_max_size 120M
php_value max_execution_time 300
php_value max_input_time 300
htaccess-file-edit

This is the best option if you change your theme regularly and as earlier recommended only change this value when u need to fix this type of error.

3. Open the php.ini File to fix The Link You Followed Has Expired

In case the above steps did not work then you can use the php.ini file. This file is a PHP and WordPress configuration file. This file is located on the server in the /public_html folder or the root folder. But if you are on a shared hosting server then you will not see this file.

The image below shows where the php.ini file is located on a local WAMP Server

php.ini-file-on-a-WAMP-Local-server

The image below shows where the php.ini file is located on a local XAMPP Server

php.ini-file-on-a-XAMPP-Local-server
If this file already existed on your hosting server that is not shared just edit it but if it does not exist, then you need to create a blank php.ini file in your website’s root directory using a text editor like Notepad or Notepad++. 

After the creation of this file, you can paste the following code into it:

upload_max_filesize = 150M
post_max_size = 150M
max_execution_time = 350
Creating-a-php.ini-file

4. Update your PHP Version

Another major cause of this issue is when you are using an outdated PHP version. PHP has regularly been updated and it is very easy to update your current PHP version. Just navigate to your cPanel PHP manager like the image below and open it.

Opening-PHP-Manager

You will be surprised to see your current PHP Version with a Deprecation warning.

What is Deprecation?

Deprecation means there is no longer official support for a software version but encourages the use of a newer or better version.

The image below shows the different PHP Versions that are no longer supported.
cPanel-MultiPHP-Manager

Please note that this deprecated version will still works well with your old WordPress theme the issue is that it will give errors with newer versions of the WordPress themes and Plugins. Another danger these deprecated versions can cause is security problems if care is not taken.

If you are using a modern WordPress Theme, it is recommended you use the latest PHP version.

The image below still shows all the websites are currently using a deprecated PHP Version 7.4 and need to be updated immediately.

PHP-Deprecated-Version-still-in-use

Updating PHP Version

In the PHP Version dropdown select the newer version and click on Apply button, immediately you will receive a success message of the new PHP version.

The image below now shows the PHP Version now updated to the latest version of PHP 8.1

PHP-Version-Updated-Successfully

After the update, you can now reconfirm if the issue of “The Link You Followed Has Expired” still occurs. The PHP update may be the lasting solution to the problem.

5. Debugging WordPress Error

Running your WordPress in Debug Mode can fix a lot of issues that are not clear to you. All you need to do is access the cPanel and open the public_html directory. Then, open the WordPress configuration file called wp-config.php using the edit button. Search for WP_DEBUG and change the false to true.

Debugging-WordPress-Error

6. Check for conflicts in the installed plugins.

This issue can also be because of conflicts in the installed plugins and once discovered then you need to uninstall the plugin.

7. Report back to your Hosting Provider.

After trying all these steps and the issue still exists it is recommended you contact your hosting provider.

Summary on fixing WordPress Error “

Having followed the above steps, the WordPress Error “The Link You Followed Has Expired has been expired. if you are having issues resolving this in your environment, please let me know in the comment section.

I hope you found this blog post fix WordPress Error “The Link You Followed Has Expired” Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section. Kindly refer to this YouTube video below for more information.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Web Server

Post navigation

Previous Post: How to Migrate from TrueCrypt to BitLocker
Next Post: How to Generate SSH keys in Windows 11

Related Posts

  • banner
    How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
  • IIS
    How to Change the Log File Directory location in IIS Web Server
  • WAMP errors
    Apache errors associated with WAMP installation for TeamPass Web Server
  • Install Lets Encrypt Certificate on Windows with Certbot
    Install Lets Encrypt Certificate on Windows with Certbot Web Server
  • Setup FSx File System 1
    Create and mount FSx File System: Join EC2 instance to AWS Managed AD AWS/Azure/OpenShift
  • CAL Removal
    How to Remove and Manage RDS Licenses Web Server

More Related Articles

banner How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
IIS How to Change the Log File Directory location in IIS Web Server
WAMP errors Apache errors associated with WAMP installation for TeamPass Web Server
Install Lets Encrypt Certificate on Windows with Certbot Install Lets Encrypt Certificate on Windows with Certbot Web Server
Setup FSx File System 1 Create and mount FSx File System: Join EC2 instance to AWS Managed AD AWS/Azure/OpenShift
CAL Removal How to Remove and Manage RDS Licenses Web Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • xxxxxx
    How to make a screenshot of Windows 10 Screen / Login Screen Windows
  • FEAUREanydesk
    How to install AnyDesk on a Linux Machine Linux
  • How to Check what files are taking up space
    How to Check what files are taking up space on Windows 11 Windows
  • veeamcmce 2
    A review of the VMCE training and certification Backup
  • VRAM on Windows 1
    Check the Size of Video Random Access Memory (VRAM) in Windows Windows
  • Install ROOT CA Enterprise
    How to Install ROOT CA Enterprise and NPS Wifi Certificate Windows
  • Windows BootProcess
    Measured Boot, Secure Boot, Trusted Boot, and Early Launch Anti-Malware: How to secure the Windows 10 boot process Security | Vulnerability Scans and Assessment
  • Trellix configurations after ePo setup
    ePO Server Settings: Trellix ePO AD integration and ENS Agents Installation Security | Vulnerability Scans and Assessment

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,832 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.