
You might wonder what on earth has happened to me today posting about search engine optimisation instead of guitars?! Well last week Google released an SEO starter guide which is a very useful pdf document for all site owners and I wanted to relay some of the changes I made to Guitar Noize after having a browse. Sorry if you use WordPress or Movable Type but I’m sure there are similar ways to achieve the results that I am going to explain.
Firstly, why am I using Expression Engine? Well this is simply because I have been using Ellis Labs’ Code Igniter php framework for well over a year now for large scale projects so I figured if a company makes such a great php framework then their CMS must be pretty good too. Unfortunately until the next release (version 2) it still doesn’t really bare much resemblance to Code Igniter but I have decided to stick with it and hopefully the 2 will become more closely coupled.
So what changes have I made to help with my Google rankings? Well the first is a very simple change, when I first started Guitar Noize I had the page titles reflecting the main post title but with the words Guitar Noize in front like this:
Guitar Noize – Gibson’s Dark Fire is here!
This was initially to help get my name out there, I later read that it was frowned upon by Google and it was better to have your brand at the end, so I changed the title tag to output this:
Gibson’s Dark Fire is here! – Guitar Noize
Well after reading the SEO document it seems Google really don’t appreciate this either which is fair enough, there really is no need. They say that every page should have a totally unique title so all I had to do was drop the branding and instantly my SEO has been slightly improved! Easy. Here is my new Title tag:
<title>{exp:weblog:entries}{title}{/exp:weblog:entries}</title>
The second tip is a little more in-depth and relates to your meta tags, in particular your keywords. Google states that in order to be fully optimised for their indexing algorithm the keywords must be relevant to your page and not just the same keywords site wide. Previously I had been putting a list of keywords and then appending the keywords with the post title using some php in my template but today I made a change which hopefully will really help boost my Google ranking.
When you log in to Expression Engine click on the Admin tab and then the Weblog Administration link. You will see, 3rd link down, Custom Weblog Fields. We are going to create a Custom Field that can be used to manually insert keywords for your post each time you publish and then output them into your meta tag. Click on the Custom Weblog Fields link and then with the Default Field Group click on the Add/Edit Custom Fields link. Ok thats a lot of clicking I know but hang in there, we’re almost done! You should see a button on the right that says, Add a New Custom Field. This is the page where you will create your Keywords field for your publish page. Enter the Field Name “keywords” (this is your variable name) then the Field Label “Keywords” (this is the label which will show up in the Expression Engine publish view, finally change the Default Text Formatting for This Field from “xhtml” to “None”. If you think you are going to need more than 128 characters you can also change this under the Field Type where it says Maxlength, I have set mine to 255, this should be plenty. Finally click on update and the field is set up and ready to go. Now edit one of your posts you should see the new Keywords field under the Extended Text section, add some relevant keywords and update, next we’ll make them show up in your template!
Now edit your template, mine is called Comments which is the template that shows individual posts. Find the the meta tag in the head of your html page called keywords, it should look something like this:
<meta name="keywords" content="" />
Now if you have just started your blog you can enter the following code and your template will be in business straight away:
<meta name="keywords" content="{exp:weblog:entries}{keywords}{/exp:weblog:entries}" />
However, chances are you are updating your template and have existing posts, which, if you use the above code will mean you need to edit every post you have ever made to have keywords otherwise they will be blank so what I have done is to add an if, else statement which checks if there are any keywords entered for the post and if not outputs a set of default keywords. Here is how it is done:
{exp:weblog:entries}{if keywords}{keywords}{if:else}Guitar, Electric Guitar{/if}{/exp:weblog:entries}
And that is it! It looks harder than it is, if you follow my instructions step by step you will be up and running in no time and you will instantly improve your Google SEO which hopefully will lead to better Google rankings!
Don’t worry I’ll be back with something Guitar related tomorrow!
UPDATE: I should also mention that you can use the exact same process I explained above for your meta description by creating another custom field.





.png)

No comments yet. You should be kind and add one!
By submitting a comment you grant Guitar Noize a perpetual license to reproduce your words and name/web site in attribution. Inappropriate and irrelevant comments will be removed at an admin’s discretion. Your email is used for verification purposes only, it will never be shared.