How to fix 404 errors

How to fix 404 errors

In this blog, we will discuss how to fix 404 errors in WordPress and we’re getting started right now. We use two plugins that can fix the 404 errors.

How to fix 404 errors

There are two plugins, one is to have them automatically redirected when they’re discovered on your page and the other is doing them annually after they’ve been found using a 301 redirect in ht access file.

How to fix 404 errors by using WordPress Plugins

How to fix 404 errors by using WordPress Plugins

Let’ go to the site and click on the plugins and then add new and then search in the search bar simply for 404. Now you can see on the mobile or laptop or tablet’s screen the top two plugins. One is redirection and another is 404 Solution plugins.

Now you have to install and active it. It will automatically redirect to a page that you specify usually your homepage. Then they will notify you that there is a 404.

Then you can go in and decide whether you want to redirect them to a page; that’s better suited for that 404 and those make it really easy.

Those will redirect before Google; finds them as soon as a person lands on them that are not true a Google bot may land on a 404.

But once the website or the plugin notices by a person or by the Google bot; it will redirect instantly to wherever you choose.

Now even using one of those plugins you may find in your Google search console. If Google doesn’t find any content on the page but the website says the page loaded.

So, the page is given a 200 status which means it loaded but Google doesn’t see anything. So, they’d label a soft 404 a hard 404 is not found which means the page shows a 4/4 and it actually is a 404.

However, it is a 404 and if I scroll down I see my new pages called Terms of Service; so that could be where the error is.

The Terms of Service is the page terms of use is the old one generating a 404. We click on links from legacies links from a lot of different places.

How to fix 404 errors from ht access file

How to fix 404 errors from ht access file

We can fix 404 errors from the ht access file. If we do this we don’t need plugins. So, how do we fix this? For this, you just need an FTP client or access your site through the file manager whichever you’re more comfortable with.

I am using FTP in this case. I am open my ht access file in sublime text. I go right down at the bottom add some white space. So you can see what is going on here and I’m going to type in redirect 301 spaces.

 We take the slug of the page that can’t be found and we put it into the 404 terms of use like this and then we get the URL of the page. We want to redirect to which in this case is Terms of Service.

So, we copy that paste it in here get rid of the extra white space down below. If you have any because that can cause problems I just used it so you could see the code better now.

If I click on it; I save the file upload complete. If I click on this now it should redirect me here terms of use trying to load and it’s now redirected to Terms of Service.

And that’s how we do a 301 redirect to fix a 404 error. We can mark this as fixed and mark this as fixed is okay.

And now we have that taken care of you can go through all of your 4/4 and fix them exactly. The same way you either pick a place to send them or if it’s a page you want to create you didn’t create the page.

An example of how to fix 404 errors

An example of how to fix 404 errors

Again, we will see how to fix 404 errors, for example, this page right here web page speed test to ping down results. If you wanted to fix this, you can redirect to a different page using the process.

We just did or create a page with that slug and to do that we just go into the website into the dashboard.

First, let’s click on it here open it. And we’ll prove that it’s a 404 and I take this slug up here and copy it. Then I go to the pages and then add new and this page what the slug is updates the capitalization a bit.

But that is a text click on the publish, and now if we go back out here refresh this page. It will no longer be a 4/4 I recommend you add more content than that is not quite cut it.

But we can fix a 4/4 in another way. We have to create the actual page which available or that missing.  We looked at it when we have clicked on the mark that is a fixed click.

Then now go through and fix every other 4/4 in the Google search console and keeping on top of this helps your rankings.

I don’t keep on top and this is a job to do for the weekend or whenever our spare time which is kind of never that’s why this isn’t being done and that’s how we fix four fours so that’s how it works.

Conclusion (how to fix 404 errors)

I hope this post “how to fix 404 errors” is helped you to fix your site’s errors. As I said above you can fix it by using WordPress plugins or doing ht access file but you have to do it.

If you want more information about digital marketing and Facebook Marketing then you can get from this blog’s posts; which are providing to you free of cost, just you have to do is read the posts.