SEO

.htaccess Mod-Rewrites for WWW Domain Name Prefixes


Quite some time ago now I wrote about the importance of 301 redirects for SEO purposes.
In a minor addition to that post here is a snippet I often use to ensure search engines do not view http://yourdomain.com and http://www.yourdomain.com as duplicate content.

To perform a redirect from domain.com to www.domain.com, insert the following code into your .htaccess file.

# mod_rewrite in use
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{http_host} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

To perform a redirect from www site to non-www site, use the following code in .htaccess file.

# mod_rewrite in use
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^domain\.com
RewriteRule (.*) http://domain.com/$1 [R=301, L]

.htaccess Mod-Rewrites for WWW Domain Name Prefixes Read More »

Website Analytics Introduction

With the powerful and free solutions available you would have to be crazy not to use website analytics. However for most people analysing the data means little more than viewing the visitor count and informing potential advertisers of the figure.

Used correctly analytics can be much more useful as an error checker, a marketing tool, a usability tool, and an ecommerce tracker. Lets examine some basic ways of getting more out of your analytics.

There are a lot of analytics packages, – personally I find the offering from Google to provide everything necessary. Google Analytics

Bounce Rate
Bounce rate is the number of people who after arriving at your site dont look at another page and leave straight away. This statistic is generally represented as a percentage of your total visitor count.

Make no mistake, bounce rate is very important. A high bounce rate can be an indicator of serious problems with your site. It could be the that your calls to action that are ineffective at engaging your visitors, or worse that your content is lacking.

Common causes of high bounce rates can be:

  • Site errors and broken links
  • Non-engaging content
  • Poorly placed calls to action
  • Poorly targeted advertisments

Conversely a low bounce rate can often illustrate a site that has engaging content that people want to read more of as well as effective ways to draw people in further. For example related content lists or invitations to try a product.

A 30% bounce rate is a good figure to use as a rough guide, whereas over 50% shows room for improvement.

It is important to realise that acceptable bounce rates differ for some types of websites. Blogs often have high bounce rates because people often click through from RSS feeds and tweets to read only that single web page. 60% could be considered a good figure for a site like this, and anywhere from 70% – 80% is ok. Over 80% could be cause for concern.

eCommerce sites are an example of sites that benefit from low bounce rates. They can draw people into investigating other products, reading more content on the site, and potentially making more purchases. Amazon is very good with their suggested items at doing this.

Conversion Rate
The conversion rate is the number of people who fulfill your goal. For an eCommerce site this is generally a completed checkout, for websites that require you to register (Twitter for example) it is completing the sign up form and for a business site it could be a completed enquiry form.

Conversion rate is another percentage, – the amount of people visiting your site that are carrying out the actions you want of them.

If you have a clear path to your goal (e.g. a certain process of clicks), set up a funnel to see where people are falling off. Where are they dropping shopping baskets, and where are they encountering errors on web forms? Overly complex forms are often a barrier to goal completion.

If you do not have a single set path, comparing where people come from to get to your goal pages can be valuable. If people arrive from one page but not another then compare both pages and contrast their differences.

Conversion rates are often surprisingly low; 3% is good conversion rate for completing a transaction on an eCommerce site.

Once you have established why people are or arent completing your goals and have fixed your issues and calls to action, then is time to look at where people are going after converting. Are they staying on your site or exiting? If they are exiting, then perhaps you are missing opportunity to upsell.

Percentage of visitors viewing target pages
Tracking target pages is similar to tracking conversions however these stats offer different values.

For example consider a conversion page being a completed checkout page.

Target pages could be an information page for a business site, or an individual post for a blog.

In most cases pages such as these are the first steps towards goal completion. Viewing a product is generally required prior to completing a checkout and viewing a business service is the first step to getting in touch to ask about that service.

It starts to become clear where a strongly defined funnel can really help to benefit your analytics. If people are getting to these information pages and not completeing a conversion, consider where they are getting lost.

Examine searches and post search actions
Tracking site search is something very few people tend to do, overlooking a valuable resource for finding out what your visitors actually want.

To illustrate if the search results revealed people searching for an item that was not stocked it would make sense to start stocking that item or offer substitutes.

Post search actions can have two results

The search reveals the item

The user goes to the relevant page and remains on your site.
or
The user doesnt go to the relevant page, revealing a problem with the search results. It may not be returning the results it should be, or perhaps the search results are not displayed in a way the visitor can understand.

The search does not reveal the item
Do not let these visitors leave if possible
The “Did you mean” search suggestions on sites like Amazon and Google are great examples of turning a negative into a positive with search results by offering alternatives to keep your users from leaving.

Site search reveals what your visitors want, – without it even being necessary to ask!

Website Analytics Introduction Read More »

SEO Keywords and Tags

We had a client today with a triple figure for keywords. Guess what? Less can be more!

A few tips on selecting relevant keywords:

  • neither too general, nor too specific
  • in common usage
  • relevant to the site in question

General keywords will be competing against millions of other search results, while becoming too specific will attract better searches, – there will be less of them. Finding the balance is our goal here.

People tend to search in two to four word phrases, (single word searches are very uncommon) so make your keywords realistic.

Keyword placement

Dont limit yourself to the document body text, remember:

  • headline text (H1, H2, etc)
  • header tags: title, meta
  • HTML comments
  • URLs and links
  • image ALT tags

This barely scratches the surface of this subject, – what else can you add to it?

SEO Keywords and Tags Read More »

301 Redirects

A 301 redirect is an efficient and Search Engine friendly method for webpage redirection. It is relatively simple to implement and it should preserve search engine rankings for that particular page should you need to rename or move it. The code “301” is interpreted as “moved permanently”.

There are multiple ways depending on your server and scripting platform, however I will deal with ones most relevant to Boolean clients.

PHP page level redirects:

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>

.htaccess domain level redirects (Apache Mod-Rewrite moduled must be enabled)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.new-url.com/$1 [R=301,L]

You can test your redirection with the Search Engine Friendly Redirect Checker available here.

301 Redirects Read More »