Getting Rid of Random Characters Appended to the URLs of Your WordPress Posts

Earlier today I noticed that among the WordPress blogs I run, Technical Blogging was the only one that generated a random string of characters appended to the permalinks of my posts. It looked something like this:

http://technicalblogging.com/a-new-blog-a-new-adventure/#.Tu9uCXN5vmM

My first assumption was that this was some sort of hash used by the WP Super Cache plugin, but even disabling that didn’t get rid of the issue. After investigating the code a bit, I was able to track the issue to a window.location.hash call in a JavaScript file that’s used by the Add This plugin.

Comparing the Add This settings of my various blogs, it immediately became clear that this annoyance was caused by having Track address bar shares checked. Unchecking that option got rid of the extra #. hash string.

Here are the full Add This settings I now use for this blog:

Add This settings

This enables Facebook, Twitter, Google+ counters within posts and pages, but not on the homepage or on other archives/categories.

Should you be experiencing this same problem, unchecking that particular setting, as you can see here, is all you need to do to remedy the issue.

A New Blog, a New Adventure

As many of my friends, colleagues, and followers know, I’ve been working on the book Technical Blogging: Turn Your Expertise into a Remarkable Online Presence for the past few months.

I wrapped up writing a couple of weeks ago and the book is now headed into production phase, where any additional intervention on my part will be limited and the heavy lifting will be left to the fine folks at The Pragmatic Bookshelf.

Over two hundred and fifty pages is a lot of writing on any subject, no matter how much you love it, and I’m currently enjoy a bit of rest from this recent large scale project. This small break from writing has given me the opportunity to think about what I’d like to do next.

Despite being a very passionate programmer, a few years ago I caught the internet marketing bug. I’m thankful I did, as it has brought me plenty of satisfaction and many economical rewards as a web entrepreneur.

This is to say that I’m the rare breed of programmer who doesn’t despise or belittle marketing. Quite the opposite actually; I love it.

As such I realized that I’m not quite done talking about blogging and internet marketing; I’ve only began to delve into it. Therefore I’m launching this new blog, aptly named after my book, for the following three reasons:

  1. I want to share my knowledge about technical blogging with an as large audience as possible. While the book is admittedly selling extremely well even before it’s gone to print (it’s in beta as of December 2011), I’d like to reach an even larger group of people. Blogging is the best way I know of to achieve this goal.
  2. I’m a fan of eating my own dog food. Within the book I outlined a great plan to transform virtually anyone into a successful blogger. I have done it before, but I intend to follow my own plan and advice to the letter with this blog and showcase how things turn out.
  3. I’m a business man. There is plenty of money to be made by sharing your knowledge online through a blog. As I help other people do what I’m already doing with my technical blogs, I’ll also get to increase my influence and income through this blog as well.

The third point is self-serving, but there is nothing wrong with that. When you work hard at something, it’s totally fine for those who find value in what you do to end up rewarding you economically for all your diligent effort.

That’s the very spirit of entrepreneurship and much of what makes modern society a comfortable place to live.

Periodically I’ll detail the progress of this blog, in terms of statistics and perhaps earnings as well (as I touched on in the book regarding some of the other blogs I own).

For the time being, I encourage you to subscribe to this site via email or RSS feed, for free, insightful, no-fluff tips on how to become a successful blogger.

If you are not convinced, check out the about section where I outline my mission, what’s in store for you here, and who my target readers are.

Happy blogging!