php - which is better, a 404 error page or redirecting to the front page -


I was under the impression that the 404 redirect on the front page is considered bad. All websites should have a 404 page. But at the same time I see a lot of people in those forums who want their site to be redirected to the front page in the name of 404. Which is good

Definitely a 404 page that sends 404 pages or 404 error pages or redirects to the front page

  • This prevents problems with duplicate content (frowns on that search engine)

  • It shows to users then When their URLs are outdated or they have typed something incorrectly

  • People redirecting incoming visitors to the front page I can say that it creates more annoyance because it does not give the incoming users a clue about the resources they were seeing. A good 404 page, possibly with intelligent link ("What were you searching for ...?") And a site map, is the best option


    Comments