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

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

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

The link you followed has expired

Troubleshooting

We can select Media from the left menu in the WP Admin Dashboard, 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.

as the free Let’s Encrypt SSL certificate nears expiration.

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 backend Plugin installation interface, install a File Manager plugin. (You can also upload via the Shared Hosting management backend, but it's a bit more troublesome and might confuse beginners, so we'll handle it directly in the WP backend here.)wp file文件管理插件2. Activate the File Manager plugin you just installed, navigate to the website root directory (for Shared Hosting, this is usually Public_html), find the .htaccess file, right-click and select Code Editor.WP文件管理插件使用3. In the editing window, enter the following content and 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. 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 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 in 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 instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about 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 to Follow