Yoast Plugin Disables User Accounts After Cloning Website
-
Not sure why, but this isn’t the first time I’ve had issues with Yoast messing with user accounts after cloning a website.
What tends to happen is it messes with user values in the WordPress database. I’m not 100% certain but I think it deletes values in some cases, and in others I’m not sure what the issue is.
To reproduce this issue you need a website with Yoast install and active. After cloning the website to a new domain or sub-domain, you will either not be able to log in, or when you do log in, you cannot access the WordPress admin panel.
If it is the former, you need to replace the database before proceeding.
If it is the latter, go to cPanel > File Manager > home/account/[affected-site-location]/wp-content/plugins and rename “wordpress-seo” (Yoast) to anything else to disable it (example: “wordpress-seo_disabled”).
Refresh the browser window you logged into with WordPress. Your WordPress bar will now contain the user options you had (example: Edit Page).
In WordPress go to Dashboard > Plugins > Yoast SEO > [Deactivate]
In File Manager, rename the Yoast plugin folder back to what it was (i.e. “wordpress-seo”).
In WordPress Plugins > Yoast SEO > [Activate].
If simply disabling Yoast does not work, Deactivate and Delete Yoast before reinstalling.
This is the fix I sometimes have to go through myself, but I wish Yoast would just leave the database and/or whatever it does to disable user accounts alone. I don’t know exactly what Yoast does to cause this issue, I just know that the problem is with the Yoast plugin.
If anyone has any better solutions to this problem please enlighten me.
- The topic ‘Yoast Plugin Disables User Accounts After Cloning Website’ is closed to new replies.