How to Fix Yoast’s WordPress SEO Sitemap 404 Error

How to Fix Yoasts WordPress SEO Sitemap 404 Error
Rubie Canty

This is not a recommended step as it involves editing the core files of the plugins and it might just make the plugin vulnerable. But if you are determined and have enough confidence, you can connect your FTP to your web server and go to wp-content folder. Find plugins and inside it, you will find wordpress-seo folder which represents Yoast SEO plugin. Go inside it and enter the folder INC. Inside that, you will find class-sitemaps.php which is the culprit. Open the file and search for the function init().

Fix Yoast WordPress SEO Sitemap 404 Error
Lyndia Woodruff

I started this tech blog back in 2011 as a place to write down processes I took to fix my client systems and network. Now I write some tips and tricks to help others with the tech issues that one might encounter.

How to Resolve Yoast’s SEO Sitemap 404 Error in WordPress
Inez Ross

Today, I will demonstrate how to resolve Yoast’s SEO sitemap 404 error in WordPress. Since you have run into this problem, the plugin must already be installed and activated. The first thing I will show you is how to deactivate and delete a plugin. You should delete any other plugins that create a sitemap. This will interfere with Yoast SEO. If this was not the problem, then your theme is to blame. There are three things you can do. The first is to edit your .htaccess file, which the plugin makes simple. The second is to change your theme’s core code, which I don’t recommend unless you are experienced. The last and probably simplest method is to change your theme.

Be the first to comment

Leave a Reply

Your email address will not be published.