Everybody Staze...

Nobody leavz...

  • Home
  • About Me
    • LinkedIn
    • Lab
  • Contact
  • Links
  • Reviews
  • Sitemap
  • Weather
You are here: Home / Archives for wordpress 404 yoast binarymoon

404’s and sitemaps

2011/04/24 By staze

Just did a bit of a tweak to my site to address something that I always thought sucked, but never really looked into: 404s.

404s traditionally are ugly, and unhelpful. They say “can’t find what you’re looking for” and that’s about it. With the advances since PHP and CMS’s have come about, this doesn’t have to be the case. So, I’ve replaced my previously stock, and ugly, 404 page with the wonderful 404 info from Yoast, as well as implemented an HTML sitemap as per his other post here. The only other thing I did was modify the 404 page a bit so that if someone tries to look for a file on my site that’s a PNG, GIF, JPG, JS, etc, they get a basic “file not found”. This code came from here.

It’s all pretty boring, but I think it’ll make the user experience of my site a bit more friendly. And it’s more inline with Google’s current thoughts about 404 pages.

Filed Under: Miscellany Tagged With: wordpress 404 yoast binarymoon

Weather

Categories / Archives

  • Apple
  • Coding
  • Electronics
  • Energy
  • Home Ownership
  • Miscellany
  • Politics
  • Prius
  • Sys Admin
  • Travel
  • Uncategorized
  • Work
  • June 2026
  • April 2026
  • August 2025
  • April 2025
  • January 2024
  • February 2021
  • July 2020
  • January 2020
  • April 2019
  • March 2018
  • February 2018
  • June 2017

Copyright © 2026 · Staze On Genesis Framework · WordPress · Log in