{"id":5785,"date":"2020-08-25T18:56:39","date_gmt":"2020-08-25T13:26:39","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5785"},"modified":"2026-11-15T13:18:24","modified_gmt":"2026-11-15T07:48:24","slug":"how-to-fix-the-link-you-followed-has-expired-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-fix-the-link-you-followed-has-expired-error-in-wordpress\/","title":{"rendered":"How To Fix \u2018The Link You Followed Has Expired\u2019 Error In WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong><strong>Post Date:<\/strong><\/strong> August 25, 2020<strong><br><strong>Last Updated:<\/strong> <\/strong>November 12, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress link you followed has expired error is a common issue that occurs when uploading a WordPress theme, installing a plugin, or importing a large demo file through the <a href=\"https:\/\/wordpress.com\/support\/dashboard\/\" target=\"_blank\" rel=\"noopener\">WordPress dashboard<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This error usually occurs when the uploaded file exceeds the PHP upload size limit or when the server has insufficient PHP execution time, memory, or request limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, when you try to upload a large WordPress theme or plugin ZIP file, your hosting server may reject the request because of its configured PHP resource limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, you will learn how to fix the WordPress link you followed has expired error by increasing the PHP upload size, execution time, memory limit, and other server settings using simple step-by-step methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Causes the WordPress Link You Followed Has Expired Error?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The error commonly occurs because of insufficient PHP resource limits configured on your web hosting server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following PHP settings can affect WordPress file uploads:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>upload_max_filesize<\/code> \u2013 Maximum size of an individual uploaded file.<\/li>\n\n\n\n<li><code>post_max_size<\/code> \u2013 Maximum size of POST request data.<\/li>\n\n\n\n<li><code>max_execution_time<\/code> \u2013 Maximum time a PHP script can execute.<\/li>\n\n\n\n<li><code>max_input_vars<\/code> \u2013 Maximum number of input variables PHP can accept.<\/li>\n\n\n\n<li><code>memory_limit<\/code> \u2013 Maximum memory allocated to a PHP script.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if your WordPress theme ZIP file is 100 MB but your server allows only 64 MB uploads, the upload may fail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Check the Maximum WordPress Upload Size<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before changing your server configuration, check the maximum upload size allowed by your WordPress installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your WordPress admin dashboard.<\/li>\n\n\n\n<li>Navigate to <strong>Media \u2192 Add New<\/strong>.<\/li>\n\n\n\n<li>Check the maximum upload file size displayed on the page.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/08\/image.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"769\" height=\"253\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/08\/image.png\" alt=\"WordPress link you followed has expired error showing maximum upload file size limit\" class=\"wp-image-13355\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/08\/image.png 769w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/08\/image-300x99.png 300w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If your theme or plugin file exceeds this limit, you may need to increase the WordPress PHP upload limit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Fix WordPress Link You Followed Has Expired Error<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can fix this issue by increasing the PHP resource limits on your hosting server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before making any changes, take a backup of your website and configuration files.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1: Increase WordPress Upload Limit Using the .htaccess File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>.htaccess<\/code> file is commonly used to configure Apache web server settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Connect to your hosting server using cPanel File Manager or FTP.<\/li>\n\n\n\n<li>Navigate to your WordPress root directory, usually <code>public_html<\/code>.<\/li>\n\n\n\n<li>Locate the <code>.htaccess<\/code> file.<\/li>\n\n\n\n<li>Enable hidden files if the file is not visible.<\/li>\n\n\n\n<li>Open the file and add the following code at the end:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">php_value max_execution_time 300\nphp_value upload_max_filesize 128M\nphp_value post_max_size 256M\nphp_value memory_limit 256M\nphp_value max_input_vars 5000<\/pre>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Save the changes.<\/li>\n\n\n\n<li>Return to your WordPress dashboard and check the upload size.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> This method works only when the Apache\/PHP configuration supports PHP directives in <code>.htaccess<\/code>. On PHP-FPM or CGI-based hosting, these directives may cause an HTTP 500 error. If this happens, remove the added lines and use another method.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2: Increase WordPress PHP Upload Limit Using php.ini<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Another way to increase the WordPress upload size is by modifying the <code>php.ini<\/code> configuration file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your hosting server or open cPanel File Manager.<\/li>\n\n\n\n<li>Navigate to your website&#8217;s document root or the PHP configuration directory.<\/li>\n\n\n\n<li>Locate the <code>php.ini<\/code> file.<\/li>\n\n\n\n<li>If it does not exist, create one only if your hosting environment supports local PHP configuration files.<\/li>\n\n\n\n<li>Add or update the following settings:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">max_execution_time = 300\nupload_max_filesize = 128M\npost_max_size = 256M\nmemory_limit = 256M\nmax_input_vars = 5000<\/pre>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Save the configuration file.<\/li>\n\n\n\n<li>Restart the relevant PHP service if required by your hosting environment.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The location of <code>php.ini<\/code> and whether local configuration files are supported depend on your hosting provider and PHP handler.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 3: Increase PHP Upload Size Through cPanel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your website is hosted on a cPanel server, you can increase the PHP upload limit using the graphical interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your cPanel account.<\/li>\n\n\n\n<li>Navigate to <strong>Software \u2192 MultiPHP INI Editor<\/strong>.<\/li>\n\n\n\n<li>Select your WordPress domain.<\/li>\n\n\n\n<li>Locate the PHP configuration options.<\/li>\n\n\n\n<li>Update the following values:<\/li>\n<\/ol>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">max_execution_time = 300\nupload_max_filesize = 128M\npost_max_size = 256M\nmemory_limit = 256M\nmax_input_vars = 5000<\/pre>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Click <strong>Apply<\/strong> or <strong>Save<\/strong> to update the configuration.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This is a convenient method for cPanel users because it allows you to modify PHP settings without manually editing server configuration files.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 4: Restart the Web Server or PHP Service<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have modified the PHP configuration directly on your server, the relevant service may need to be restarted for the changes to take effect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For Apache on Ubuntu\/Debian:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">systemctl restart apache2<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For Apache on CentOS\/RHEL:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">systemctl restart httpd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For PHP-FPM, restart the service corresponding to your installed PHP version. For example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">systemctl restart php8.3-fpm<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> Restart only the relevant service. On managed hosting, PHP configuration changes may take effect automatically, and you may not have permission to restart server services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Verify the Updated WordPress PHP Upload Limit<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After updating the PHP configuration, verify that the new values have been applied.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 1: Check WordPress Media Library<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your WordPress dashboard.<\/li>\n\n\n\n<li>Navigate to <strong>Media \u2192 Add New<\/strong>.<\/li>\n\n\n\n<li>Check the maximum upload file size displayed on the page.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Method 2: Check WordPress Site Health<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the WordPress admin dashboard.<\/li>\n\n\n\n<li>Navigate to <strong>Tools \u2192 Site Health<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Info<\/strong> tab.<\/li>\n\n\n\n<li>Expand the <strong>Server<\/strong> section.<\/li>\n\n\n\n<li>Review the PHP configuration information.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the updated values are displayed correctly, try uploading your WordPress theme or plugin again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the error continues, check your hosting provider&#8217;s upload restrictions, PHP configuration, security plugins, and WordPress session or nonce validity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The WordPress link you followed has expired error is commonly associated with PHP upload restrictions and insufficient server resource limits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can fix the issue by increasing the PHP upload size, POST size, execution time, and memory limit through <code>.htaccess<\/code>, <code>php.ini<\/code>, or cPanel&#8217;s MultiPHP INI Editor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After applying the changes, verify the PHP settings and try uploading your theme or plugin again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are importing a theme demo, also check the theme&#8217;s recommended server requirements and follow its demo import checklist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keeping your WordPress installation, plugins, themes, and PHP version updated also helps maintain website security and performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Frequently Asked Questions (FAQs)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Why does the &#8220;The Link You Followed Has Expired&#8221; error occur in WordPress?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This error usually occurs when the uploaded theme or plugin file exceeds the PHP upload size limit or when the server has insufficient PHP execution time or memory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. How can I increase the maximum upload size in WordPress?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can increase the WordPress upload size by modifying PHP settings in the <code>.htaccess<\/code> or <code>php.ini<\/code> file, or by using the cPanel MultiPHP INI Editor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. How do I check the maximum upload size in WordPress?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your WordPress dashboard and navigate to <strong>Media \u2192 Add New<\/strong>. The maximum upload file size will be displayed below the upload section.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-install-update-wordpress-automatically-without-using-ftp\/\">How to Install \/ Update WordPress Automatically Without Using FTP<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/fixedyour-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/\">Fixed:Your PHP installation appears to be missing the MySQL extension which is required by WordPress.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Need Help Fixing WordPress Upload Errors?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Are you experiencing the <strong>&#8220;The Link You Followed Has Expired&#8221; error<\/strong> while uploading WordPress themes, installing plugins, or importing demo content?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/shared-hosting\/\">Pheonix Solutions<\/a> provides reliable WordPress hosting, website management, server administration, and technical support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our team can help you troubleshoot WordPress upload errors, configure PHP upload limits, increase server resource limits, resolve plugin and theme installation issues, and improve your website&#8217;s performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/contact\/\">Get in touch with our team<\/a> to discuss your WordPress website requirements and get professional technical assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: August 25, 2020Last Updated: November 12, 2026 Introduction WordPress link you followed has expired error is a common [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13356,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[167,620],"class_list":["post-5785","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-architecture","tag-wordpress-2","tag-wordpress-plugins","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1vj","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/08\/Fix-WordPress-Link-Expired-Error.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5785"}],"version-history":[{"count":2,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5785\/revisions"}],"predecessor-version":[{"id":13358,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5785\/revisions\/13358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/13356"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}