When we use WordPress to build a foreign trade website, we usually
purchase 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:

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.

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.)

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.

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

Modify in Baota Panel backend
If you are using
Baota Panel, then find the website in the backend, click on the website's settings, select Modify Configuration, increase the upload size, and save.
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.