Random posts

How to fix The link you followed has expired WordPress



You are importing images, themes, and plugins naturally without success, and it says The hyperlink you accompanied has expired. Don’t worry. This is a frequent WordPress error, and you will be capable to restoration it in this tutorial.



 Causes of this error:


The PHP model configuration in Hosting is constrained to the most add measurement (usually the essential cause).

The internet site supply code consists of a command line that limits the most add measurement (which hardly ever happens). 

How to check your allowed upload size

Go to your site administrator, click Library on the menu and select Upload; you will see your permitted transfer size. Contrast and the subject or module record you need to transfer, is it lower?


To fix this blunder, you really want to utilize one of the ways beneath.

Edit PHP version configuration

This is the easiest way to restoration The hyperlink you observed has expired error. And I advocate the use of this approach first.

Step 1: Access the Cpanel administration of the web hosting you are using. 
 

Step 2: Go to Select PHP Version.

Step 3: Click Switch To PHP Options in the right corner.

Step 4: You need to find the lines post_max_size and upload_max_filesize and fix them to how much transfer size you need. Don’t forget to click the Save button.

Upload files directly to hosting

Step 1: Login your Cpanel manager, and click on File Manager icon.



Step 2: Deep open the public_htnl/wp-content folders . If you upload a theme, go to the themes folder, upload a plugin, and go to plugins. Then choose the upload button above.


Step 3: Upload your zip file.



Step 4: Refresh the theme or plugins folder page you recently upload (F5). Then Right-click on the zip file and click Extract.



If there is a message appearing, select the Extract File button. Then remember to delete the zip file so as to reduce the space used on your hosting.



Fix the code in WordPress to allow higher downloads

You try one of the following ways to insert the code to fix The link you followed has expired. WordPress.

Edit the .htaccess file

Open the public_html/ directory, and edit the .htaccess file in your hosting and put the following line of code in the last row.

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

Edit the php.ini file

Also, in public_html/ folder, edit it to add this paragraph if you see the php.ini file. If you don’t have that file, you can create it yourself.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

Edit the theme’s function.php file in use.

Go to the path public_html/wp-content/themes/your-theme/ find the file function.php to edit and add this line of code.

@ini_set( 'upload_max_size' , '150M' );
@ini_set( 'post_max_size', '150M');

Epilogue

One error but many ways to fix it anyway can fix The link you followed has expired. Did this article help you?



Comments
No comments
Post a Comment



    Reading Mode :
    Font Size
    +
    16
    -
    lines height
    +
    2
    -