Yoast SEO (FREE) – Creating Redirects Automagically
-
Hi,
We currently use Yoast SEO (Free) version of the plugin and have not used the premium version previously.I am seeing that old URL’s for pages that have either been deleted or have had the slug changed that an automatic redirect is being generated and I wanted to look into the option of disabling or stopping this.
At first I though it was just a redirect being created by the WordPress Core Redirect Guessing process, but even after trying to override and disable this, I had no luck, I then also cross checked this in our actual redirects list managed via our hosting providers interface, yet still not the root cause.
So I then reverted to actually seeing what was happening with the request and the “Hops” it was taking.
this highlighted to me that it was in fact Yoast SEO causing the redirect.See this image: https://postimg.cc/QVwB1LFv
So now I have actually identified the cause, I went on to see how to disable, and after all efforts and attempts to disable this, I have hit a blocker.
I tried/checked:
- Yoast SEO: Enable media pages = off
- Filtering: does not work (all variations attempted):
- add_filter(‘redirect_guess_404_permalink’, ‘__return_false’);
- add_filter(‘do_redirect_guess_404_permalink’, ‘__return_false’);
- Redirects: Removed ALL redirects to test, but still happening which led me to check the HOPs.
Does anyone have any other ideas or pointers on why the FREE version of the plugin (that should not have this feature available anyhow) is in fact creating automatic redirects of deleted posts/pages and taxonomies etc. or slugs that have been changed?
Thanks in advance.
- You must be logged in to reply to this topic.