Posts Tagged ‘web browser’

How much does web hosting cost?

When you have a website built for your company, there are a few hidden costs to consider in the overall price but nothing compares to the complexities of picking the right hosting company.

What is Web Hosting?

To understand what web hosting is, you need to understand that a website has a few key elements:

The Domain Name

This is the easily understood name that you share with people such as thisismyurl.com, thingsidoformoney.com, gamesgarrison.com etc. The domain name is the part of the website that we type into a web browser’s address bar to access the website. Generally a domain name costs between $7.95 and $15.95 per year, depending upon who you register with.

The Website

A website is the part of the process which visitors see, it’s generally a series of pages that make up a marketing or application package. Websites are scripted in a language called the HyperText Markup Language (HTML) and are stored as a series of files very similar to how you would store a collection of Word or spreadsheet files on your local computer. These files are simply placed in a directory on a hard drive, which is accessed by a special software application called a web browser.

Web Hosting

Now that we can appreciate a website is simply a series of specially formated documents, we can appreciate that we need to store those documents somewhere for everybody around the world to look at. In most small offices there is a shared directory which allows people from all departments to store files for others in the office to view. In larger companies, we make use of remote file sharing which allows users in one location to share files with users in countless other locations, this is what web hosting is all about.

Your website, which is a series of files and folders, is uploading to a hard drive connected to the Internet and shared for millions to access and see. The website uses a special piece of software called a Web Server to serve both static (HTML) and dynamic (PHP / ASP) pages to your visitors.

The key characteristics of a quality web host are:

  • Connection Speed - How long will it take to load the website, this is a key factor as people will leave slow websites.
  • CPU Speed – For websites using CMS tools such as WordPress, a fast processor will help load pages quicker, just like a faster computer will load Word documents quicker.
  • Reliability – Sometimes referred to as “Site Up Time” this factor represents how often a website is offline for maintenance or because of hardware/software failures.
  • Storage Capacity - How big can your website be? Most websites are only  five MB (Mega Bytes), or a couple floppy discs in size.
  • Transfer Bandwidth – How many times can your website be transfered to customers in a given month? Remember, each page your website contains has a weight or file size. Each time that file (and all the graphics are transfered) it consumes part of your transfer allowance.

Web Hosting Costs

Now that we understand some of the basics of web hosting, let’s take a look at some of the pricing options available for customers:

GoDaddy Hosting

Economy – 10 GB Space, 300 GB Transfer – $4.84 per month
Deluxe –  150 GB Space, 1,500 GB Transfer – $6.79 per month
Unlimited – $14.95 per month

BlueHost Hosting

Unlimited – $6.95 per month

Bell Aliant

Standard – 1 GB Space, 192 GB transfer – $14.95 per month
Marketer – 3 GB Spage, 288 GB trasfter - $24.95 per month

Upgrades for No More Frames

While there have been a lot of great fixes in the newest version of WordPress 2.8, the upgrade did some major damage to plugin formating. As a result I’ll be putting in an hour every day for the next couple weeks fixing the formating errors on a variety of plugins.

The No More Frames plugin for WordPress is an awesome plugin that helps websites avoid spam and content theft by breaking the frame when other websites attempt to load content into a frame based web browser.

How to exclude yourself from Google Analytics with WordPress

Without data we’re only guessing so it’s critical that we not only have great data to make decisions with but also that the data we do have is as free from corruption as possible. With that in mind if you run a WordPress website and Google Analytics, you’re most likely skewing your data without realizing it by visiting your own website.

To stop yourself from being counted as a visitor, all you need to do is add a simple piece of code to your websites header.php file that will read:

 

[source lang="php"]<?php
if (is_user_logged_in() == 1) {
if (wp_get_current_user()->ID == 1) {
setcookie("analyticsexcludeme", "analyticsexcludeme", time()+3600);
}
};
?>[/source]

Make sure the code is placed above the Google Analytics code (which I always like to place in the footer of my websites anyways). Once this code is placed in your header file, your website is updated but you’re not finished yet!

 

The code is only the first part, it’s what tells Google that you’d like to be excluded but now we need to actually exclude you.

Log into your Analytics account and click Analytics Settings.

Next, open the Filter manager (very bottom right corner).

Finally, add a new Filter with the settings:

analytics exclude me How to exclude yourself from Google Analytics with WordPress imageThis will tell Google to exclude all visitors who have the cookie “analyticsexcludeme” in their web browser, the same cookie we set earlier in the header code section of this tutorial.

How do you move a website to a new domain?

“… changing your IP address, webhost, domain name, blog template, and blog version all at the same time is the exact opposite of what you should normally do. It’s better to change only one thing at a time so that if something goes horribly wrong, you can trace what caused it.”

 - Matt Cutts (http://www.dullest.com/blog/switching-things-around/)

Why move a website?

First and foremost, why would you move a website? Well there’s a few reasons that I can think of right off the top of my head:

  • Your old domain name was inappropriate
  • You lost your old domain
  • You decided to change focus
  • You started on a sub domain and related to a full

What ever the reason, sometimes we have to move domains so the real question is … how do you do it right?

How to move a domain properly

Moving WordPress

First, lets assume that you’re using WordPress.

  1. Log into your phpMyAdmin or control panel and export the WordPress database to an SQL file.
  2. Save the SQL to your hard drive and open it in a text editor
  3. Search for the path of your old domain (i.e. thisismyurl.com) and replace it with your new domain (i.e. getawaygraphics.com) If you’re changing the path, (/blog/) to the root or something as well please make sure to search for the whole string!
  4. Search again! 
  5. Change your server paths. This is a UNIX friendly path that the server uses to identify where you are on that hard drive. For example it may look like /var/www/t/thisismy/public_html/. If you don’t know your server path use my phpinfo() plugin for WordPress to find it.

Installing WordPress on a new domain

Now that you’ve altered your SQL for your old WordPress website,

  1. Install a copy of WordPress on your new domain
  2. Open your phpMyAdmin or control panel and paste the edited SQL into your SQL query box
  3. Wait …
  4. Open your new website in a separate web browser. Assuming everything worked, you should be up and running.

One final note, I always like to re-save my permalink options at this point to ensure the server writes a proper .htaccess file as sometimes it seems to act up.

Search Engine Optimization for the new domain

Next, you’ll want to make sure that the search engines know that you’re new domain is the correct domain and that your old domain is no longer active. You can do this using what is called a 302 redirect. Pretty fancy right? Not really, we’re geeks but … it’s important and that’s where Matt’s post Switching things around comes in handy.

What image format should you use on your website?

There is nothing more complex about publishing on the web than the concept of images, they’re quite possibly the hardest part of HTML for the general public to get their minds around so let’s take a quic look at what makes an image complicated and how we as web designers and publishers can approach them in a simpler way.

Image Format

The first step to web graphics is to appreciate that images come in dozens (or hundreds) of file formats from BMP’s to TIFF’s and everything in between but when it comes to the web, there are really only three formats for you to think about:
  • The CompuServe Graphics Interchange Format (GIF) format (pronounced giff)
  • The Joint Photographic Experts Group format, JPG (pronounced jaypeg)
  • the Portable Network Graphic file format, PNG (pronounced ping)
Close up of the GIF file format

Close up of the GIF file format

These three file formats encompass the entire spectrum of Internet based graphics. The first format, GIF was introduced way back in the very first days of computer graphics (1987) and allowed people to exchange graphic files via an online community similar to America Online (AOL). The GIF format was limited to 8 bits of color (255) with some reserved for core data. It was a loss-less graphic format ideal for the graphics of 1987 but could hardly produce quality photos.
The GIF format stores each pixel of an image as one of 255 possible colors resulting in a crisp image. The GIF format however also had a number of unique benefits such as the ability to have invisible (alpha) transparent  pixels which when place overtop of other colors would allow the backgrounds to remain visible and the capacity to store multiple GIF images in a single file as pages. When displayed in a web browser or other image viewing tool these pages would appear as animations similar to old ‘flip book’ style animations.
In 1992 the  Joint Photographic Experts Group created and issued the JPEG standard to the world. These days we tend to call the file format JPG since old Microsoft based computers could only hand three characters as a file extension but the format is also known as .jpg, .jpeg, .jpe, .jif, .jfif  and .jfi. The .jpg format was an instant success, it quickly addressed the primary failings of the GIF format by allowing 24 bit graphics (16.7 million colors) and smooth transitions between the these colors using a lossy compression method … which is a fancy way of saying the graphics blended together.
Lossy file saved as both 20% and 80%

Lossy file saved as both 20% and 80%

In effect, how the JPG standard worked was to rapidly reduce file sizes by averaging the color values of a pixel with those around it. This caused massive reductions in file sizes allowing photographers to post 500kb images in extremely small (20-100kb) files while controlling the loss of quality. To the right you’ll see an image saved at 20% quality to the left and 80% to the right, both the difference in quality and the method JPG uses to reach the results should be evident.

Before I go on, I want to pause and take note of a statement I made in the above description because I’m sure most people missed it or brushed past without much thought … the JPG file format was introduced to the world in 1992. This phrase is critical because it reinforces how much the world has changed in just 17 years. For those of you who are under 20 years old, you’ll most likely have never known a world without Facebook or YouTube but for the rest of us, we sometimes forget the Internet is for all purposes a fairly recent addition to the world. I’m 35 years old and I remember the first JPG photo that I saw, the introduction of this format changed the way we shared images over computers.  Notice that I said it changed the way we shared images over computers? There was no Internet, or at least not what you see today.

In 1996, Unisys became uppity and started threatening to sue over the LZW compression found in the GIF format so the world invented the Portable Network Graphic format (PNG), along the way the format improved upon most of the qualities of the GIF and lost the capacity for animation. The PNG format has 8 bit graphics similar to the GIF but also has 24 bit like the JPG and introduced a new level with 32 bit graphics. While it lacks support for animation, it includes transparant pixels like a GIF. Unlike a GIF, where those pixels can be on or off the PNG allows for alpha transparency making the format extremely flexible and also capable of compressing images. The problem with the PNG format, is that it produces large files.

export dialog What image format should you use on your website? image

So which is best? Actually that depends entirely on what you want to accomplish with the graphics. As you’ll see from the image above the file size of the graphic can range from ~25k to ~430k depending on the quality you’d like to achieve.  Photographers for example should use the JPG compression most often to ensure their images are strong, crisp and colorful while illustrators and others who work with line art will benefit from the GIF format. In the end, practicing and experimenting are the best ways to determine what you should be using.

A quick thank you to the Old Shoe Woman for posting the a wonderful photo Sunlight Under a Live Oak Tree on Flickr for me to use as part of this tutorial. 

How to build a free website

There’s a secret that many web designers don’t want you to know, it’s that there’s no cost to building a website. In fact, you don’t even need special software to do it, everything you need is already installed on the most basic computer available today. In order to build a website, here’s all that you need:

  • On a Windows computer – NotePad
  • On an Apple Macintosh – TextEdit

textedit 300x281 How to build a free website imageNow that you have all the tools that you’ll need to build a web page, you need to understand a few things about building web pages.

How to Format a Web Page

Web pages are divided into two specific areas, the <head> and the <body>, each of these two areas does something specific and before you can build a web page, you need to understand the basic purpose of each section.

Setting up Your First Web Page

basic html How to build a free website imageFor a web page to be recognized by a web browser (the software application used to view a web page) we first need to tell the browser that our document is an HTML document. To accomplish this, all we need to do is place the code <html> on the first line of our document followed by </html> on the very last line of our document.

Once those tags are in place, most web browsers will understand that the content being displayed is an HTML document. I say most because technically, there is a bit more that you should put in there if you want to ensure the site is 100% compatible with all modern web browsers, but explaining the fine details of DOCTYPE structure is a little beyond the scope of today’s tutorial. Needless to say, placing the tags <html> and </html> will tell web browsers what your document is but if you’d like to technically perfect, place the following code instead:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
</html>

Once that’s done, remember that all other code must be placed between the two <html> tags to be recognized as valid HTML.

The <head> Section

The <head> tag of a web page is the reserved for things which other computers and software applications require to understand your web page properly. For example, when a web browser loads your web page there are specific things that it looks for in order to understand what language your site is in, what your web page is about and the name of your page. Within the head section, we want to include details such as:

  • Links to alternative content such as RSS feeds, XML site maps and mobile interface files
  • Javascript links and or content to help the functionality of our page
  • META data for robots to read including a page description, keywords and generator
  • Cascading Style Sheet (CSS) details or links
  • The document content type
  • Codes and robot commands for foreign applications
  • Pingback processing directives
  • The web page icon file location
  • Canonical labels for search engine optimization
  • Base directory directives
  • The title of your document

Sounds like a lot right? Well it is, and it’s all very important stuff. Essentially, the <head> section of your web page stores all the mechanical and client side information required to properly index, label, categorize and distribute your web page as well as the information needed to successfully display your web page in a users browser. I could write a whole post on each of the items above but for now, it’s simply important for you to know that the <head> is used to store those pieces of information and you can add them at a later date.

html with head How to build a free website imageAdding data to the <head> of the document is done the same way as all elements of an HTML document, by opening and closing an HTML tag. In this case, the <head> tag must be opened and later closed </head> in order to store the appropriate content. Between those tags, you may store a series of HTML or xHTML (we’ll talk another day about the differences) data devices for use in rendering your pages. For example, here is a basic <head> element for a common web page:

<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Untitled Document</title>
</head>

You will notice that in this basic example we only store the basic information required to make a web page work, the http-equiv which tells web browsers that the document being served is in text/html format (as opposed to text/rtf which is a Rich Text document or text/javascript which would be a JavaScript file) so that the web browser looking at this document understands it is an HTML page. untitled document How to build a free website imageAdditionally, the <head> contains the <title> tag which closes (</title>) after labeling the document Untitled Document. If you loaded the source code into a web browser, you would now see a blank document with no content displayed to the user but a new title at the top of your browser, labeled Untitled Document. This document title is the label being fed to the web browser from the <title> tag contained within the <head> of this document.

The <body> Section

If the <head> of a web page is the content being presented to other computers, then the <body> is the content being displayed to human eyes (or text readers) visiting your web page. Creating content on a web page is wonderfully simple. If you’d like to have a web page say hello, simply add the code:
<body>
hello
</body>
html with body How to build a free website imagePresto! You now have a fully functional web page, albeit a little dull. The <body> section works by displaying exactly what you type as content, so anything (and everything) you add between the two <body> tags will appear on your web page but you have to be careful, HTML needs the content marked up (labeled) to be properly viewed in a web browser. Just in case you didn’t know, HTML stands for HyperText Markup Language, a Markup Language is simply text that’s been formated to be read by computers. For example I can create my own Markup Language right now called Chris Ross’s Markup Language (CRML) that looks like this:
[-open-]Hello World![-close-]
Now I have my own Markup Language but since nobody uses it, it’s pretty much useless. On the other hand, everybody with a web browser uses the HyperText Markup Language (HTML) so let’s look at it. HTML has a handful of common codes used to display content effectively, they are:
  • <p>, always followed by </p> which displays text in paragraph format
  • <br>, which never has a </br> but instead is written <br/> in xHTML and represents a line break (where a paragraph is often displayed as two line breaks to separate content)
  • <ol>, which always needs a </ol> for ordered lists (numbered lists) and <ul> with a </ul> for unordered list (bullets), both also require <li></li> tags for each list item in the list to work
  • <b></b> or <strong></strong> tags mark text as important. The <b> tag was replaced with the <strong> tag a few years back since not all languages bold words to make them more important
  • <i></i> makes a word italics but like the <b> tag, was also replaced. These days, you can use <em></em> to place emphases on a word or phrase
  • <h#> tags are special and always need an corresponding </h#> tag where the # symbol can be replaced with the numbers 1 through 6 (<h1>,<h2>,<h3>,<h4>,<h5>,<h6>) which represents the level of a header in your document
  • <img /> will allow you to place images in your document but requires special parameters we’ll talk about another time
  • <a> followed by a </a> tag will hyperlink the text between the tags to another document but also requires special parameters.
  • <table> tags can be used to display tabular data (like charts) on a web page. It needs to end in a </table> tag and can include headers (<th></th>), rows (<tr></tr>) and columns (<td></td>). Why columns are <td> is beyond me, but that’s what they are.
  • <div> tags use a closing tag of </div> to divide content into various areas of a page, much like the <span> tag, the <div> tag has no visual effect on content but is used by programmers and designers to affect content.

Essentially, the ten tag structures above represent the HTML code found in every single web page on the planet. There are other tags, but have either been replaced or are simply bad tags. For example the <u></u> tag will underline content and the <blink></blink> tag is simply wrong … even the creator of the tag, Lou Montulli (it’s odd to think somebody actually invented a tag eh?) appears to wish it would simply die.

When put together, the <html> document label tells a web browser the information is a web page, the <head> indicates content reserved for other computer systems to read, while the <body> shows content to the end user.

In total, the 26 tags here represent the whole of the content required to build your own web site for free. If you’ve found this post at all useful, please feel free to leave me a comment below, thanks for reading.

Site Review – Famous Smoke

cigarsite 234x300 Site Review   Famous Smoke imageI was recently asked to do a review of a cigar website and I was lucky enough that the people who asked me let me post my opinions here on the site for all of us to see and read. I get asked to review hundreds of websites over the course of a year but most people are not willing to let me post my findings to a public forum so for me, this is a rare treat.

Let me start off by saying that all website designs are a matter of opinion, so regardless of my personal feelings about the colors and quality of the design, there’s a lot of great things about this site that we should go over. After we look at the negatives.

What I don’t like

Web sites that sell cigars should be just that, cigar websites. The should look like cigar websites, smell like cigars, even taste like cigars. This website, doesn’t. I’m personally having a hard time figuring out what this website looks like, especially when I’ve seen their sister website and I know the owners of this site know what cigars taste like. In my opinion, the site looks more (or at least the same) as a car parts website or a discount computer reseller. Perhaps that’s the theme choice but let’s take a quick look at their sister site which also promotes cigars and you’ll see the difference. 

The interface is busy and cluttered but worse of all, you have to dig deep below the fold to even see their product. The fold on a website is the point where a web browser cuts off, everything after it you need to scroll to find. In the case of this website it cuts off half way through the Back to Jamaica promo, well before seeing product.

Cigar PhotoThe website lacks great photography. You know, this always ticks me off. Cigars are sexy, they’re phallic but they’re still sexy. Even in our politically correct world, a fine cigar is one of the great images of wealth and power. To not use a quality photograph on the site seems lazy. The image to my right is courtesy of Andrew Osterberg and took me less than a minute to find on Flickr.

Back in my days at the Hudson’s Bay Company, we had three divisions. The Bay, Zellars and a now defunct discount store. The first was where we sold expensive items for households that liked spending money, Zellars was for average families and the third was for people on a budget. In order to appeal to people on a budget, we used solid orange and black ink in our flyers, cramming content into pages and low quality photos. Our flyers looked cheap so that our prospective customers thought our store was cheap, this site reminds me of that design theory.

What I do like

footer 300x105 Site Review   Famous Smoke imageI absolutely love the footer of this website. All you aspiring web designers out there, take note of this amazing piece of work. Why’s it so amazing? First off, you have to establish what a footer is for. It’s a little like the index of a book, few people even know it’s there until they need it. The footer acts the same way and in this case gives weary website surfers a lifeline at the last minute, helping the prospect find exactly what they’re looking for.

Also, a little known fact about web surfers … if they’re lost, they go to the bottom and oddly, read from the bottom up. Maybe it’s a conditioned habit but with that in mind the first thing they see when they get lost? An email address, fully hyper-linked and ready to go. Sure, this will result in a bit more spam for the people managing the website but it also increases their orders and lowers problems for their customers.

The other thing I love about their footer? Brand piggybacking. Using logos such as BillMeLater and SafeSite, they’re doing a few things:

  1. Adding color to a drab site, visually this is very appealing
  2. Reassuring their customers that they’re a valid retailer
  3. Co-operative advertising works both ways, BillMeLater gets more recognized and in return, this site ‘borrows’ some of the credibility of the other.
  4. Clearly identifies shopping options. People fear getting too deep into a shopping cart before being told how to pay. 

Concusion

Overall this website is a basic template theme with little thought given to the customer’s shopping experience. I’d shop here but only if the prices beat other, similar websites.

Five Techniques to Increase Web Traffic

Getting people to your website is critical but those people have to be the right people, so how do we increase website traffic while also ensuring the people that we’re attracting are the right people? Let’s start by assuming that honesty, integrity and quality are the three most important parts of a website and building from there.

Titles – Proper Labels Help Increase Traffic

Page titles are often overlooked in our zeal to build web traffic but by most reports they are the most important single piece of the puzzle. Your page title in located within the section of your HTML document, between the <TITLE></TITLE> tags and is piece of text displayed at the top of your web browser, within the chrome. Remember, search engines (such as Google) are robots, they use a series of math formulas to calculate the importance of your page, one of the factors they look at is the title of your page.

Make sure your page title is related to the content that you’re displaying and that the words you’ve used to display your content is key word rich. My title for example is Five Techniques to Increase Web Traffic, this is both descriptive for the article that I’ve written as well as a common search phrase in Google.

PermaLinks – Your Document Path

The second part of the puzzle for increasing your page traffic is a little known trick called PermaLinks. Usually when people write a post they save the file in HTML as something like traffic.html and store it on their website. Even my favorite publishing tool WordPress saves (by default) a document with the URL ?p=## to represent the article but what search engines are looking for is help to understand your post and what it really is.

PermaLinks come to the rescue by converting your page title Five Techniques to Increase Web Traffic to an effective path used by web browsers to display your article. In this case, my PermaLink slug is five-techniques-to-increase-web-traffic which clearly demonstrates to Google what my page is about. By using PermaLinks, Google (and other search engines) now know that my web page is located at http://www.thisismyurl.com/five-techniques-to-increase-web-traffic/ and as such, this page must have something to do with Five Techniques to Increase Web Traffic.

Headers – Using HTML for what it was made to do

A few weeks back I was in a meeting with some web designers and one young designer mentioned using the <center> tag. After I finished bludgeoning him with an available laptop, I got to thinking how amazing it is that 15 years after the rise of the Internet people still use the wrong tags. Headers are the same, they have intrinsic value but most people have no idea how (or why) to use them.

Again, let’s remember that Google is a computer and that computers are only as clever as the people who made them, then it stands to reason that the people who programmed Google followed some fairly basic rules. One such rule was the purpose of header tags in developing pages. According to that logic then, <H1>-<H6> must have a hierarchal value structure, determining the importance of content on a document.

Simply put, something in the <H1> tag must, according to HTML publishing structure be more valuable in determining what a document is about that an <H2> or <H3>. So, if you want traffic sniffing robots to know what your page is about, use the power of heading tags to help determine it.

File Tags – From Names to ALT’s

We’ve already covered the fact that the actual name (or path) of your document is important but what about the rest of your page content? Surprisingly, it’s equally critical.

Images for example should have filenames that describe the content. For example, instead of uploading an image and calling it P0234234.jpg, calling it one-tree-in-winter.jpg will assist robots in understanding and indexing your filename. Should you page be about One Tree In Winter, these robots will truly understand the relevance of the image. To add to this, placing an ALT tag in the image tag “One Tree In Winter” will further help and ensure your website is accessible to the blind.

Anchor tags are another source of information for search engines, include a title in your hyperlink which describes the target page and you’ll increase the value of the link for robots.

Content – The true king of SEO

With all this said and done, what is the best way to increase traffic to your website? Quality content.