Latest Blogs

News
Hi guys, Halloween 2019 is just around the corner. To celebrate this spooky occasion, TemPlaza's so happy to offer you an amazing discount that is applied to some of our featured items including Joomla Templates and WordPress Themes&nb...
2783 Hits
News
Today, we are so excited to inform you that we have recently updated and released new versions of some WordPress themes. In these new versions, we've added some fixes and new layouts as well. Please take a closer look at these changes mentioned below...
1532 Hits
News
Usually, when mentioning about "Creative", some people often think about artists prominently like painters or musicians. In fact, creativity can be pictured more than that. It also includes graphic designers, photographers, marketing agencies. I...
1117 Hits
Articles
Nowadays, mobile devices and social networks are on the rise. People tend to go to the internet in order to search everything by using their handy devices like mobile phones, tablets. As a result, single-page design is regarded as the most popular we...
671 Hits
News
Hi folks, Today, we would like to inform you that we have recently released then updated versions of some Joomla templates, that contain some fixes and improvements. Thanks to users' feedback, we addressed the problems on time so ...
569 Hits
how-to-fix-the-link-you-followed-has-expired-error

How to Fix “The link you followed has expired” Error

Have you ever faced the error: "The link you followed has expired"? In fact, WordPress users find this problem when they are trying to upload a theme or plugins. So how can we fix this error? In the scope of this article, we are going to find out solutions to fix this error easily. Let's roll the details.

Essentially, there is a setting controlling the size of files uploaded from the WordPress Admin area and a setting to stop scripts from running too long as well. In fact, these limits help to protect your site and improve the overall performance. However, when the file you are uploading exceeds the maximum size or it takes a long time to upload, the problem occurs. There are several ways to fix this problem.

1. Increase limits in functions.php file

By this way, you add the following code to the WordPress Theme's functions.php file:

@ini_set( 'upload_max_size' , '120M' );

@ini_set( 'post_max_size', '120M');

@ini_set( 'max_execution_time', '300' );

In these lines, you can increase the upload_max_size and post_max_size to be larger than the file you are uploading. Also, increasing the max_execution_time is very useful in case it takes a long time to upload the file.

However, the downside is that when you change the theme, these changes will be reset to the old limits.

2. Increase limits in .htaccess file

Another way is to edit the .htaccess file. Connecting to your website via FTP, you can fix the issue by adding the following lines to the bottom of the .htaccess file:

php_value upload_max_filesize 128M

php_value post_max_size 128M

php_value max_execution_time 300

php_value max_input_time 300

Save the file and check the problem on your site again.

3. Increase limits in php.ini file

To look for this file, you need to connect your site via FTP Client account. In case you are on a shared hosting account, you may not find this file, but you can create a blank php.ini file and upload to the site's root folder.

Then, in this file, add the following code:

upload_max_filesize = 128M

post_max_size = 128M

max_execution_time = 300

4. Contact the hosting provider

In case you want to avoid any other unexpected problem, the simplest way is to contact the hosting provider and wait. They can help you fix this error quickly.

After trying one of the methods above, you can visit your site and upload file again.

We hope that this article is useful for you when you need to fix "The link you followed has expired" error. Share the post so that you can save others from troubles.

Release Jollyany 3.1.0 with new features, updates ...
10 Best Multipurpose Joomla Templates 2019