Resolving Redirection Plugin Issues: Redirects Persisting After Deactivation
Content
One of the most perplexing issues users encounter with the Redirection plugin is when a redirect continues to work even after the plugin has been deactivated or a specific rule has been deleted. This guide will explain why this happens and provide the most effective solutions to resolve it.
Why Do Redirects Persist After Deactivation?
It's a common misconception that a deactivated plugin can still function. The Redirection plugin, once deactivated, ceases all operations and cannot perform any redirects. If a redirect is still occurring, the cause is almost always caching. Caching mechanisms store responses to make your site faster, but they can also store old redirect instructions long after the original source has been removed.
How to Identify and Fix the Problem
1. Clear All Caches
The first and most crucial step is to clear every cache that could be involved:
- Browser Cache: Clear your browsing history and cached data, or test the URL in a browser's "incognito" or "private" window.
- WordPress Cache: If you use a caching plugin (e.g., W3 Total Cache, WP Super Cache, WP Rocket), clear its cache from the plugin's settings.
- Server-Level Cache: Contact your hosting provider to clear any server-side caching (like Varnish or Nginx fastcgi cache).
- CDN Cache: If you use a Content Delivery Network (e.g., Cloudflare), purge its cache through its control panel.
2. Check for Other Redirect Sources
If clearing the cache doesn't work, the redirect may be coming from another source. The Redirection plugin's log can be a valuable tool here. Check the "Redirects" > "Log" section. If the "redirect_by" column says "WordPress," it indicates that WordPress's own internal functions are causing the redirect, not the plugin. Other common sources include:
- Your site's
.htaccessfile (for Apache servers). - Other active plugins that handle SEO or security.
- Your theme's functions.php file.
- WordPress settings like a Site Address change or a page's permalink history.
3. A Specific Fix for Permalink Conflicts
As seen in one user's solution, a conflict with a page's permalink can sometimes cause a persistent redirect. If the problematic URL is redirecting to a specific page, try this:
- Move the target page to the Trash.
- Empty the trash to permanently delete it.
- Create a new page with the desired slug.
- This process often clears any lingering redirects stored by WordPress's rewrite rules.
4. For Extreme Cases: Manual Plugin Disable
If you are completely locked out of your WordPress admin area due to a redirect, you can manually disable the Redirection plugin via FTP or your hosting file manager. To do this, navigate to the /wp-content/plugins/ directory and rename the folder redirection to something like redirection_disabled. This will deactivate the plugin and allow you to log in again. The official Redirection support site provides detailed instructions for this process.
Conclusion
A redirect that continues after deactivating the Redirection plugin is not a bug in the plugin itself but a caching issue or a conflict with another system. By methodically clearing all caches and investigating other potential sources, you can identify and eliminate the persistent redirect. Always remember to test changes in a private browser window to get accurate, uncached results.
Related Support Threads Support
-
redirection plugin is corrupting my websitehttps://wordpress.org/support/topic/redirection-plugin-is-corrupting-my-website/
-
Redirection doesn’t Workhttps://wordpress.org/support/topic/redirection-doesnt-work-15/
-
Installed Plugin Unable to Activatehttps://wordpress.org/support/topic/installed-plugin-unable-to-activate/
-
Redirect is not workinghttps://wordpress.org/support/topic/redirect-is-not-working-6/
-
I can’t add a new redirectionhttps://wordpress.org/support/topic/i-cant-add-a-new-redirection/
-
Plugin creating excess link redirection that doesn’t existhttps://wordpress.org/support/topic/plugin-creating-excess-link-redirection-that-doesnt-exist/
-
incompatible with NADI plugin?https://wordpress.org/support/topic/incompatible-with-nadi-plugin/
-
Site redirection – I’m locked out from my own sitehttps://wordpress.org/support/topic/site-redirection-im-locked-out-from-my-own-site/
-
Deleting Redirection Plugin Breaks Websitehttps://wordpress.org/support/topic/deleting-redirection-plugin-breaks-website/
-
Plugin rules not working in .htaccesshttps://wordpress.org/support/topic/plugin-rules-not-working-in-htaccess/
-
Plugin is redirecting session keys or something…https://wordpress.org/support/topic/plugin-is-redirecting-session-keys-or-something/
-
Duplicate redirections for pages moved in and out of trashhttps://wordpress.org/support/topic/duplicate-redirections-for-pages-moved-in-and-out-of-trash/
-
Automatic creation of deactivated redirectionhttps://wordpress.org/support/topic/automatic-creation-of-deactivated-redirection/
-
Redirection plugin conflict password-reset pagehttps://wordpress.org/support/topic/redirection-plugin-conflict-password-reset-page/
-
Finding source of a redirectionhttps://wordpress.org/support/topic/finding-source-of-a-redirection/
-
Missing options for advanced featureshttps://wordpress.org/support/topic/missing-options-for-advanced-features/
-
“Please complete Redirection setup…”https://wordpress.org/support/topic/please-complete-redirection-setup/
-
Redirection disappeared from userhttps://wordpress.org/support/topic/redirection-disappeared-from-user/
-
Creating Redirection Tables Frozen at 50%https://wordpress.org/support/topic/creating-redirection-tables-frozen-at-50/
-
Redirection plugin redirecting home pagehttps://wordpress.org/support/topic/redirection-plugin-redirecting-home-page/
-
Unable to delete redireciton rulehttps://wordpress.org/support/topic/unable-to-delete-redireciton-rule/
-
Import redirections from RankMathhttps://wordpress.org/support/topic/import-redirections-from-rankmath/
-
Admin panel redirects to home pagehttps://wordpress.org/support/topic/admin-panel-redirects-to-home-page/
-
Log documentation is out of datehttps://wordpress.org/support/topic/log-documentation-is-out-of-date/
-
Page keeps redirecting automaticallyhttps://wordpress.org/support/topic/page-keeps-redirecting-automatically/
-
Deactivated redirection still redirect (a solution)https://wordpress.org/support/topic/deactivated-redirection-still-redirect-a-solution/
-
Cannot delete a redirect “Bad Data”https://wordpress.org/support/topic/cannot-delete-a-redirect-bad-data/
-
Redirect doesn’t exist, but still redirectshttps://wordpress.org/support/topic/redirect-doesnt-exist-but-still-redirects/
-
Unable to disable plugin or redirecthttps://wordpress.org/support/topic/unable-to-disable-plugin-or-redirect/
-
Where are Redirection’s rules stored?https://wordpress.org/support/topic/where-are-redirections-rules-stored/
-
The Plugin still Redirects after disablinghttps://wordpress.org/support/topic/the-plugin-still-redirects-after-disabling/
-
I have disable amp redirection plugin not redirectinghttps://wordpress.org/support/topic/i-have-disable-amp-redirection-plugin-not-redirecting/
-
Rank Math wants to deactivate Redirection Pluginhttps://wordpress.org/support/topic/rank-math-wants-to-deactivate-redirection-plugin/
-
Can’t undo a redirect!https://wordpress.org/support/topic/cant-undo-a-redirect/
-
Redirects after plugin disabledhttps://wordpress.org/support/topic/redirects-after-plugin-disabled/
-
Redirect disable not workinghttps://wordpress.org/support/topic/redirect-disable-not-working/
-
Redirection plugin makes redirect loop when CMS url is changed from iThemeshttps://wordpress.org/support/topic/redirection-plugin-makes-redirect-loop-when-cms-url-is-changed-from-ithemes/
-
Redirect Old PDF to New PDFhttps://wordpress.org/support/topic/redirect-old-pdf-to-new-pdf/
-
stop plugin from automatically creating redirectionshttps://wordpress.org/support/topic/stop-plugin-from-automatically-creating-redirections/