In this article we are going to present a solution when theme installation issue happens with following error “link you followed has expired”
This issue mostly happens due to your website host configuration , two major parameter which should be modified are “Maximum upload size” and “Maximum post size” , there are different approaches to modify those settings
Approach 1 : Editing Wp-config
First please use any ftp client to connect to your website FTP server ( you can ask about FTP credentials from your host admins ) or use your host panel file manager to access core files , now in WordPress installation path look for wp-config.php , make a copy just to have a backup and then edit the original file and add following codes before /** Sets up WordPress vars and included files. */ section
- ini_set( ‘upload_max_size’ , ’64M’ );
- ini_set( ‘post_max_size’, ’64M’);
- ini_set( ‘memory_limit’, ’64M’ );
Save the file and then check your website admin panel >> media >> add new and check for maximum upload file size as shown in following image
Approach 2 : Editing php.ini
First please use any ftp client to connect to your website FTP server ( you can ask about FTP credentials from your host admins ) or use your host panel file manager to access core files , now in WordPress installation path look for php.ini ( create one if there is no file named that ) , edit that file and add following code into it
- upload_max_filesize = 64M
- post_max_size = 64M
- memory_limit = 64M
Save the file and then check your website admin panel >> media >> add new and check for maximum upload file size
Approach 3 : Editing .htaccess
First please use any ftp client to connect to your website FTP server ( you can ask about FTP credentials from your host admins ) , now in WordPress installation path look for .htaccess create a backup from that file by downloading it in your system or making a copy on the host , edit that file and add following code into it
- php_value upload_max_filesize 64M
- php_value post_max_size 64M
Save the file and then check your website admin panel >> media >> add new and check for maximum upload file size
Approach 4: Using Plugin
In this scenario you need to use third party plugins which is named Increase Max Upload Filesize , you can install and activate that plugin from admin panel >> add new as shown in following image
Access the setting panel of that plugin by visiting admin panel >> setting >> Increase Maximum Upload File Size and choose the proper maximum upload size
Save changes and then check again to see if maximum upload size has been changed or not
Approach 5 : Contact Host Administrator
You can contact your host administrator and they will take care of the rest , and then you can check again if the changes have been applied or not and then try to install our theme again