Hello,
Install the Broken Link Checker plugin … The plugin will find any broken links that end with an error and then you can delete them.
Good Luck
Hi Aymen. Thank you for your reply. I will try this plugin
I tried setting a 404 redirect; but no luck. I then edited the Themes 404.php file and added the code below. Logged into WP admin panel, accessed the option Appearance >> Editor. Clicked on 404 Template and added the code below.
===
<?php
/* Redirect browser */
header(“Location: http://milesweb.com/blog/”);
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
===
No matter what URL it is. It redirects properly. Even the ones with email address as mentioned in the previous post.
Team MilesWeb.
That is an awesome code there MilesWeb. I added that and I just went to a 404 page that was in Google Search that was not on my site anymore, and I clicked it, and it went right to the url that I put. I like that. Hopefully, I will stop seeing as much 404 errors now Google Webmaster Tools.
I had to redo my website, and lost some blog posts, and I have to go to site:www.example.com for my posts and re-add them, and this helped so that people clicking on them in search will not get the 404.
After I got my posts back, then I might remove it or keep it just for the email at end of url problem. I will more likely keep it in their.