What is Software 404 and 404 Error and what is the difference between them

What is Software 404 and 404 Error and what is the difference between them
First of all, what is 404 and soft 404?
404: Simply put, when a user enters a link to a page that does not exist, the returned page will be represented by a 404 code.
Soft 404: Soft 404 means that when the page a user visits does not exist, a 200 code is returned instead of a 404 error code. Guide users to continue visiting the website.
I think you have already seen the difference between them:
404: Returns a 404 error page to the user, with the HTTP status code being 404;
Soft 404: Returns an error page to the user with a status code of 200.
So under what circumstances will soft 404 appear?
Generally speaking we divide it into:
1: Server configuration error;
2: There is an error in the website program or template;
3: The website is attacked maliciously;
4: Caused by the website administrator’s mistake.
How to deal with soft 404, at this time we can use robots.txt file or nofollow to prevent the crawler from crawling the pages you don’t want it to crawl. For ordinary users, soft 404 will inevitably lead to a high page bounce rate. So, in order to achieve a better user experience, we can appropriately modify the soft 404 error prompt page instead of returning to the system default page or even the website homepage.

<<:  Javascript closure usage scenario principle detailed

>>:  The first step in getting started with MySQL database is to create a table

Recommend

Javascript common higher-order functions details

Table of contents 1. Common higher-order function...

Deploy Varnish cache proxy server based on Centos7

1. Varnish Overview 1. Introduction to Varnish Va...

Analysis of the Linux input subsystem framework principle

Input subsystem framework The linux input subsyst...

What are inline elements and block elements?

1. Inline elements only occupy the width of the co...

Why is the disk space still occupied after deleting table data in MySQL?

Table of contents 1. Mysql data structure 2. The ...

Summary of commonly used tags in HTML (must read)

Content Detail Tags: <h1>~<h6>Title T...

TortoiseSvn Little Turtle Installation Latest Detailed Graphics Tutorial

There were always problems when installing tortoi...

This article will show you how to use Vue 3.0 responsive

Table of contents Use Cases Reactive API related ...

MySQL full-text fuzzy search MATCH AGAINST method example

MySQL 4.x and above provide full-text search supp...

Summary of Docker common commands and tips

Installation Script Ubuntu / CentOS There seems t...

Detailed explanation of pure SQL statement method based on JPQL

JPQL stands for Java Persistence Query Language. ...

Detailed explanation of the practical use of HTML table layout

When is the table used? Nowadays, tables are gene...

How to use CSS media query aspect-ratio less

CSS media query has a very convenient aspect rati...

iFrame is a great way to use it as a popup layer to cover the background

I have been working on a project recently - Budou ...

Introduction to JavaScript conditional access attributes and arrow functions

Table of contents 1. Conditional access attribute...