Tag Archive | "Wordpress"


WordPress Jetpack has powerful features


Jetpack is a free plugin for self-hosted WordPress blogs from WordPress.com that adds a plethora of new features and functionality. Stats and Shortcodes are among the most popular of its thirty modules. I’ve just added three powerful new Jetpack features to my blogs and to client blogs. They are Publicize, Photon, and Enhanced Distribution.

Publicize. Autopost to Facebook, Twitter, and LinkedIn.

Crossposting from blogs to social media is important, as focus inexorably shifts from blogs to social media. A blog is great for branding and as a home base. However, there is increasingly engagement on social media than on blogs. Jetpack Sharing appears on the Edit Post page directly under Publish. You can choose which sites to crosspost to. Best of all, it does a superb job of formatting the posts. It doesn’t schedule autoposts in the future, maybe a future version will.  If you need to autopost in the future, use Hootsuite.

Photon. Content Distribution Network for images.

CDNs host blog data and images on their servers across the country and planet, which cuts load on the blog itself and speeds delivery to users. The original images remain on your blog. The CDN copies them to its servers and that’s what users see. Some CDNs practically require a PhD to configure (Hi W3TC!) and while they offer much more, Photon will put all your images on WordPress servers with one click. Highly recommended.

Enhanced Distribution gets your content out there faster.

The plugin in author explains:

Turning off Enhanced Distribution will prevent your published posts and comments being sent to the companies that consume the WordPress.com firehose. This doesn’t mean they can’t get the data; it’s all available on your site feed. It just means they get it faster and they don’t have to poll your site.

The benefits might not be immediately apparent but they are there. Every company that receives firehose updates has the opportunity to show your content to more people.

Performance used to be an issue with Jetpack as it bogged down the site. These issues appear to be resolved. However, you should disable all JetPack modules you aren’t using.

Posted in Blogging

Woot! I fixed a cranky WordPress plugins conflict

Coders and bloggers can do the victory dance too…

Geek alert: this will be highly technical, convoluted, and no doubt indecipherable to many. A WordPress plugins conflict on this blog made it seemingly impossible to create a sitemap, no matter what I did. The problem appeared to be a problem deep with the innards of W3 Total Cache. If I deactivated W3TC, sitemaps were created. But I couldn’t stop using W3TC because it also publishes to my Amazon CDN.

A disk cache like W3TC speeds up a website by offering static HTML pages to visitors rather than re-creating the page each time with dozens of database operations, etc. The home page of this blog is written in PHP and accesses the database. W3TC makes a HTML copy of the home page and gives that to readers. It knows when a post is added or updated and automatically updates the cache.

W3TC also publishes all the images and much of the code on the blog to a content distribution network on Amazon, who puts it on servers across the planet. So, if someone in Japan looking at polizeros, they will be viewing a header image stored on Amazon servers in Asia rather than in Texas, where the blog is hosted at Rackspace. This allows much faster access to the blog and cuts way down on server usage. My bill last month from Amazon was about $2. This clearly shows the power and advantages of cloud computing. You only pay for what you use, with no monthly minimum charges.

A sitemap is a special text file that lists all the pages and posts on the blog. Search engines use them to quickly find and index what is on the website. But whenever I tried to create a sitemap with W3TC activated, a page not found error would occur when trying to view it. After trying several sitemap plugins, I settled on the BWP Google XML Sitemap plugin, got the error again, and emailed the developer.

Folks, when you email a developer, be nice! A grumpy inquiry may get ignored. My inquiry was friendly and he had the answer. Go to the 404 error section of the W3TC Browser Cache tab and change sitemap\.xml(\.gz)? to (sitemapindex|[a-z0-9_-]+)\.xml. I did so and the sitemap then created itself instantly. See, wasn’t that simple. :)

This took me about a month to figure out! And I of course sent a quick Thank You to the developer.

Posted in Blogging

WordPress. Jetpack bloated, slow.

This blog was acting sluggish. My webhost said something was eating up compute cycles because of large numbers of database hits. I deactivated plugins one by one and looked at the results after a couple of days but there was no difference. I installed a CDN via the excellent W3TC cache plugin and while the CDN is great, it didn’t solve the problem.

I then deactivated Jetpack, the one plugin that I hadn’t deactivated before because it was from wordpress.com and I assumed it couldn’t be the problem.

Jetpack was the problem. It apparently is a total resource hog. Once I deactivated it, the blog immediately became much more responsive. The stats now clearly show the difference.

More on Jetpack bloat.

There is an unofficial JetPack fork, Jetpack Lite, that only contains Stats and wp.me.

Posted in Blogging

Geeking out with WordPress, CDNs, and Amazon CloudFront

It is truly amazing how powerful and sophisticated WordPress is becoming. Even better, much of this functionality is available from free plugins and themes. (The developers of such products can make money by doing support, custom work, etc., after giving away the main product and building a user base.)

Here’s an example, using the disk cache program and theme that Polizeros uses. This blog was hitting compute cycle limits at Laughing Squid, where it is hosted. They said it was due to excessive database hits on the server while loading pages. I deactivated various plugins. monitored the results, but that didn’t help much.

Then, I discovered that the theme I use, the highly configurable Atahualpa, has an option to put CSS and JavaScript inline rather than external, plus you can compress CSS. I turned these options on. Google Page Speed went to 94 from 90. Okay, now we’re starting to get somewhere.

Home of W3 Total Cache

I then contacted W3 Total Cache and paid them to examine my cache settings. I had also just implemented Amazon S3 for storing data and images. They tweaked a few settings then advised me to use Amazon CloudFront on top of S3. W3TC has full support for both.

This is where it gets really powerful. Amazon S3 stands for Simple Storage Service. W3TC uploads all the images, CSS, JavaScript, and theme files from Laughing Squid to Amazon S3 where they are hosted, thus dropping load on Laughing Squid. CloudFront is a layer on top of S3 which takes the files from S3 and distributes them to servers across the planet. So, if someone in Scotland views Polizeros, much of it will be coming to them from the Amazon CloudFront site in London and not coming from the US. This obviously speeds things up for them.

S3 and Cloudfront are part of Amazon Web Services

Best of all, Amazon Web Services are pay as you go with no minimum fees. Everything I’ve just described might cost me 20 cents a day. Blogging has come a long way.

The Atahaulpa theme is amazing. It has 28 pages of configuration items. You can make hundreds of changes to the theme from the Dashboard. There’s no need to go mucking around in code. The entire look and feel of a blog can be changed in three minutes without touching code. But, and this is crucial, you do need to know what you are doing! You may not have to change code but understanding what it does and how a WordPress theme works is crucial.

W3TC has nine pages filled with complex configuration choices. It was written by Frederick Townes originally as the cache for giant tech site Mashable and then turned into a WordPress plugin.

Both of these fine products are free. That’s what makes open source so powerful and vibrant, large communities building software for the betterment of all.

As for those compute cycles, they dropped sharply after I went to S3 and CloudFront.

Posted in News

Contextly. Relevant links for WordPress

Contextly takes a new approach to having relevant links at the bottom of a blog post. Rather than attempting to find links based on the title of the post and the content, it lets you choose them. You can have internal links from the blog and external links as well. The interface is easy to use and the data is stored on their servers.

It only works on single post pages, so click the title of this post then scroll to the bottom to see what it does. I’m impressed, and they tell me many more neat features are coming soon.

Posted in Blogging

WordPress Plugins are getting sophisticated and powerful

In the past few months I’ve really ramped up using WordPress plugins, and they do some amazing things. All but two are free.

AddToAny is the widget at the end of each post which lets you share it on dozens of sites. I use it myself to to post to Twitter, Facebook, and Stumbleupon.

After the Deadline. Spell and grammar checker. Highly useful.

Akismet. Kills spam comments. Essential.

All in One SEO. Definitely improves visibility on search engines and does so completely ethically.

Backup Buddy. Backs up the database or the entire site and FTPs it to the Amazon S3 cloud. Fully automated. $45 and totally worth it.

FD Feedburner plugin. Takes all possible version of your main RSS and redirects them to Feedburner. This way someone subscribing to the RSS feed always gets Feedburner.

Pubsubhubbub. Instantly sends new posts to a cloud hub where they get picked up fast. With this, new posts on Polizeros literally appear in my Google Reader RSS feed 5 seconds later.

W3 Total Cache. The best cache around. 8 pages of configuration items (!) Be ready to spend some time learning it. Hint: If you are on a shared server, do not use database or object caching. It dramatically cut the load time here.

WordPress.com Stats. A great way to track how many people are on the site. Appears in the Dashboard.

WPTouch Pro. Displays the site in a mobile format for iPhone / iPad / Android / Blackberry. If using W3 Total Cache, you must allow and disallow various user agents in order for WPTouch Pro to work right. Both plugins explain what to do. $25 and also worth it.

What plugins do you use?

Posted in News

Speed up WordPress with W3 Total Cache

W3 Total Cache is an amazing, free WordPress plugin that when configured optimally results in WordPress blogs loading much faster, like this one.

If you want to view the home page in WordPress, it normally runs a PHP script, opens the database, populates the page with the data, then presents it to the viewer. If you have 10 (or 100 or 1,000) simultaneous readers, it does the exact same thing each time, which puts a big load on the server and is duplicated effort. A cache writes the home page to disk as HTML and presents that to readers, which takes vastly less resources and is much faster. If the home page changes, it simply re-writes the cached page.

W3 Total Cache does that, and much more. It has database, object, and browser caches as well as page caches, and eight tabs of highly detailed settings, which can be intimidating at first. I highly suggest reading Install and configure W3 Total Cache in 7 easy steps, which walks you through the process (45 page PDF on Scribd)

It also has Minify, which strips unneeded blank space, comments, and line breaks from HTML, JavaScript, and CSS, cutting down on the size of pages sent to browsers. This is one of the more involved options. I advise doing the others first, then this. If you do a View Source on this home page, you’ll see that the code is mushed together with Minify.

If your blog is on a shared server, disable Database Cache and Object Cache, as they say it can actually slow things down. Once I did that here, load times became much faster.

Polizeros is now getting load times of 2-3 seconds, and that’s because of W3 Total Cache. I highly recommend it for any WordPress blog.

Download W3 Total Cache from WordPress.

Posted in Blogging

Polizeros caching software change

Warning: The post is deeply geeky.

Polizeros is now running W3 Total Cache. You may notice the site is loading faster. (There were a few hiccups earlier in the day while installing it but those have been resolved.)

Caching software makes copies of frequently used pages, like the Home Page, then serves them up to those browsing the site. So, rather than WordPress having to load the php page, pull data from the database, then render the page, it simply uses the cached copy. This greatly cuts down on server usage and load, especially when you have hundreds of simultaneous users.

I switched caching software at the recommendation of Laughing Squid, our hosting company. Polizeros was bumping up against a compute cycles limit, which is the amount of processor time being used. They analyzed the site and said W3 is more powerful than the cache I was using and should help.

They may have a funny name, but Laughing Squid is the best host I’ve used. They host everything in the Rackspace Cloud. I can’t remember having downtime, and their tech support is superb. After some weird glitches trying to install W3 – which turned out to be a PHP memory limit issue – I emailed them and they did it for me.

Even better, if Polizeros does exceed the limits for the account, they simply upgrade the site in $4 a month increments so everything keeps going rather than blocking the site as some hosts do. That’s a big advantage of cloud computing. It scales as needed. Rackspace doesn’t do hosting for small sites per se, so that’s why I use Laughing Squid.

Big thanks to Jamie Holly at Intoxination for advice and help. If you ever get a 500 Server Error on your site or blog, check your .htaccess file, because that’s probably where the problem is. And make sure all remnants of the old cache are gone before installing the new one, otherwise a festive and alarming set of error messages may ensue.

Posted in News

New smartphone interface for Polizeros

If you view Polizeros on a smartphone, you’ll now get a very fast loading, intuitive interface, via the WPtouch Pro plugin. Let me know how it looks in your smartphone.

Posted in News

Digging Into WordPress. An essential book

If you have a self-hosted WordPress blog, you need Digging Into WordPress. It’s 400+ pages filled with useful info for bloggers and developers. I’ll be using what I’m learning here to set up CMS sites for clients as well as customize this blog. It’s really put the final pieces of the WordPress puzzle together for me. Thanks to this book, things that baffled me are now quite understandable. Like, how do magazine-style home pages in WordPress do a dozen articles in multiple columns? They clearly explain how to do it, with understandable cut-and-paste code snippets too.

Even if you don’t want to get up close and personal with the code, there’s plenty of tips and best practices for any WordPress blogger here.

Best of all, the PDF version is just $27 while and the book / PDF combo is $67. You can free updates forever on the PDF. (And the book is in spiral notebook format so the pages lie flat, a fine feature indeed, and the page numbers match the PDF.)

Posted in News


Morris Consulting


  • Legacy PC database migration to Windows. We convert your dinosaur app to a modern platform.
  • WordPress design and support. Business sites, blogs and ecommerce.
  • Data conversion