Skip to main content

WP Error Fix - The Link You Followed Has Expired

 WP Error Fix - The Link You Followed Has Expired

 


 



This WordPress error is common and mostly it comes when we try to upload a theme or plugins. WordPress gives this error because by default our server have fixed limit for max file upload , post size etc and because of this reason , when we try to upload a large size file PHP generates error like this.

How to solve this error WP Error Fix - The Link You Followed Has Expired


To solve this issue, we need to increase php size limit and we have several ways to do this

1. fix 'The Link You Followed Has Expired' wp error using .htaccess file


This is the best and easy solution to fix this error and increase memory limit, post size, upload size etc.

First go to your root directory of your project and check if you have .htaccess file exist or not, if its exist then edit it and add below code at the end of the file or if you do not have a .htaccess file in root directory then create a new one and edit and paste below code in it.


php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value max_input_time 300
php_value max_execution_time 300

Now save the file and try to upload theme now. Great now it will work :)


2. Solve 'The Link You Followed Has Expired' wp error using functions.php file


We can solve this error by theme's function.php file. Unzip your theme file and edit functions.php and add below code in it


@ini_set( 'post_max_size', '120M');
@ini_set( 'upload_max_size' , '120M' );
@ini_set( 'max_execution_time', '300' );

Now save , zip it again and upload it on your wordpress admin panel. Now it will upload and install.

3. Increase memory limit, post size through php.ini


If you have server access and can edit php.ini file then open it and search for below values one by one and increase values and save php.ini.


upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300


If you have shared hosting then you do not have access of php.ini so check in cpanel , if your server provider company providing you option to edit php.ini file or if not then create a php.ini in your root directory and your server will read it automatically.


Thanks for reading.

Related Links

WP Error Fix - The Link You Followed Has Expired
How to solve The Link You Followed Has Expired error in wordpress
Wordpress increase memory limit
WP How to solve theme upload error









Comments

Post a Comment

Popular posts from this blog

Run and compile sass scss file to css using node

  Today we learn how to use scss and generate css using node  or Run and compile sass scss file to css using node   So please follow simple  steps :-   Today we will create a project that can read scss file and generates css with it  Note: Make sure you have installed node in your system. If you want to help to install node js based on your system then check our other tutorial or check node js official website. Now create a blank folder and open  terminal(linux) or cmd(windows) and navigate to your current project folder by using cd command Now run below command npm init after enter it will ask you some package info that you can fill according to you or just keep enter until it finished. The above command will generate package.json file Now  we will install npm module that will convert our scss to css Run below command: npm install node-sass So we have installed node-sass package . Now open package.json file in your...

How to retrieve Facebook Likes, share , comment Counts

function facebook_count($url){     // Query in FQL     $fql  = "SELECT share_count, like_count, comment_count ";     $fql .= " FROM link_stat WHERE url = '$url'";     $fqlURL = "https://api.facebook.com/method/fql.query?format=json&query=" . urlencode($fql);     // Facebook Response is in JSON     $response = file_get_contents($fqlURL);     return json_decode($response); } $fb = facebook_count('https://www.facebook.com/BahutHoGyiPadhai'); // facebook share count echo $fb[0]->share_count;  echo "like"; // facebook like count echo $fb[0]->like_count ; echo "comment"; // facebook comment count echo $fb[0]->comment_count;  ?>

Solution-windows 'expo' is not recognized as an internal or external command

Solution for expo is not recognized as an internal or external command,operable program or batch file in Windows 10 Sometimes expo will not work globally mostly in windows 10, If you are facing same issue then follow the below Steps 1) Click on windows button and search for  " Environment variables"  and click on "Edit the system environment variables" 2) Now you will see a popup like below screen. Then you need to click on Environment Variables. (Please see highlight part in below image)     3)Then click on new button that i have highlighted in below image 4. Then a popup will open and you need to fill details like below mentioned Variable Name :Path Variable Value: %USERPROFILE%\AppData\Roaming\npm Here we are creating a new path variable and passing location of npm.   Now Click on OK and close all the terminal windows and open new CMD or terminal and type Expo . Great now you can access expo from any...