How to Fix The link you followed has expired WordPress issue

In this tutorial, Quam.cc will learn you step by step how to fix the link you followed has expired WordPress issue so, you can upload themes and plugin with the larger size.

0
297

How to Fix The link you followed has expired WordPress issue

When you trying to upload new WordPress theme Apperance>Themes>Add>Upload the following message my appears “The link you followed has expired”.

The link you followed has expired
The link you followed has expired

What are the causes of this error

This message is displayed because your server settings for upload max size or maximum memory are not well configured.

How To Fix The Error

To fix this error all you have to do is to increase the maximum upload size and the execution time for your WordPress website, and there are many methods to do that Quam will show you step by step how to fix the issue.

Backup your WordPress website and save copies of any files before making any edits to the core WordPress files.

Method 1. Edit PHP.ini File.

PHP.ini file can be created via Cpanel easily go to https://yourdomain:2083 and enter your credentials.

login cpanel
Log in Cpanel.

After logging in Cpanel, under section Software, you will find MultiPHP INI Editor.

MultiPHP INI Editor
Cpanel: MultiPHP INI Editor.

Under Basic Mode: Configure PHP INI basic settings Select your domain as a location for php.ini file the path will be like this Path /home/yourdomain/public_html/php.ini.

Increase the values of the following items then click apply:

  • Upload_max_filesize
  • Post_max_size
  • Max_execution_time
  • Max_input_time

Method 2. Edit .htaccess File

The .htaccess is a core WordPress file, also it is a configuration file you can edit it to enable or disable further features and functionality to WordPress.

To edit .htaccess you can use Filemanager in Cpanel or FTP in this tutorial, we will use Cpanel.

Log in your Cpanel>> Files>> File Manager>> Public_html.

On the public.html folder, you’ll see the .htaccess file. Right-click on this file and choose Edit.

Edit  .htaccess file in Cpanel
Edit .htaccess file in Cpanel.

Copy the following code and paste it at the end of the file the click save.

php_value upload_max_filesize 128M
php_value post_max_size 128
php_value max_execution_time 500
php_value max_input_time 500

Summary

The previous two methods should fix your issue, and now you can upload WordPress themes and plugins in large size without problems.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.