Justin Shattuck

Archive for April, 2009 Monthly Archives

Alright, so a few days ago I sent a status update (tweet) to twitter and facebook informing my friends and followers that I was hosting a petty contest. The contest itself is simple, you guess a number between 1 and 1000 and if you nail the number dead on, I will give you a $50.00 iTunes Gift Card. However, if no one guesses it directly, whomever is the closest will receive a $30.00 iTunes Gift Card. The idea is super simple, guess a number, get a card (if you’re a winner).

First, I spent a good portion of my whee early hours this morning cleaning up some Wordpress Database issues I found to be absolutely hideous. First and foremost the post revisions offered up by Wordpress now-a-days is definitely useful and an appreciated feature; but it has some serious database issues that I find really annoying.

So, let’s first disable Wordpress’s post revisions by modifying wp-config.php in your web root:

define('WP_POST_REVISIONS', false);

Just throw that code in your wp-config and we can move on to removing the revisions from the wordpress database with:

DELETE FROM wp_posts WHERE post_type = "revision";

If you’re like me, you probably renamed your table prefix in Wordpress’s config (wp-config.php), if so just adjust wp_posts to reflect your wordpress table prefix. That about does it!

Visitors love interaction, especially a personable approach at gaining their attention and spiking their interests. Increasing the overall readership of your blog revolves primarily around content, accessibility and presentation. In an attempt to gain return readers and possibly subscribers, I present the newest version of Comment Relish: Version 2.0!.

Monthly Archives Other dates of posting

March 2010

February 2010

July 2009

April 2009

March 2009

November 2008

August 2008

March 2008

February 2008

December 2007

November 2007

October 2007

September 2007

August 2007

June 2007

May 2007

April 2007

March 2007

February 2007

January 2007

December 2006

November 2006

October 2006

September 2006

August 2006

July 2006

June 2006

May 2006

The version of my website you are viewing is currently out of date. The content is still here as an archive and you are free to continue browsing it, however, I do recommend you check out my current homepage for more up to date information.

Sponsors

Text Link Ads

Flickr Photostream