Posts Tagged ‘Good SEO’

What is the difference between SEO and SEM?

Monday, December 14th, 2009
I've heard of a fire engine, but what is a search engine?

I've heard of a fire engine, but what is a search engine?

The difference between SEO and SEM is that SEO stands for Search Engine Optimisation while SEM stands for Search Engine Marketing.

Strictly speaking SEO means targeting just search engines.  It is concerned with getting your site as far up the Google, yahoo and Bing rankings for chosen keywords as possible.  Achieving that is done in many ways.

SEM on the other hand has several meanings in regular use.  Some think of it purely as PPC (pay per click) advertising campaigns.  These are the ads you see on the right of the search results in search engines, and occasionally occupying the top slots.  I like to think of it as much more than that though.

When I think of SEM the word marketing takes priority.  I like to think of Search Engine Marketing as encompassing SEO but taking into account the user experience.

Let me expand on that.  A site may be extremely well optimised from an SEO perspective, ranking well in the major search engines, but that does not mean that the site is a good user experience.

It is a mistake to put SEO ahead of user experience.  I’ll give you an example. The following is SEO optimised text

Car washing by the car washing experts.  At Car Washing Ireland we wash cars all day every day.  When it comes to car washing we are the number one car washing company in Ireland.  If your car needs car washing then you have found the right site.  Contact us and one of our mobile car washing units will be dispatched to you and one of our car washing experts will have your car gleaming.  You will be so impressed with our car washing that you will return to car washing ireland again and again.

Actually, that is terrible SEO.  I have exaggerated it hugely.  The point is that SEO optimised text is not necessarily particularly readable text.  If the quality of English is high, then you use different words or phrases to describe the same thing.  This is at odds with SEO, where you want to repeat your key phrases.

The object is to achieve good legible text that a user will read, while retaining a keyword density that is reasonably high (though not much above 5% of total text).  It would be entirely better for both SEO and the user experience to write the above text with far fewer instances of “Car Washing”.

SEM (Search Engine Marketing) is all about S......elling!

SEM (Search Engine Marketing) is all about S......elling!

SEM is more holistic.  It encompasses good SEO techniques for on page content (but not at the expense of the user experience).  It also covers Social Media as well as PPC advertising and even banner or button advertising.  Search Engine Marketing is about selling your site online.

A lot of SEO’s make the mistake of using the meta description purely to put in keywords.  Same goes for the page title.

In the case of the meta description it is fairly likely that google does not include that text in any meaningful way in its ranking algorithms.  I am not saying that you should not put keywords into the meta description or page title, but use them to better effect.

Better effect means using them to sell.  To stick with our car washing example, The title can be “Car washing Ireland”, the meta description could read “Get your car washed at home or at work.  We come to you.  Discount for online booking”.  No key words.  Just good descriptive text that helps sell the service.

The whole reason for this post was because I am writing about Social Media and somebody asked me “what has social media got to do with SEO training?”.

Well these days you can’t market your website online without at least paying lip service to social media.  And if you know your stuff (or get Social Media Training) then you can really make it work for you in a big way.  Look at what happened with the Susan Boyle clip on You Tube.  She became an overnight, international sensation, from a clip of an audition!  Wow.  That just does not happen with traditional media.

Why do companies invest thousands of euros in SEO training?  It’s all part of their marketing mix.  SEO is marketing.  Therefore, SEO is SEM and SEM includes SEO.  By the way.  I’ve just broken a rule there.  I’ve overused the phrases again (my site may pay for all this bad SEO!).  I was only playing with words, but be careful.  Remember we are dealing with dumb machines (no matter how good the algorithms are).  They do not see a bit of word play, but rather an attempt at keyword stuffing, which can hurt your ranking.

So, SEM is all about selling.  SEO is just about trying to get better ranking on Google et al.

One of these days I’ll learn to write short concise posts, but I hope that I’ve cleared up the difference between SEO and SEM somewhat.

A common Mod_rewrite mistake

Thursday, November 26th, 2009

Rewriting dynamic urls like

www.mysite.ie/information.php?page=information&id=45

to

www.mysite.ie/45/information.htm

using mod_rewrite makes sense for your users.  It is easier to read, and should somebody be good enough to give you a link then they are less likely to make a mistake ending in a 404 error.

So what is the mistake?

In two words… “Capital Letters”.

If you rewrite the previous to

www.mysite.ie/45/Information.htm it is not the same as www.mysite.com/45/information.htm.  A link to the wrong version will again lead to a 404 error.

The mistake seems to come about as a result of good coding practice.  We might right $myDetails when writing our back end scripts.  This makes our scripts easier to read and makes sense.

However when we write www.mysite.ie/45/myDetails.htm as a url it is looking for trouble.

Good SEO will remove as much user error as possible.  As soon as you use caps in your urls you are opening up a mine field.  You WILL end up with bad links, with users who can’t access pages when they try to type them directly and will eventually have to rewrite them.

Get it right in the first place.  www.mysite.ie/45/my-details.htm is a much better way of doing it.

Which leads to another question “-” (dash) or “_”(underscore)?

When you look at a raw link (no css applied) then the answer is clear. An underscore will be swallowed up in the underline that shows it is a link.  Therefor a dash is definitely the better option.

“I don’t need to rewrite my urls.  Google can read dynamic url’s just fine.”

That is true, but websites are not just for search engines.  Make life as easy for users and, from an SEO perspective, for those that will give you links, as you possibly can.

How do I rewrite a page?

Let us assume you want to rewrite the page

http://www.mysite.ie/myinfo.php?page=myinfo&id=45

to

http://www.mysite.ie/45/my-information.htm

In your .htaccess file (apache) write the following

Options +FollowSymlinks
RewriteEngine On

You just need to write that once.  Then the rewrite code…

RewriteRule ^(.*)/my-information.htm/?$ myinfo.php?page=myinfo&id=$1

That’s it.  So what does it do?

In plain english the line says take any characters that come before /my-information.htm (in our example this is 45) and make them into a string ($1 in this case – but if there were two (.*)’s then the second would become $2). Then rewrite that to myinfo.php?page=myinfo&id=45 (it took the dynamic 45 from the regular expression (.*) and created $1  from it before adding it to the final url.

Warning.  www.mysite.ie/anything/45/my-information.htm will also be affected by this expression. Your $1 would then become “anything/45″ which would undoubtably mess with your GET statement.

Simply by changing around the page you can get around this.  There are other ways too but this is the simplest method and means you don’t have to learn as many regular expressions.

Instead of rewriteing it as www.mysite.ie/45/my-information.htm

we could rewrite it as www.mysite.ie/my-information/45.htm

The mod_rewrite would then be

RewriteRule ^my-information/(.*).htm/?$ myinfo.php?page=myinfo$id=$1

Done and dusted!