Archive for September, 2008

Search Engine Optimization and Dynamic URL’s

I was in a pub in Toronto the other day and a couple of guys sitting next to me started talking about their websites and why Google was having a hard time finding their products. The first man commented that he was using a shopping cart and by knowing what cart he was using, I was able to tell him what his problem was.

It’s actually a pretty common problem when it comes to Google but for none technical people let me explain what a Dynamic URL is and how you can avoid the pitfalls associated with them.

First, what is a URL? Well a URL is a Uniform Resource Locator, in other words the address you see at the top of a web browser. My URL for example is http://www.thisismyurl.com

Now the problem that Google has is that it’s a computer. Possibly a wonderfully clever computer but still a computer. As such it crawls the web looking for new pages and comes across them by indexing the URL and page paths associated with your website.

Second, what is a page path? That’s the physical address of your page in association with your website. For example, if could be /about/ or /contact/. Regardless of what it is, Google looks at it and uses that information as much (or more) than the content on your page.

So with that in mind, if your page path was http://www.thisismyurl.com/store/, Google would assume this was a store. It would add value (or weight) to your site based on this assumption but that’s rarely a good example of your store URL. Most likely, the address to a specific product in your store is something more like http://www.thisismyurl.com/store/product.php?p=72 which tells Google nothing about you or your business.

The site address above is what we call a Dynamic URL, it will change depending upon the product that you’re looking at and while that’s great because it saves a lot of hand coding, it’s tragic for search engines such as Google. Remember, getting your website listed in Google is like a game of Marco Polo where you really want to get caught.

To help Google understand what your product is, we need to get rid of the Dynamic URL by using a Static URL which describes your product. This can be done through a thousand different ways but my personal favorite is by using something called a .htaccess file on your Linux server (that’s where you host your website).

Third, what is a .htaccess file? It’s a special Linux command file which will override the regular behavior of a website at the most advanced level of a web host. We use this file to control aspects of our website beyond basic server interaction.

The contents of each .htaccess file will be different but how it works is basically the same. By placing the following file onto a web server, I will be able to tell Google more about my products and less about the software I use to do it.

  1. Options +FollowSymLinks
  2. RewriteEngine on
  3. RewriteRule store/(.*)-(.*)\.html$ store/product.php?p=$1

Now, what the guts of the line above are is the statement store/(.*)-(.*)\.html$ which tells my website to look for any files called from within the store/ directory which include something-something.html. For example, it will now recognize the website address http://www.thisismyurl.com/store/72-Blue+Shoes.html or http://www.thisismyurl.com/store/72-this+is+my+product.html and know that I want to do something special with that information.

What I want to do with it is described in the second part of my statement store/product.php?p=$1. I’m telling the web server to take the first something value (represented by the $1) and query the page store/product.php?p= with the value. Since my value from the earlier example is $1==72, it will return the same result as if I loaded the page http://www.thisismyurl.com/store/product.php?p=72 directly.

Why does this work? Simple. Google is clever but it’s looking for certain things, it wants your website to help it put information in the right places. By describing your product constructively in the URL, you’re assisting Google in cataloging your product while still allowing for dynamic pages.

There are a ton of great tutorials on how to accomplish this now that you know why you want to do it.

Care Connections

careconnections Care Connections imageWorking with Norah Mallory, I put together this website for the St. Joseph’s Hospital Foundation. The website is powered by WordPress which makes it easy to add, or update content but also features my first WordPress plugin designed to power the fund raising thermometer.

You can see the website online at http://www.careconnections.ca/

Ruin My Date

ruinmydate 300x288 Ruin My Date imageWhile I was teaching at the Center for Arts and Technology here in Fredericton, I kept walking into local coffee shops at just the wrong moment for students which caused awkward silences with their dates. Eventually one girl in particular suggested that I put up a website so that I could sell my services. :)

Feeling Blue

Feeling Blue

blue Feeling Blue imageThis piece was created from an original photograph and heavily modified in Adobe Photoshop during the summer of 2005. For a while I offered it for sale as a printed piece. These days, it’s simply available online as part of my portfolio.

Dark Lady

Dark Lady

dark 206x300 Dark Lady imageThis piece was created from an original photograph and heavily modified in Adobe Photoshop during the summer of 2005. For a while I offered it for sale as a printed piece. These days, it’s simply available online as part of my portfolio.

Green Vase

Green Vase

greenvase 240x300 Green Vase imageThis piece was created from an original photograph and heavily modified in Adobe Photoshop during the summer of 2005. For a while I offered it for sale as a printed piece. These days, it’s simply available online as part of my portfolio.

Rodonic Corporation Website

Rodonic Web Site

rodonic a 300x300 Rodonic Corporation Website imageRodonic Corporation was my first shot at running something more than just a design studio, it was a full time technology studio offering business and government clients throughout the Ottawa region programming and web services.

The website design for Rodonic was one of my favorites.  It’s actually funny to see that my creative style hasn’t changed a lot since this was first created in 2002. I’ve refined my style but still aim for muted hues, gentle grays and faded images.

The website is long gone now, but I still have a couple of images of the original artwork.

Business Card for Rodonic Corporation

rc business card 300x171 Business Card for Rodonic Corporation imageWhen I was running our little design group in Ottawa, we needed a technology image that would easily communicate our high tech nature.

This full color business card was designed to have rounded corners and be printed on a thick, 14pt stock.

Reading Promotes Terrorism

readingpromotesterrorism 231x300 Reading Promotes Terrorism imageYears ago, I had a website called Planet Bush where I posted a lot of fun anti-Bush materials. After I got a job at DFAIT I thought it would be a good idea to take it down but I kept some of my favorite design pieces.

When I was a young boy my mother always told me that if you don’t have anything nice to say about somebody, don’t say it to there face. This poster was from a series of anti-war, anti-Bush materials from an old website called PlanetBush.

Save Democracy

terroristsleeper 231x300 Save Democracy imageYears ago, I had a website called Planet Bush where I posted a lot of fun anti-Bush materials. After I got a job at DFAIT I thought it would be a good idea to take it down but I kept some of my favorite design pieces.

Yes, I know it’s easy to make fun of Bush now but I was doing it years ago :) I just came across this on my hard drive today and it cracked me up so now I’m sharing it with the world.

Download Now

Loyal American Kids

funforkids 231x300 Loyal American Kids imageYears ago, I had a website called Planet Bush where I posted a lot of fun anti-Bush materials. After I got a job at DFAIT I thought it would be a good idea to take it down but I kept some of my favorite design pieces.

This piece was really pretty lame, I think I found the clipart on a free website and put it together as a coloring book activity sheet. The joke was that of all my work, this one has had the most number of complaints over the years.

Download Fun for Kids