Usefull 404 Error Page in WordPress

Launching this blog I needed to re design the 404 Error page.

I think an error page should give some information to the user.

In WordPress you can find a file called 404.php in your theme folder.

Now you can edit whatever you want but whatever is gonna change do it usefull.

In my case I use this code to show the latest 5 news posts:

See it in action:

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> by using this tags.