0% found this document useful (0 votes)
32 views13 pages

How To Fix 404 Error

Error 404 occurs when a web server cannot find a resource at a specified URL, often due to user error, deletion, URL changes, or misconfiguration. There are two types of 404 errors: hard 404s, which return the actual 404 status code, and soft 404s, which mislead users by returning a non-404 status code. To fix 404 errors, users can correct links, set up redirects, add content, remove URLs, or restore corrupted files.

Uploaded by

bosikel861
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views13 pages

How To Fix 404 Error

Error 404 occurs when a web server cannot find a resource at a specified URL, often due to user error, deletion, URL changes, or misconfiguration. There are two types of 404 errors: hard 404s, which return the actual 404 status code, and soft 404s, which mislead users by returning a non-404 status code. To fix 404 errors, users can correct links, set up redirects, add content, remove URLs, or restore corrupted files.

Uploaded by

bosikel861
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

404

HOW TO FIX
Mohammad

Fakhruddin Repost & Share


What Is Error 404?

An HTTP error 404 occurs when the web server cannot


find a resource (like a webpage) at a certain URL.

This can happen if:


1. The user has used the wrong page URL, e.g., by
making a typo in it
2. The website owner has deleted the resource and it’s
no longer available on the server
3. The website owner has changed the URL linking to
the resource
4. The website owner has misconfigured the website so
that the server can’t find the resource

Mohammad

Fakhruddin Repost & Share


Pro tip

Semrush’s Site Audit tool can quickly identify


404 errors and show you how to fix them.

Try it for free today.

Mohammad

Fakhruddin Repost & Share


What Does

a 404 Error Look Like?

Mohammad

Fakhruddin Repost & Share


Other messages you may see on

404
error pages include:

“The page you are trying to access doesn’t exist”

“This page has been moved or deleted”

“The requested page URL can’t be found”

But all 404 error pages have one thing in common:


the code that gave them their name.

Mohammad

Fakhruddin Repost & Share


HTTP status codes
are relayed every time you visit a site.

There’s a whole language around which numbers mean


what. HTTP status codes are always three digits. And
they come in five categories.

Mohammad

Fakhruddin Repost & Share


‘Hard’ vs. ‘Soft’
404 Errors
A soft 404 occurs when a page shows a "not found" message but returns a
non-404 status code (like 200). It misleads users because the page seems to
exist, though it doesn’t.
A hard 404 is when the server returns the actual 404 status code, clearly
indicating the page doesn’t exist.
Users who navigate to the URL “A hard 404 is when the server returns the
example. actual 404 status code, clearly indicating the page doesn’t exist.” on
Peloton’s website will see this “page not found” error message:

But this URL actually returns the 200 status code.

Mohammad

Fakhruddin Repost & Share


Impacts of 404 Errors

1 Poor User Experience

Search Engines Being Unable to


2 Rank Your Page

3 Reduced SERP Presence

Mohammad

Fakhruddin Repost & Share


How to Identify 404 Errors
on Your Website

1 Use Semrush Site Audit

2 Use the Dead Link Checker Tool

3 Check Google Search Console

Mohammad

Fakhruddin Repost & Share


Pro o maintain a good user experience, remove
the URLs to these unwanted pages from your

tips
website nevertheless. That way, users can’t
access them.

Mohammad

Fakhruddin Repost & Share


How to Fix Your Website’s
404 Errors

Mohammad

Fakhruddin Repost & Share


Correct the Link:
1 If a typo causes the 404 error, fix the link. For
example, change “/hello-wold” to “/hello-world.”

Set Up a Redirect:
2 Use a 301 redirect if you've moved a page. Redirect
users from the old URL to the new one seamlessly.

Add Content to the 404 Page:


3 If the URL is still needed, add or restore content to
remove the error.

4
Remove the URL:
Delete the broken link from your website, and set
up a redirect if users still try to visit it.

Restore .htaccess File:


5 If your .htaccess file is corrupted, restoring it can
fix site-wide 404 errors. Get developer assistance
if needed.

Mohammad

Fakhruddin Repost & Share


MOHAMMAD FAKHRUDDIN

Let’s make the


Linkedin a better place.
YOU CAN HELP! JUST SHARE THESE TIPS WITH FRIENDS

Your turn…

You might also like