Home » Wordpress22 December 2009

WordPress: Optimizing 404 Page Not Found page

Generally the wordpress 404 page contains one or two sentence saying that the page is not found. But you can make it more user friendly. Instead of just writing plain text about page not found, we can display archive list and a search form. In this way, the visitor can search or browse your website instantly. This is a nice way to keep your visitors within your site.

Copy the following code into 404.php file of your theme. With this change, you will be able to see search form and archive list in 404 page of your site.

Thanks.

Wordpress

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed