Home Experience & Tips Sharing Standard Post

Standard Post

WordPress Upload and Install Theme Error „The link you followed has expired“ Solution

When we build foreign trade websites with WordPress, we usually purchase premium WP themes, and these theme installation packages are relatively large. Uploading and installing them in the backend may show the prompt „The link you followed has expired,“ indicating that the link has expired. This issue is caused by upload size limitations. As shown in the image below:...

Posted on May 28, 2020 About 3 minutes reading
WordPress上传安装主题提示“The link you followed has expired”解决办法

When we use WordPress to build a foreign trade website, we usuallypurchase premium WP Themes, and these theme installation packages can be quite large. Uploading/installing them via the Admin Dashboard may result in a „The link you followed has expired" prompt, indicating the link is invalid or expired. This issue is caused by upload size limitations. As shown in the figure below:

The link you followed has expired

Problem Diagnosis

We can select Media from the left menu in the WP Admin, then choose Add. You will see an interface like the one shown in the figure below.

WP上传文件大小

At the bottom left of the upload page, there is information about the maximum file upload size. You can see it is currently only 8M, while the theme file is 17M, so the upload will fail.

Solution

The solution is simple: we just need to modify the configuration file to increase the upload file size limit.

The specific method is as follows:

1. In the Admin Dashboard plugin installation interface, install a File Manager Plugin. (You can also upload it via the Shared Hosting management backend, but it's a bit more troublesome and may confuse beginners, so we'll handle it directly in the WP Admin here.)

wp file文件管理插件

2. Activate the File Manager Plugin you just installed, navigate to the website root directory (the root directory for Shared Hosting is usually public_html), find the .htaccess file, right-click and select Code Editor.

WP文件管理插件使用

3. Enter the following content in the editing window, then save.

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

编辑配置文件

4. After the modification is complete, your server upload size will be changed to 64MB, and then reinstalling the Theme will no longer prompt the „The link you followed has expired“ error.

Other Solutions

Most virtual host environments use Apache, so the corresponding configuration file is .htaccess.

If you find that you cannot locate the .htaccess file, it may be that you are not using an Apache server. In that case, you can use the following methods to handle it.

Create a php.ini file

Create a text file locally with the following content, save it as php.ini, and upload it to the website root directory (if you find this file already exists in the root directory, just edit it directly).

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

编辑php.ini

Modify via Baota Panel Backend

If you are usingBaota Panel, then find the website in the backend, click on the website's settings, select modify configuration, increase the upload size, and save.

3.2/5 - (9 votes)
Previous How to Conduct Keyword Research for Foreign Trade Independent Websites? Keyword Mining Methods (2021) Continue reading content around the same timeline. Next Why Can't Plugins and Themes Be Installed in WordPress Installed via SiteGround? View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: