Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog

Having 404 pages in our Wordpress blog is a pain in the back, this usually happens in Wordpress blog and the cause is vary probably because of the visitor write a wrong url address while trying to access our page or we accidentally or deliberately remove the page, thus the page no longer exist and 404 page appears to replace the removed pages.

And in this post, I will share the information to adorns your 404 pages to be visitor friendly by adding features. This feature will change the default look of 404 pages, actually you can put anything in your 404 pages even ads, but I’d rather to add something which have related to my blog like category, popular posts, most commented post and so on.

Here’s the trick, login to your WP dashboard and go to Theme editor and click 404 page (404.php). Let’s say you want to put “popular post”, “recent post” and “category” in your 404.php page, then add the following code to it:

<h2>Popular Posts</h2>
<ul>
<?php akpc_most_popular(); ?>
</ul>
<h2>Recent Posts</h2>
<ul>
<?php query_posts(’showposts=10′); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href=”<?php the_permalink() ?>”><?php the_title() ?></a></li>
<?php endwhile; endif; ?>
</ul>

<h2>Category</h2>
<ul>
<?php wp_list_cats(’&title_li=’); ?>
</ul>

(To display popular post in your 404 page you need “popularity contest plugin” by Alex king, download here, and to have recent post you need recent post plugin.)

And to see the example see my 404 page: Click here.

That’s the simplest way to adorn your 404 page, to retains visitors going away from your page. I hope this post useful to you, and see you in the next post in the Busby SEO Test Blog and happy new year and wish you all the best!

Related posts:

  1. Split Wordpress Page Into 2 Pages
  2. How To Display Ads On Homepage Only In Wordpress
  3. Permalink Migration Plugins To Permenantly Moved Ugly Permalinks Into Pretty Url
  4. SEO Your Wordpress Category With Description
  5. Wordpress Bloggers Should Join WPScoop

Abi

OIOpublisher

11 responses to “Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog”

  1. WPscoop | Wordpress Social News and Bookmarking

    Story added to…

    Your story was featured in WPscoop | Wordpress Social News and Bookmarking! Here is the link to vote it up and promote it: http://wpscoop.com/Wordpress-Tutorials/Adorn-404-Page-In-Wordpress-To-Retains-Visitor-From-Leaving-Our-Blog…

  2. Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog | My Self Road

    [...] from: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog if(typeof(hyperweb_adcount)==”undefined”) hyperweb_adcount [...]

  3. Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog - John Chow’s Cow

    [...] from: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog in Busby SEO [...]

  4. Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog | Try To Make Money Online

    [...] from: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog in Busby SEO [...]

  5. Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog

    [...] from: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog in Busby SEO Test. Share and [...]

  6. Ngehack Halaman 404 Wordpress Agar Oke Punya | Rumah Abi

    [...] Di terjemahkan dari: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog [...]

  7. Daily Google Trends

    Keep up the great work ;)

    [Reply]

  8. Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our Blog « SEO World Cup Contest

    [...] Adorn 404 Page In WordPress To Retains Visitor From Leaving Our Blog in Busby SEO [...]

  9. eranyWrenna

    yo, rumahabi.com great name for site)))

    [Reply]

  10. Permalink Migration Plugins To Permenantly Moved Ugly Permalinks Into Pretty Url | Blogger Tips & Tricks

    [...] But you’re left without a choices to change it, because you don’t want your pages become 404 pages if you change them into more cute permalinks. No problem because there are number of plugins that [...]

  11. Adorn 404 Page in Wordpress to Retains Visitor From Leaving our Blog | Ask Me

    [...] from: Adorn 404 Page In Wordpress To Retains Visitor From Leaving Our BlogAbout the [...]

Leave a Reply