Shaun Mccran

My digital playground

02
O
C
T
2011

Google is tweaking my search results

...And I don't really like it.

Maybe Google thinks that it is serving up more relevant results as it is filtering down the results based on things I've said or done, and things either Twitter or Facebook contacts have said.

[ More ]

29
J
U
N
2011

Bulmers Cider using QR codes to track and target landing pages

QR codes have been around for a while now but often people struggle to see any real value in them, or how to use them and obtain measurable results.

This blog article describes how the UK Cider manufacturer Bulmers have added a QR code onto their product labels and are effectively tracking QR scans through to a specific landing page within their site.

[ More ]

10
M
A
Y
2010

The SEO way to safely redirect a Page or folder using 301 redirects

In a recent project we are restructuring a site to be more intuitively architected. But what impact will moving the directories or pages have on all that hard earned Search Engine Ranking Optimisation work?

This article deals with how to safely redirect users from an old page or folder to the new URL, and keep Search Engine's informed of your changes without leading them to dead content (Dead content is bad and will adversely affect your Site rankings).

[ More ]

08
J
U
N
2009

Redirecting a URL using 301 or 302

If I want to redirect a URL I will usually try and do it on the server side, as this seems like the best fit solution to a redirect. It can be done server side, or in code, examples of both are below.

Whether it is an entire site redirect or a page move necessitating a URL redirect there are some small, but key differences in how to do it.

Differences in 301 or 302 redirects

The 302 redirect is a temporary redirect that indicates to browsers and search engines that it is not a permanent change. This is all well and good, but some engines will overlook this due to knowing that it is a temporary change. Google for instance will not index redirects of this type, effectively leaving your users pointed at the wrong URL.

The 301 redirect is a permanent redirect. It is much more search engine friendly, as they will not skip over it. They read it and cache the destination template as the end point, rather than using the redirect url, so saving your users that extra jump.

Implementing the redirect

In IIS:

  • In internet services manager, right click on the file or folder you wish to redirect
  • Select the radio titled "a redirection to a URL".
  • Enter the redirection page
  • Check "The exact url entered above" and the "A permanent redirection for this resource" (This makes it a 301 redirect)
  • Click on 'Apply'

In code:

view plain print about
1<cfheader statuscode="301" statustext="Permanent redirect">
2<cfheader name="Location" value="http://www.redirect-url.com">