Solution 1: Increase the timeout of the session for logging in
One of the possible reasons why you may receive this .empresadeserviciosweb.com/post/solucion-error-iniciar-sesion-hotmail-outlook-contrasena-bloqueo/” title=”🔧【DEFINITIVE SOLUTION】Error When Logging In to Hotmail (Outlook) ✅”>error is that the WordPress login session timeout is too short.
I recommend checking out this interesting article: How to know if a website is penalized by Google and easily fix it.
You can fix it by increasing the session timeout following these steps:
1. Access your wp-config.php file
To access the wp-config.php file, you must connect to your server via FTP or access your hosting control panel and look for the file in the root folder of your WordPress installation.
2. Add the following line of code at the end of the file:
define(‘WP_SESSION_EXPIRATION’, 7200);
This will set the session timeout to 7200 seconds, that is, 2 hours.
You can change the value to your liking, but keep in mind that the longer the timeout, the greater the risk of someone accessing your account without your authorization.
Solution 2: Delete cookies and the browser cache
Another possible solution is to delete your browser’s cookies and cache.
This can help fix expired link or login issues. To do so, follow these steps:
1. Open the browser options menu
In most browsers, you can open the options menu by clicking the three horizontal dots icon in the upper right corner of the browser window.
2. Look for the “Clear browsing data” or “Clear cache” option
In the options menu, look for the “Clear browsing data” or “Clear cache” option and select it.
<a href="https://www.empresadeserviciosweb.com/post/como-actualizar-la-configuracion-de-cookies-en-safari/" title="How to update the settings for cookies in Safari”>3. Select the cookies and cache options
In the pop-up window that appears, make sure to select the “Cookies and other site data” and “Cached files” options.
Solution 3: disable problematic plugins or themes
A faulty plugin or theme may be causing the “The link you followed has expired” error.
To check if this is the case, you can temporarily disable all your plugins and switch to a default WordPress theme, such as Twenty Twenty.
If after doing this the error disappears, one of your plugins or the theme you were using may be causing the problem.
To temporarily disable your plugins, follow these steps:
<a href="https://www.empresadeserviciosweb.com/post/cambiando-la-contrasena-del-administrador-de-wordpress-sin-acceder-al-panel-de-administracion/” title=”Changing the WordPress administrator password without accessing the admin panel”>1. Access the WordPress control panel
Log in to your WordPress site and go to the login page.
2. Click the “Plugins” link in the sidebar menu
On the “Plugins” page, you will see a list of all the plugins installed on your site.
3. Select all plugins and choose the “Deactivate” option from the “Bulk actions” dropdown menu
All selected plugins will be deactivated at the same time.
To switch to a default WordPress theme, follow these steps:
1. Access the WordPress control panel
Log in to your WordPress site and go to the login page.
2. Click the “Appearance” link in the sidebar menu
On the “Appearance” page, you will see a list of all the themes installed on your site.
3. Click the “Add new” link at the top of the page
On the “Add new” page, you will be able to see a list of all the default WordPress themes available for your installation.
4. Select a theme and click the “Install” button
Once the theme is installed, click the “Activate” button to apply it to your site.
Solution 4: Check the browser settings
Sometimes, the problem may be in the browser settings. One option you can try is disabling the “Protection against expired links” or “Safe Mode” feature if it is enabled. You can also try accessing your site from another browser or device to see if the problem persists.
Solution 5: Increase the PHP memory limit
Another possible reason why you may receive the “The link you followed has expired” error is that your site is using more memory than you have allocated. You can fix it by increasing the PHP memory limit following these steps:
1. Access the wp-config.php file
As in solution 1, you must connect to your server via FTP or access your hosting control panel and look for the wp-config.php file in the root folder of your WordPress installation.
2. Add the following line of code at the end of the file:
define(‘WP_MEMORY_LIMIT’, ‘256M’);
This will increase the memory limit to 256 MB. You can change the value to your liking, but keep in mind that the higher the memory limit, the greater your server’s resource consumption.