404 errors are often overlooked and can lead to a poor user experience and even negatively affect your SEO attempts. Many people tend to delete old posts and pages from WordPress without setting up a redirect, leaving a URL in Google that will lead to a ‘Page Note Found’ (404) error.
Typically you would need to add a rule to your .htaccess file to fix these errors and redirect your URL to a functioning page, however, you can easily fix these errors within the WordPress dashboard using a free plugin called Redirection. First, you will need to find the errors, (I will assume you have already added your site to Google Webmasters) in Google Webmasters open your site and then go to Crawl Errors. If you have just a few errors you can copy and paste the URL.
Now you can go to your WordPress site and install the Redirection Plugin, once active you can go to Tools > Redirection within the WP admin. In our sample below we will enter the Source URL from Google Webmasters and then redirect to the homepage. You can use relative paths here rather than entering the full URL as long as you are redirecting to a page within your site.
Once you have added the redirect you can go back to Google Webmasters and then mark the error as fixed.
How to bulk redirect 404 errors in WordPress?
If your site has a lot of errors in the search console then you will find it much quicker to simply download all the errors and then import them into the WordPress Redirection plugin.
In webmasters tools select all the 404 errors and click ‘Download’.
Once you have downloaded the errors you can open the csv file in Excel and format the columns to just two, one for the original source URL and the second for the redirect destination. See our sample below:
Now you can save your csv file and get ready to import into WordPress, go back to Tools > Redirection and then select the ‘Options’ tab, scroll down to the ‘Import’ section and then select your csv file. Click ‘Upload’ and your redirects will automatically be added to your WordPress site. You can go back to webmasters tools, select all the 404 errors that you exported and then mark all as fixed.
Google usually takes a day to register your fixed URLs, this method works well for 404 errors but may not work for some server errors or .php URLs. You can also check within the Redirection plugin to see stats of your redirects.
Article by Adam Haworth, repost from adamhaworth.com

Adam
Editor of the Lakewood Journal and founder of Lakewood media. Also an avid landscape and travel photographer.
You may also like
Multiple Location SEO for local businesses
Better understand how to optimise your local business for local SEO. Target new areas and perform better in local search.
0 Comments7 Minutes
Beginners SEO Guide: Local SEO in London
Competing within London is a difficult task when it comes to local SEO. Our beginners guide will help you get started with Local SEO.
0 Comments12 Minutes
How to add Google Analytics to your WordPress site with Google Tag Manager
Wondering how to get started with Google Tag Manager? This quick guide shows you how to make a Google Analytics tag and add it to WordPress.
0 Comments12 Minutes
Getting started with Gutenberg. A Beginners Guide.
This guide helps you adapt to the Gutenberg WordPress editor. Make the most of the new features and understand the basics of Gutenberg.
0 Comments27 Minutes
How to use Gutenberg for posts only & WP Bakery (Visual Composer) for pages
How to use Gutenberg for posts only while keeping your page builders for pages and custom post types.
0 Comments5 Minutes
Why are backlinks important for SEO?
Why are backlinks still important for SEO in 2018? We look at the reasons you should still focus on backlink building in your SEO campaigns today.
0 Comments8 Minutes