Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top