{"id":77886,"date":"2023-02-10T10:40:03","date_gmt":"2023-02-10T10:40:03","guid":{"rendered":"\/tutorials\/?p=77886"},"modified":"2025-04-27T10:08:43","modified_gmt":"2025-04-27T10:08:43","slug":"link-you-followed-has-expired-error-wordpress","status":"publish","type":"post","link":"\/in\/tutorials\/link-you-followed-has-expired-error-wordpress\/","title":{"rendered":"How to Fix \u201cThe Link You Followed Has Expired\u201d Error in WordPress (3 Methods)"},"content":{"rendered":"<p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/Mega-WordPress-Cheat-EN.pdf\" target=\"_blank\" rel=\"noopener\">Download all in one WordPress cheat sheet<\/a><\/p><p>Error messages may appear in WordPress from time to time, whether it&rsquo;s a database connection error or a critical error.<\/p><p>One common WordPress error message is <strong>The link you followed has expired<\/strong>. Unfortunately, this error message doesn&rsquo;t tell you the cause, and the link only takes you back to the previous page.<\/p><p>This article will explain why the <strong>The link you followed has expired <\/strong>error message occurs and three ways to fix it.<\/p><p>\n\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-causes-the-link-you-followed-has-expired-error\">What Causes &ldquo;The Link You Followed Has Expired&rdquo; Error?<\/h2><p>The<strong> The link you followed has expired<\/strong> error often shows up after you upload a theme or plugin that exceeds the file size upload limit. Hosting providers usually have upload size and execution time limits in their PHP settings to improve server performance.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/The-the-link-you-followed-has-expired-error-message.png\"><img decoding=\"async\" width=\"975\" height=\"192\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/The-the-link-you-followed-has-expired-error-message.png\/public\" alt=\"The the link you followed has expired error message\" class=\"wp-image-77888\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-the-link-you-followed-has-expired-error-message.png 975w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-the-link-you-followed-has-expired-error-message-300x59.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-the-link-you-followed-has-expired-error-message-150x30.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-the-link-you-followed-has-expired-error-message-768x151.png 768w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/a><\/figure>\n<\/div><p>This limitation can hinder you when uploading certain files, themes, or plugins. You can see the current upload limit on your WordPress admin panel via <strong>Media &rarr; Add New<\/strong>.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size.png\"><img decoding=\"async\" width=\"975\" height=\"446\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size.png\/public\" alt=\"WordPress upload new media panel, with highlighted information of maximum upload file size\" class=\"wp-image-77889\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size.png 975w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size-300x137.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size-150x69.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-upload-new-media-panel-with-highlighted-information-of-maximum-upload-file-size-768x351.png 768w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/a><\/figure>\n<\/div><p>Note that <strong>The link you followed has expired<\/strong> is not the only error message you may get when uploading large files that exceed the size limit. For example, if you try to upload a media file, you may get the <strong>image.jpg exceeds the maximum upload size for this site<\/strong> error banner.<\/p><h2 class=\"wp-block-heading\" id=\"h-3-ways-to-fix-the-link-you-followed-has-expired-error\">3 Ways to Fix &ldquo;The Link You Followed Has Expired&rdquo; Error<\/h2><p>Fixing the <strong>The link you followed has expired<\/strong> error message requires <a href=\"\/in\/tutorials\/how-to-increase-the-maximum-file-upload-size-in-wordpress\/\">increasing the maximum file upload size<\/a>. Let&rsquo;s see three ways to do it.<\/p><h3 class=\"wp-block-heading\" id=\"h-1-increase-limits-in-the-functions-php-file\">1. Increase Limits in the functions.php File<\/h3><p>The first method to fix <strong>The link you followed has expired<\/strong> is by modifying the <strong>functions.php<\/strong> file. This may be the easiest method, as you can edit theme files directly from the WordPress admin area. Follow these steps to do so:<\/p><ol class=\"wp-block-list\">\n<li>Navigate to <strong>Appearance &rarr; Theme File Editor<\/strong>. For block theme users, go to <strong>Tools &rarr; Theme File Editor<\/strong>.<\/li>\n\n\n\n<li>You&rsquo;ll see a list of theme files in the right sidebar. Select the <strong>functions.php<\/strong> file.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar.png\"><img decoding=\"async\" width=\"1100\" height=\"778\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar.png\/w=1024,h=1024,fit=scale-down\" alt=\"WordPress theme file editor interface, with the highlighted theme functions option in the right sidebar\n\" class=\"wp-image-77891\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar.png 1100w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar-300x212.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar-1024x724.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar-150x106.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/WordPress-theme-file-editor-interface-with-the-highlighted-theme-functions-option-in-the-right-sidebar-768x543.png 768w\" sizes=\"(max-width: 1100px) 100vw, 1100px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Add the following code snippet. Adjust the value of <strong>php_value upload_max_filesize<\/strong> as you like.<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">@ini_set( 'upload_max_size' , '120M' );\n@ini_set( 'post_max_size', '120M');\n@ini_set( 'max_execution_time', '300' );<\/pre><ol class=\"wp-block-list\" start=\"4\">\n<li>Scroll down to the bottom and click the <strong>Update File<\/strong> button.<\/li>\n<\/ol><p>You can also access the <strong>functions.php <\/strong>file using an FTP client or the web hosting file manager. Go to <strong>\/public_html\/wp-content\/themes<\/strong> path and open the folder of your currently active theme. Then, open and edit the <strong>functions.php<\/strong> file.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory.png\"><img decoding=\"async\" width=\"1239\" height=\"568\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory.png\/w=1024,h=1024,fit=scale-down\" alt=\"Hostinger file manager showing the active theme directory\" class=\"wp-image-77892\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory.png 1239w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory-300x138.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory-1024x469.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory-150x69.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-showing-the-active-theme-directory-768x352.png 768w\" sizes=\"(max-width: 1239px) 100vw, 1239px\" \/><\/a><\/figure>\n<\/div><p>Note that this modification only applies to the active theme. If you switch to another WordPress theme, the configurations will revert to the default upload limits.<\/p><p>\n\n\n<div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                <strong>Important!<\/strong> Any update to the theme will delete modifications made to <strong>functions.php<\/strong>. To edit theme files while keeping it up-to-date, consider <a href=\"\/in\/tutorials\/how-to-create-wordpress-child-theme\/\">creating a child theme<\/a>.\n            <\/p><\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-2-increase-limits-using-the-htaccess-file\">2. Increase Limits Using the .htaccess File<\/h3><p>The next method is editing the <a href=\"\/in\/tutorials\/create-default-wordpress-htaccess-file\/\"><strong>.htaccess<\/strong> file<\/a> &ndash; a hidden file in your website&rsquo;s root directory that allows you to include additional configuration. Follow these steps to increase the file upload size limit through the <strong>.htaccess<\/strong> file.<\/p><ol class=\"wp-block-list\">\n<li>Access your site&rsquo;s <strong>public_html <\/strong>directory via an FTP client or the web hosting file manager. If you use an FTP client like <strong>FileZilla<\/strong>, show hidden files by enabling the <strong>Server &rarr; Force showing hidden files<\/strong> option.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/FileZilla-interface-showing-the-server-drop-down-menu-and-highlighted-force-showing-hidden-files-option.png\"><img decoding=\"async\" width=\"514\" height=\"205\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/FileZilla-interface-showing-the-server-drop-down-menu-and-highlighted-force-showing-hidden-files-option.png\/public\" alt=\"FileZilla interface showing the server drop-down menu and highlighted force showing hidden files option\" class=\"wp-image-77893\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/FileZilla-interface-showing-the-server-drop-down-menu-and-highlighted-force-showing-hidden-files-option.png 514w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/FileZilla-interface-showing-the-server-drop-down-menu-and-highlighted-force-showing-hidden-files-option-300x120.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/FileZilla-interface-showing-the-server-drop-down-menu-and-highlighted-force-showing-hidden-files-option-150x60.png 150w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Find and open the <strong>.htaccess<\/strong> file.<\/li>\n\n\n\n<li>Add the following code snippet:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">php_value upload_max_filesize 128M\nphp_value post_max_size 128M\nphp_value max_execution_time 300\nphp_value max_input_time 300<\/pre><ol class=\"wp-block-list\" start=\"4\">\n<li>Adjust the value of <strong>php_value upload_max_filesize<\/strong> as you like. For example, if you want to set a <strong>128 MB <\/strong>limit, the line should be <strong>php_value upload_max_filesize 128M<\/strong>. It should look like this:<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/The-content-of-the-.htaccess-file.png\"><img decoding=\"async\" width=\"929\" height=\"445\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/The-content-of-the-.htaccess-file.png\/public\" alt=\"The content of the .htaccess file\" class=\"wp-image-77894\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-content-of-the-.htaccess-file.png 929w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-content-of-the-.htaccess-file-300x144.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-content-of-the-.htaccess-file-150x72.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/The-content-of-the-.htaccess-file-768x368.png 768w\" sizes=\"(max-width: 929px) 100vw, 929px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"5\">\n<li>Save the file and go back to your WordPress dashboard to verify the new upload limit.<\/li>\n<\/ol><h3 class=\"wp-block-heading\" id=\"h-3-increase-limits-in-the-php-ini-file\">3. Increase Limits in the php.ini File<\/h3><p>The last option is to define the <a href=\"\/in\/tutorials\/php-maximum-upload-size\/\">maximum file size in the <strong>php.ini<\/strong> file<\/a>. It is the WordPress PHP configuration file that&rsquo;s located in the site&rsquo;s root folder. It allows you to increase <a href=\"\/in\/tutorials\/wordpress-memory-limit\/\">PHP memory limit<\/a> and resources.<\/p><p>Unfortunately, most shared hosting plans don&rsquo;t have this file in the <strong>public_html <\/strong>folder. In some cases, it&rsquo;s available, but the hosting provider doesn&rsquo;t let you edit the file. To alleviate this, create a new <strong>php.ini <\/strong>file using a plain text editor and upload it to your hosting account.<\/p><p>In the following steps, we will use Hostinger&rsquo;s hPanel as an example. However, the steps should be similar for other hosting control panels.<\/p><ol class=\"wp-block-list\">\n<li>Log in to hPanel and select <strong>File manager<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button.png\"><img decoding=\"async\" width=\"1134\" height=\"603\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button.png\/w=1024,h=1024,fit=scale-down\" alt=\"Hosting account dashboard on hPanel with the highlighted file manager button\" class=\"wp-image-77895\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button.png 1134w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button-300x160.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button-1024x545.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button-150x80.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hosting-account-dashboard-on-hPanel-with-the-highlighted-file-manager-button-768x408.png 768w\" sizes=\"(max-width: 1134px) 100vw, 1134px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Open the <strong>public_html <\/strong>folder and click <strong>New file <\/strong>in the left sidebar.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button.png\"><img decoding=\"async\" width=\"938\" height=\"496\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button.png\/public\" alt=\"Hostinger file manager interface with the highlighted new file button\" class=\"wp-image-77896\" style=\"width:840px;height:444px\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button.png 938w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button-300x159.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button-150x79.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/Hostinger-file-manager-interface-with-the-highlighted-new-file-button-768x406.png 768w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>A pop-up will appear to name the new file. Type <strong>php.ini <\/strong>and click <strong>Create<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"\/in\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/02\/New-file-pop-up-with-php.ini-file-name-written.png\"><img decoding=\"async\" width=\"397\" height=\"242\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/New-file-pop-up-with-php.ini-file-name-written.png\/public\" alt=\"New file pop-up with php.ini file name written\" class=\"wp-image-77897\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/New-file-pop-up-with-php.ini-file-name-written.png 397w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/New-file-pop-up-with-php.ini-file-name-written-300x183.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2023\/02\/New-file-pop-up-with-php.ini-file-name-written-150x91.png 150w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/a><\/figure>\n<\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>The text editor will open. Copy and paste the following code snippet:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">upload_max_filesize = 128M\npost_max_size = 128M\nmax_execution_time = 300<\/pre><ol class=\"wp-block-list\" start=\"5\">\n<li>Click the <strong>Save<\/strong> button at the top-right corner.<\/li>\n<\/ol><p>\n\n\n        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Pro Tip                <\/p>\n            <\/div>\n            <p class=\"protip__content\">Make sure your WordPress site is running the latest PHP version to prevent compatibility issues. Check out our guide on <a href=\"\/in\/tutorials\/how-to-change-your-php-version\/\">changing the PHP version<\/a>. <\/p>\n                    <\/div>\n        \n\n\n<figure class=\"wp-block-image size-large\"><a href=\"\/in\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>The <strong>The link you followed has expired <\/strong>WordPress<strong> <\/strong>error message is usually triggered by uploading a theme or plugin that exceeds the maximum file size limit. It is one of several errors that are caused by the file size upload limit.<\/p><p>These limits are usually set by WordPress hosting companies. Fortunately, you can easily override or change the configuration using one of the following methods:<\/p><ul class=\"wp-block-list\">\n<li>Add additional code to the theme&rsquo;s <strong>functions.php <\/strong>file. This is the easiest method, as the file is accessible via the WordPress admin area. However, you&rsquo;ll lose the configuration if you switch themes.<\/li>\n\n\n\n<li>Configure the limits via the <strong>.htaccess<\/strong> file. This method is suitable if you want to keep WordPress files unchanged.<\/li>\n\n\n\n<li>Create a <strong>php.ini <\/strong>file in the root directory. This method lets you include an additional PHP configuration that increases the file size limit.<\/li>\n<\/ul><p>If you are unsure about modifying these files, create backups first. So if anything goes wrong when you <a href=\"\/in\/tutorials\/debug-wordpress\/\">debug WordPress<\/a>, use the backup files to revert to the website&rsquo;s previous configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error messages may appear in WordPress from time to time, whether it&rsquo;s a database connection error or a critical error. One common WordPress error message is The link you followed has expired. Unfortunately, this error message doesn&rsquo;t tell you the cause, and the link only takes you back to the previous page. This article will [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/in\/tutorials\/link-you-followed-has-expired-error-wordpress\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":172,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"","rank_math_description":"","rank_math_focus_keyword":"","footnotes":""},"categories":[22636,22633],"tags":[],"class_list":["post-77886","post","type-post","status-publish","format-standard","hentry","category-security-and-maintenance","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-fix-the-link-you-followed-has-expired-error-in-wordpress-3-methods","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-fix-the-link-you-followed-has-expired-error-in-wordpress-3-methods","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/link-you-followed-has-expired-error-wordpress","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/77886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/users\/172"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/comments?post=77886"}],"version-history":[{"count":9,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/77886\/revisions"}],"predecessor-version":[{"id":127466,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/77886\/revisions\/127466"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media?parent=77886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/categories?post=77886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/tags?post=77886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}