If i send a 404 response code and after that i serve my home page like

header("HTTP/1.0 404 Not Found");
include("index.php");

Will that cause to penalty or ban the page or its content?

有帮助吗?

解决方案

According to google: https://support.google.com/webmasters/answer/2409439?hl=en A page that have a status of 404 will neither affect your rank nor will cause a penalty for your website.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top