Archive for the ‘SEO’ Category

New Website? Redirect traffic with 301

Thursday, November 13th, 2008

Launching a new website is exciting stuff: a re-designed, re-structured, compliant, search engine friendly website that unleashes a richer user experience upon your existing (and hopefully new) customers. This takes a lot of hard work! But just before you replace the old site with the new one, consider all the old site’s pages that have already been indexed by Google, Yahoo et al. And don’t forget about those all-important in-bound links!

The above consideration is especially important with large dynamic websites, such as e-commerce stores. It may have taken years for search engines to index all your site’s content and by changing the URLs these indexed pages would now become dead links, causing the user to see a 404 error page – not the best sales incentive. It really isn’t that hard to redirect old URLs to new ones.

For example, your old URLs may look like this:

  • www.yoursite.co.uk/shop.php?category_id=10&product_id=20

And your new ones like this:

  • www.yoursite.co.uk/sports-equipment/tennis-rackets.html

For those who won’t glaze over at the site of some code, here’s a couple of examples using Apache’s mod_rewrite and php:


RewriteCond %{QUERY_STRING} category_id=10
RewriteRule ^/?shop\.php$ http://www.yoursite.co.uk/sports-equipment/? [R=301,L]

In the above example (created within an .htaccess file) we are looking for any query strings (anything after shop.php?) that contain the category ID of 10, which in this example is referring to sports equipment. If the condition is met then send a 301 (permanently moved) header and rewrite the new URL to the location: /sports-equipment/. All of your indexed pages within the category will now be redirected to the sports equipment page.

  • www.yoursite.co.uk/shop.php?category_id=10&product_id=20
  • www.yoursite.co.uk/shop.php?category_id=10&product_id=30
  • www.yoursite.co.uk/shop.php?category_id=10&product_id=40

The problem with the above example is that it will only take the user to the main category page and not the actual product page – it’s really just a “catch all” method. Furthermore, you might end up with writing hundreds of lines of code, depending on how may categories are within your online store. However, in many cases it’s often best to try and capture and redirect each individual indexed page to the equivalent page, within the new site. One way of doing this is illustrated in the example below.

RewriteRule ^shop.php /redirect.php [QSA]

In this example (also written within an .htaccess file) we are looking for any page that begins with shop.php and passing the query string (using Apache’s QSA flag) to the redirect.php page (shown below).


$product_id = (int) (isset($_GET['product_id'])) ? $_GET['product_id'] : 0;
$query = “SELECT product_name,category
FROM products
INNER JOIN categories
ON products.category_id = categories.category_id
WHERE product_id = ‘$product_id’ LIMIT 1”;
$row = mysql_fetch_array($this->db->getquery($query));
$new_url = “’Location: http://www.yoursite.co.uk/”.$row[‘category’].”/”.$row[‘product_name’].”.html’”;
header(’HTTP/1.1 301 Moved Permanently’);
header($new_url);
exit;

In the above example we have a php page which retrieves the unique product id and performs a query to lookup the related category and product name. This is then used to build the new URL path and send a 301 redirect. This is just a basic example and can be elaborated upon.

SEO: Striving for traffic may compromise usability?

Thursday, August 14th, 2008

I recently had the pleasure of collaborating with one of the World’s leading search marketing agencies. Our role was to re-design and develop one of our existing clients websites (a printing company selling business cards, leaflets, stationery etc.) and the agency’s role to was provide the SEO (search engine optimisation). I have chosen not to reveal the identity of the SEO company (for professional reasons) but shall refer to them throughout the rest of this post simply as “the SEO experts”.

I must admit, I was quite exited with the prospect of working with the SEO experts; they’re at the top of their game, have a very impressive client list and we would gain great insight into their SEO strategy and implementation process, both on-site and off-site.

Some Background Info

We first designed and built our client’s website over two years ago and, at the time, we didn’t place too much emphasis on SEO - back then we knew a lot less about SEO and it wasn’t such a hot topic! Having said that, since the site launched in July 2006, our client’s company went from strength to strength; winning multiple awards and increasing their turnover four-fold, to around four million (GBP) per year.

I believe that a large part of the old site’s success was due to the ease of use; simple navigation, clearly defined products and a straightforward, no-fuss, checkout process. However, in order to constantly entice large volumes of traffic to the site, our client was spending a jaw-dropping amount on their Google AdWord campaigns. As competition increased, so did their “pay per click” (PPC) charges and now our client is seeking to reduce some of their AdWord budget and boost site traffic with a good organic ranking. It makes perfect sense. And I’m sure that many businesses will be able to relate to this problem.

The New Website Structure

So after all of the above, obviously one of the main objectives for the new website was to be search engine friendly. The other main objective was not to dramatically move away from the current site’s ordering process, but rather make subtle improvements. From a usability standpoint, the site had been tried and tested and had a proven track record - not only from the multitude of orders the site had received, but we had accumulated just under 10,000 individual feedback responses from the site and were given some great ideas on how to improve the site, from a customer’s perspective.

After conducting their keyword and competitor analysis the SEO experts drew up their site-plan, which was sent to us for implementation. The main structure consisted of:

  1. a new site navigation structure, including hierarchal product organisation (e.g. Home > Business Cards > Matt Laminated Business Cards);
  2. segmentation of the existing, non product related, navigation (e.g. about us, terms and conditions, FAQs);
  3. a new naming convention consisting of new URLs, page names and navigation anchor text; and
  4. new product blurb (keyword-rich), including an HTML tagging structure (e.g. <h1>Product Title</h1><p>product <strong>keywords</strong> go here</p>)

All in all, very concise.

However, something troubled me with the new site structure. On closer inspection, the new product page titles were very keyword-rich, to the point where it wasn’t representative of the product they were describing. Furthermore, there were now more products available to choose from, within the product menu. For example, the old website had 1 type of printed Leaflet, accessible directly from the product menu:

  • Leaflets
  • Folders
  • Banners

The new site had expanded the Leaflet menu to 3 types, underneath the Leaflet’s landing page:

  • Leaflets
    • Folded Leaflets
    • Double sided Leaflets
    • Single Sided Leaflets
  • Folders
  • Banners

I can see why the SEO experts have done this; Increasing page volume and copy, including high-traffic key words/phrases within the anchor text etc. etc. However, on the old website the user could compare the Leaflet prices at a glance:

old site example

The old website's Leaflet page - prices change dynamically (using Ajax) when an option is selected.

To view the same information on the new site the user would choose “Leaflets”, from the menu, and then select “single-sided leaflets”. To then view “double-sided leaflets” the user would need to navigate away from that page and onto the double sided leaflet’s page. From my experience, this decreases usability and increases complexity - not something an ecommerce site, or any other website should appear.

What raised my concerns even higher, were each Leaflet’s new page title:

  • Leaflet Printers
  • Leaflet Design
  • Cheap Leaflet Printing

Once again, I understood the rationale behind this, but will the product description affect the user’s confidence when choosing to buy a product? Say you were looking to buy “1,000 folded leaflets”, if the product is being described as “Leaflet Design” wouldn’t this cause confusion? What about when the product is described as “Cheap Leaflet Printing” when the leaflets are actually high quality? In fact our client wouldn’t want to describe their products as anything less.

My point is that the old site worked. So would it be necessary to increase the site’s traffic to change the way in which the user selects, views and buys products? I believed there was a compromise to be found. In my view, an understanding of our client’s product range and how customers like to choose those products didn’t appear to have been considered by the SEO experts.

Another point that raised my concern was the SEO expert’s decision to split part of the old site menu and place it further down the page, quite out of view from the user. We were told that these links were to receive the “no follow” attribute, in order the divert PageRank and increase the quality of the page. Some of these menu items were:

  • FAQs
  • Terms & Conditions
  • Delivery Information

From our own user-interaction analysis, taken from a number of ecommerce websites, we have found that to increase conversion rates, the potential customer must be able to easily find key information in order assure themselves of any uncertainties prior to the sale. Browsing FAQs, T&Cs, returns policy and delivery information are absolutely essential to bolster confidence about both the product and the merchant’s service.

We were overruled! After all, they are the SEO experts! I guess the proof will be in the eating of the pudding!