Latest Blogs

News
Hi guys, It's Cyber Monday. TemPlaza offers you a 40% Discount on several premium products including Joomla templates and WordPress themes. This big deal will end today. As a result, throw your hesitation away and shop your favorite items now. Don't ...
382 Hits
News
Hi guys, When it comes to the end of the year, it also means the holiday season is just around the corner. Interestingly, moreover, Black Friday is so close. Once in a blue moon, this will be the biggest shopping event of the year in which you can bu...
1121 Hits
News
Hi folks, Nowadays, events and conferences have become so popular, so many people have a high interest on becoming a professional event organizers. If you are one of them, you certainly need to expand your event organization to an entirely new level....
687 Hits
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...
3383 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...
1884 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