
You’re trying to upload a theme or plugin, and WordPress greets you with the cryptic message: “The link you followed has expired. Please try again.” No link has expired — this is WordPress’s confusing way of saying your upload hit a server limit. This the link you followed has expired fix guide explains the three PHP limits behind the error and shows you how to raise them so your uploads complete successfully.
What Causes “The Link You Followed Has Expired”
Despite the wording, this error almost always appears while uploading a theme or plugin ZIP that is bigger than your server’s PHP upload limits allow. The limits are set by your hosting company to protect the server, but they often default to values far too small for modern premium themes. Three settings are involved:
- upload_max_filesize too low: the single largest cause — your ZIP exceeds the maximum size of one uploaded file (often a tiny 2M default).
- post_max_size too low: caps the total data in one request and must be equal to or larger than upload_max_filesize.
- max_execution_time too low: big files take longer to upload and unzip; if PHP times out mid-install, you get the same error.
- Expired admin nonces: if the error appears while saving or deactivating (no upload involved), an old nonce, stale cached admin page, or expired login session is the real cause.
- Caching plugin interference: aggressive caching plugins can serve a stale admin page whose security nonce has expired.
- Server overriding your changes: some hosts ignore local php.ini edits and enforce master limits, so changes appear to do nothing. Check Tools → Site Health → Info → Server to see the actual active values.
How to Fix “The Link You Followed Has Expired”
First, check your current limit: go to Media → Add New and read the “Maximum upload file size” note — if your theme/plugin ZIP is bigger than that number, you’ve found the problem. For more maintenance guides, visit the KamiWeb blog.

- Raise the limits in your hosting panel (easiest). In cPanel, open MultiPHP INI Editor (or PHP Options), select your domain, and set
upload_max_filesize = 128M,post_max_size = 128M,max_execution_time = 300, andmemory_limit = 256M. Save, then verify the new values in Site Health. - Edit .htaccess. If your panel doesn’t offer these options, add these lines to the
.htaccessfile inpublic_html:php_value upload_max_filesize 128M,php_value post_max_size 128M,php_value max_execution_time 300. This works on Apache/LiteSpeed servers. - Use php.ini or .user.ini. Create or edit
php.ini(or.user.inion some hosts) in your WordPress root with the same four values. Some hosts require a few minutes or a PHP restart for changes to take effect. - Try the WPCode plugin method. If you can’t touch server files, the free WPCode plugin can apply PHP limit increases from inside your dashboard — a no-FTP option that works on many shared hosts.
- Upload the correct ZIP or use FTP instead. Theme packages from marketplaces often contain documentation and demos alongside the installable theme — unzip and upload only the inner theme ZIP (e.g.
woodmart.zip). If uploads still fail, unzip the theme/plugin and upload the folder directly towp-content/themes/orwp-content/plugins/via FTP or File Manager. - Fix the nonce variant. If the error shows while saving settings rather than uploading: refresh the admin page, log out and back in, close duplicate tabs, clear your browser cache, try a private window, and temporarily disable your caching plugin. If limits still won’t budge, ask your host to raise them — the master php.ini may be overriding your edits. Our free tools can help you double-check your site’s configuration.
Conclusion
The the link you followed has expired fix almost always comes down to raising upload_max_filesize, post_max_size, and max_execution_time to values like 128M/128M/300 — or bypassing the dashboard uploader with FTP when limits are locked. Verify the real values in Site Health before and after, and you’ll be installing themes and plugins without a hitch. Explore more WordPress solutions at KamiWeb.
