O'Reilly logo

WordPress Responsive Theme Design by Dejan Markovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying 404.php

404.php is the page that shows the warning message when end user tries to go to a page that doesn't exists, for example: http://localhost/topcat/page1234 as you can see in the following image:

Modifying 404.php

Here, we first search for the term (# 1), and then we get the message (# 2). Below the message, we get the search box (# 3)—same one as in search.php—so we can search for something that exists in the system, as maybe, we have misspelled the page. Below that, we see some other widgets (# 4)—Recent Posts, Most Used Categories, and so on—that will give us more options to find the stuff that we are looking for. So, at first, we should change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required