Getting the "Link You Followed Has Expired" error on your WordPress site? This happens when you try to upload a file (like a theme, plugin, or image) that exceeds your server’s file size or time limits. It’s common for real estate websites that handle large files like IDX plugins, property images, or feature-rich themes.
Here’s how to fix it quickly:
- Adjust PHP Settings in cPanel: Increase
upload_max_filesize,post_max_size, andmax_execution_time. - Use a Plugin: Install WPCode or similar to change settings without touching code.
- Upload via FTP: Bypass WordPress limits by uploading files directly with an FTP client.
- Contact Your Hosting Provider: Ask them to increase limits if you can’t make changes yourself.
For long-term performance, ensure your hosting plan supports large uploads and optimize your server settings. Real estate websites often need higher limits for smooth operation.
| Setting | Recommended Value |
|---|---|
| upload_max_filesize | 64MB or higher |
| post_max_size | 64MB or higher |
| max_execution_time | 300 seconds |
| memory_limit | 512MB or more |
Fixing this error ensures your site stays functional and professional, especially for high-demand tasks like MLS integrations or uploading large property galleries.
How To Fix “The Link You Followed Has Expired” Error
Why This Error Happens
The "Link You Followed Has Expired" error is tied to server restrictions that WordPress sites must operate within. Hosting providers impose these limitations to safeguard server performance and ensure no single site monopolizes resources.
Server Limits Behind the Error
This error is directly linked to three specific PHP settings that govern file uploads and script execution times. If any of these limits are exceeded, the error is triggered.
- Upload_max_filesize: This setting determines the largest file size you can upload to your WordPress site. Shared hosting providers typically set this limit between 4 MB and 128 MB. In WordPress Multisite setups, it can be as low as 1.5 MB [1].
- Post_max_size: This defines the total amount of data that can be submitted in a single form. It must be at least as large as the upload_max_filesize setting [2]. Both these limits are critical for uploading large themes, plugins, or multiple property images on real estate websites.
- Max_execution_time: This controls how long a PHP script can run before timing out. The default is often 30 seconds, but complex tasks or large file uploads may require more time to complete.
These settings can cause problems for real estate websites, which often handle large files, detailed data, and resource-intensive operations.
Common Real Estate Scenarios
Real estate websites frequently encounter this error due to the unique demands of their operations. Here are some typical scenarios:
- Installing IDX Plugins: Plugins like CT IDX Pro+, which enable MLS integration, advanced search features, and mapping, often exceed default upload limits. Their extensive functionality results in larger file sizes compared to standard WordPress plugins.
- Using Real Estate Themes: Themes such as Real Estate 7 are packed with features like property search tools, agent profiles, mortgage calculators, and responsive design elements. These features increase the file size, making theme installations challenging under default server settings.
These challenges underscore the need for hosting environments tailored to the demands of real estate websites. Generic shared hosting setups are often ill-equipped to handle the workload of these specialized sites.
Simple Fixes for Non-Technical Users
Real estate professionals don’t need to be tech wizards to tackle this issue. These simple steps can help you get your website back on track without the need to hire a developer.
Adjust PHP Settings via cPanel
cPanel makes it easy to tweak PHP settings without diving into code. Here’s how:
- Log in to cPanel and go to the "Software" section.
- Select "PHP Settings" or "Select PHP Version".
- Look for three key settings that affect file uploads:
- upload_max_filesize: Set this to 64M or higher.
- post_max_size: Match this value to the one above (e.g., 64M).
- max_execution_time: Increase this to 300 seconds to allow more time for larger or complex uploads.
Once you’ve updated these settings, click "Apply" or "Save". It might take a few minutes for your hosting provider to process these changes, but afterward, your site should handle uploads smoothly.
Use a Plugin to Modify Functions.php
Not comfortable tweaking settings in cPanel? No problem. You can use a plugin like WPCode to safely adjust your site’s configuration without touching theme files.
- Install and activate the WPCode plugin from your WordPress dashboard.
- Navigate to Code Snippets and create a new PHP snippet.
- Paste the following code into the snippet editor:
@ini_set( 'upload_max_size' , '64M' ); @ini_set( 'post_max_size', '64M' ); @ini_set( 'max_execution_time', '300' ); - Name the snippet something like "Fix Upload Limits" and activate it.
This method ensures your changes stay in place, even when your theme updates, and reduces the risk of accidentally breaking your site.
Upload Large Files Using FTP
If the above methods don’t work, you can bypass WordPress’s upload limits entirely by using FTP (File Transfer Protocol). Here’s how:
- Download and install an FTP client like FileZilla.
- Use your hosting provider’s FTP credentials (server address, username, and password) to connect to your site.
- Navigate to your WordPress installation directory:
- For plugins: Go to wp-content/plugins/, create a folder with the plugin’s name, extract the plugin files on your computer, and upload them to this folder.
- For themes: Use the wp-content/themes/ directory to upload your theme files.
- After uploading, return to your WordPress dashboard:
- For plugins: Go to Plugins > Installed Plugins and activate the new plugin.
- For themes: Check Appearance > Themes to locate and activate the uploaded theme.
Server Configuration for Developers
For developers who are comfortable making changes on the server side, directly adjusting configuration files is the most reliable way to address upload limit issues. These changes are permanent and won’t be impacted by plugin updates or theme changes.
Edit php.ini File
The php.ini file is the core configuration file for PHP applications, managing parameters like file upload size, timeouts, and resource limits. You can edit this file using SSH or FTP.
Navigate to your WordPress root directory and locate the php.ini file. If it doesn’t exist, you can create one. Add or update the following lines:
upload_max_filesize = 64M post_max_size = 128M max_execution_time = 300 memory_limit = 264M
Once you’ve made the changes, restart your server to apply them.
If your hosting provider blocks direct php.ini edits, you can create or modify a .user.ini file with the same directives. This often works when access to the main configuration file is restricted.
If these steps don’t resolve the issue, you may need to adjust your Apache server settings.
Update .htaccess File
For Apache servers, the .htaccess file offers another way to increase resource limits. This file, located in your WordPress root directory, allows site-specific configuration changes.
Before making any edits, back up your existing .htaccess file. Then, add these lines to the bottom of the file:
php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300
These settings align with the php.ini directives, but the max_input_time parameter is particularly important for handling large media uploads or complex IDX plugin installations.
If adding these lines causes a 500 Internal Server Error, your server might be running PHP in CGI mode, which doesn’t support these directives in .htaccess files. In that case, remove the changes and consult your hosting provider for alternatives.
Contact Your Hosting Provider
If you’re unable to make these changes yourself or the adjustments don’t work, it’s time to contact your hosting provider. Some hosting environments restrict configuration changes for security reasons, but support teams can often make the necessary updates on your behalf.
Here’s a sample message you can send to your hosting provider:
Subject: Request for PHP Configuration Changes – Upload Limits
Message:
"I’m managing a real estate WordPress website and need the following PHP settings adjusted:
- upload_max_filesize: 64M or higher
- post_max_size: 64M or higher
- max_execution_time: 300 seconds
- memory_limit: 264M
These settings are essential for the proper functioning of real estate-specific plugins and media uploads. Could you please implement these changes or advise on the best approach for our hosting plan?"
If these changes aren’t possible with your current plan, your provider may suggest upgrading to a plan that allows more flexibility with PHP settings. For active real estate websites that handle frequent large uploads, upgrading might be a practical solution. Hosting providers can also recommend additional tweaks, such as database optimizations or caching strategies, to complement these changes and improve overall performance.
Setup Tips for Real Estate Websites
Real estate websites have unique needs, especially when it comes to handling large file uploads and processing MLS data. Without the right server settings, you might run into errors like "link expired." Here’s how to avoid that.
Server Settings for Real Estate Sites
To keep things running smoothly, your server should be configured to handle larger files and longer processes. This is especially important when working with IDX plugins or uploading property images. Here are the key settings to adjust:
- File Uploads: Set both
upload_max_filesizeandpost_max_sizeto at least 128MB. - Execution Time: Increase
max_execution_timeto 300 seconds for tasks like MLS synchronization and theme installations. - Memory Limit: Use a minimum of 512MB, but for sites with heavy MLS data, consider bumping this up to 1GB.
| Setting | Minimum Value | Recommended Value |
|---|---|---|
| upload_max_filesize | 64MB | 128MB+ |
| post_max_size | 64MB | 128MB+ |
| max_execution_time | 300 seconds | 300 seconds |
| memory_limit | 512MB | 512MB+ (1GB for heavy use) |
| PHP Version | 7.4+ | 8.0+ |
Additionally, upgrading to MySQL 8.0+ or MariaDB 10.6+ can make property searches faster and more efficient.
Hosting Options for Real Estate Platforms
Shared hosting often doesn’t cut it for real estate websites. Instead, consider these hosting solutions:
- Managed WordPress Hosting: Automatically scales resources during busy periods, ideal for growing websites.
- VPS Hosting: Provides dedicated resources, perfect for individual agents or smaller brokerages.
- Dedicated Hosting: Offers full server control, great for high-traffic sites or those managing multiple MLS feeds.
- Cloud Hosting: Designed for WordPress, it handles traffic spikes and ensures consistent performance.
Choosing the right hosting plan ensures your site can handle the demands of real estate data and traffic.
How to Prevent This Error
Beyond server tweaks, follow these best practices to avoid upload issues and keep your site running efficiently:
- Compress Images Before Uploading: Use tools like TinyPNG to reduce file sizes while maintaining quality.
- Use Child Themes for Customizations: This keeps your changes intact during theme updates.
- Organize Your Media Library: Plugins like Real Media Library help you categorize files by property or listing type.
- Schedule Regular Cleanup: Delete unused plugins and themes to free up server resources.
- Set Up Automated Backups: Quick restoration options can save you if something goes wrong.
- Leverage External Storage: Services like Amazon S3 or Google Cloud Storage can offload media files and improve site speed with content delivery networks.
How to Fix and Avoid This Error
The "link you followed has expired" error typically occurs when file uploads exceed your server’s limits. This issue often arises when uploading large theme files, IDX plugins, or high-resolution property images. Fortunately, it’s a problem you can fix.
To resolve this error, you have a couple of options. The quickest way is to contact your hosting provider and request an increase in the upload limits. Most providers can make these changes within a few hours [3]. If you’d rather take care of it yourself, plugins like WP Maximum Upload File Size can help. This plugin, updated as recently as July 15, 2024, allows you to increase your upload limit directly from your WordPress dashboard without needing to modify server files [1].
For long-term performance, it’s important to configure your server to handle the demands of a real estate site. These sites often require robust hosting to manage data synchronization, large image galleries, and multiple plugins. Opting for managed WordPress hosting or a VPS solution instead of basic shared hosting is often a better choice.
To keep your site running smoothly, ensure your server settings are optimized for large property media and MLS integrations. Regular updates to WordPress, themes, and plugins are essential for compatibility and security. Additionally, compress property images before uploading them and perform regular database cleanups to remove unnecessary post revisions and spam comments. These steps will help maintain your site’s performance over time.
FAQs
What PHP settings should I update to resolve the ‘Link You Followed Has Expired’ error in WordPress?
To fix the ‘Link You Followed Has Expired’ error on your WordPress site, you’ll need to tweak a few PHP settings that manage file upload limits and script execution time. Here’s what to adjust:
- upload_max_filesize: Set this to 64M or more to support larger file uploads.
- post_max_size: Match this to 64M or higher to align with the upload file size limit.
- max_execution_time: Increase this to 300 seconds to avoid timeouts during uploads.
These changes will help your site handle larger files, whether it’s a real estate theme, IDX plugin, or high-resolution property images, without running into errors.
What’s the easiest way to upload large files to WordPress without changing PHP settings?
If you’d prefer to skip modifying PHP settings or don’t have access to cPanel, FTP (File Transfer Protocol) is a great alternative for uploading large files. Using an FTP client like FileZilla, connect to your site, navigate to the wp-content/uploads directory, and upload your files directly.
After uploading, you might need to make these files visible in your WordPress media library. You can handle this by using a plugin such as Add From Server or by manually registering them through the WordPress dashboard. This approach is straightforward, bypasses server limitations, and is particularly useful for uploading large files like themes, plugins, or media assets.
What are the best hosting options to prevent the ‘Link You Followed Has Expired’ error on real estate WordPress websites?
To avoid encountering the ‘Link You Followed Has Expired’ error on your real estate WordPress website, it’s crucial to select a hosting provider tailored to WordPress needs. A good hosting service should offer reliable performance, scalability, and support for uploading larger files – key features for a site packed with property listings and media.
Here are two excellent hosting options to consider:
- Cloudways: Known for its scalability and impressive performance, Cloudways is well-suited for WordPress sites with heavy content, such as high-resolution property images and media.
- Hostinger: This managed WordPress hosting platform focuses on delivering fast load times, top-notch security, and high performance. It’s a solid choice for real estate websites that demand speed and reliability.
Both options are designed to handle the demands of real estate websites, ensuring smooth performance while managing themes, plugins, and large media files without running into common errors.