• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom 404 error pages and webcrawler results

 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this is the best place to post but here goes.
I have a custom 404 page set-up on my server and, upon an unsuccessful search, I manage to get that 404 page. Is there a way to tell web crawlers that this page is really a 404 error page (i.e. return status 404 to it)?
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, set the response Status-Code to 404. If your 404 page isn't returning this status already it's not really a 404 page. Have you checked what status code your 404 page is returning?
 
Rob Hunter
Ranch Hand
Posts: 832
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting a custom 404 page on the server. Had to set the 404 link to be a File (not URL) first off. When checking what the status code was from the custom 404 page it was giving a 200 status code. Some more tinkering got it working.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic