If fixing broken links is something you tend to avoid, here’s a simple solution which you might like as a quick fix until you can fix your broken links properly.
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
This code will redirect ALL 404 page errors to the example.com url which you can change to anything you like.
Was This Tutorial Helpful?