Intro to my new WordPress Plugin: The Comment Redirector

My blog posts have never inspired many comments over the years, and I’m cool with that. Because of the lack of comments I disabled post comments long ago to simplify my life. Everything was good, but I always felt post comments should be supported in some way. I just didn’t want to be the one to do it. I didn’t want comments on my blog and I didn’t want them in my database. I wanted to completely offload them to another service and direct users there. Hence, the Comment Redirector!

Here were the Comment Redirector Plugin’s design goals:

  1. Offload comments to another service and away from my blog
  2. Provide a unique permalink at the bottom of each post to where that post’s comments were located
  3. Easy entry of that comment redirection Url for blog posts
  4. Template-based comment redirection HTML message that could be easily modified

Before we get any farther, let’s look at the comment redirector HTML message.  You can see it live at the bottom of this post.

The G+ “Comments to Importing a Big Honkin’ BlogML.xml… are located on this Google+ Post…” redirects anyone who wishes to comment to a Google+ post. The redirection message only appears if I’ve entered a Url in the post’s Comment Redirection Url property.  We’ll see that in a second.

“What about Google Plus comments!” you ask? You’re right, that is a very cool plugin. Embedded comments automatically appearing with every post. Nicely formatted and full-featured. Yes, a great service. I have two issues with the Google Plus Comments service that inspired the Comment Redirector.

  1. I want comments offloaded completely, not have them appear on my blog.
  2. I wanted a post discussion to have a single URL on the comment service, in our case, on Google+.  (You can redirect comments to anywhere, not just Google+.) I don’t know if you’ve ever entered a comment on a Google Plus Comments WordPress Plugin, but even though all comments appear at the bottom of the blog post, each comment becomes a new post on Google+. With the Comment Redirector, all comments share a single Google Plus post.

Here’s a Google+ Post to where comments for the “Big Honkin’ BlogML.xml” post are redirected.

Entering the Comment Redirection Url is fast and easy. Once the Google+ Post that announces the NixMash blog post is created, we grab that G+ post url and paste it in the blog post’s Quick Edit form.

I’ll be writing up a couple of posts on the technical aspects on the plugin. For now, here’s the plugin on the WordPress Plugin Gallery.