🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

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

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 Shared Hosting environments use Apache, so the corresponding configuration file is .htaccess. If you find that you cannot locate the .htaccess file, you might not be using an Apache server. In that case, we 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.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

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