Over the last day or so I’ve been tweaking SEOgadget to load a little faster on page refreshes. It was getting quite slow with all of the conditional routines and server requests in this theme. The Ubuntu category targeted adsense blocks were the final straw, with the entire sidebar being such a dog that the rest of my page load performance was terrible. Most of my performance optimisation work focused on improving the sidebar and header but there are still lots of other areas to improve. If you’re interested, check out Joost’s excellent tips on how to speed up and clean your WordPress.
Dynamic title tags
While I was working in the header I decided to try a little code to the alt and title tags on my site logo to try to improve the overall relevancy of my pages to the subject they discuss. I’ve got H1’s and H2’s and some reasonably good content so where to next? Here begins “dynamic title tags”.
If you look at the html code for my logo in this post it should look like this:
img alt="Richard Baxter's SEO Blog" title="Make a dynamic title tag in your blog header logo" src="http://36bvmt283fg61unuud3h7qua.wpengine.netdna-cdn.com/site-logo.gif"
Here’s how it’s done:
<span><a href="http://builtvisible.com/"><img src="http://36bvmt283fg61unuud3h7qua.wpengine.netdna-cdn.com/site-logo.gif" title="<?php
the_title(); ?>" alt="Richard Baxter's SEO Blog" /></a></span>
the_title tag into your title attribute you can add just a little more relevance to your optimised blog title without doing any extra work. I like those types of SEO tweak!
How much difference will this title attribute modification make to your search engine rankings? Honestly, no idea. The outcome of these tiny SEO tweaks are always unpredictable and all I can say is, why not give it a try yourself? I’ve recorded some metrics to help me to decide later down the line.