Posts Tagged ‘Organization’

Myths about SEO

Friday, April 16th, 2010

Stephan Spencer, a well known SEO expert who blogs at Search Engine Land has wrote an article covering a jaw-dropping thirty-six myths about search engine optimization.

Some of the ones I have long-time considered myths are:

1. “Meta tags will boost your rankings.

Sure you go ahead and think they will. Then, change your content to the point where your meta tags no longer match. Watch your rankings drop like a rock, at least on that page.

2. “Googlebot doesn’t read CSS.

How does one even begin with how false that one even feels? Are there people still out there who don’t think that Google won’t pick up on:

<div style=”display: none;”>KEYWORD KEYWORD KEYWORD KEYWORD KEYWORD KEYWORD</div>

Please. That trick is so old it’s crusty.

3. “Placing links in teeny-tiny size font at the bottom of your homepage is an effective tactic to raise the rankings of deep pages in your site.

Please see #2. Ridiculous. Absurd. Silly.

  • Facebook
  • Digg
  • Twitter
  • StumbleUpon
  • Reddit
  • Share/Bookmark

Custom error pages are icing on the cake

Sunday, May 17th, 2009

Many people go through tons of trouble organizing their site, building their brand, tweaking their online presence… you get the idea. So, if you’re bound and determined to make sure that your entire website is as “together” as possible, why then do so many people forget about custom error pages?

What are custom error pages?

Custom error pages allow you to show a fully branded page in the event of an error occuring on the website. There are five primary errors that are typically handled with custom error pages:

  1. 400 – Bad Request
  2. 401 – Authorization Required
  3. 403 – Forbidden
  4. 404 – Not Found
  5. 500 – Internal Server Error

Now that we know the names of the common error codes, let’s get a little more detail about each. After all, knowledge is power. For reference, I will also link you to W3’s HTTP/1.1 Specification which one could say is the definitive source.

400 – Bad Request

From: W3 HTTP/1.1 Spec

The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

This is essentially a programming 404 (missing/unusable page). Think of it something close to “Either there is an error in the website, in the link you used, or in the application that powers the site.”

401 – Authorization Required

What this code means, is this area is protected by a username/password combination. Webservers are designed to use this status code both on the initial request for authentication, and when authentication fails. Most browsers will try credentials three times before they display an error page.

403 – Forbidden

A 403 error code means that the webserver processed the URL correctly, but for one reason or another, is refusing to display the page. A real life example of receiving a 403 error is when Mod Security blocks a URL that contains potentially harmeful code in it.

404 – Not Found

This has to be, hands down, the most common error code ever seen. It has even made it’s way onto T-shirts! So if there is one page out of all of these you would want to spruce up, this would be it. Google also has a handy widget for your 404 page which can help direct people to where they are meant to go. To get to it, go to your Google Webmaster Tools Dashboard and click on the domain you are working on. From there, go to Tools (on the left), then to Enhance 404 pages. I outline the directions as direct links are not possible, and it took me a minute to find myself.

500 – Internal Server Error

There are a number of issues that can cause the “Internal Server Error” message to be displayed. Bad .htaccess directives, bad file/directory permissions, or even the program completely erroring out.

Enough! How do I make a custom error page?!

Now that we know what is behind them, we have enough knowledge to impart some meaningful errors in our custom pages.

Here are the steps I recommend to create custom error pages with Apache:

  1. Create a folder named ‘error_pages’ under your ‘public_html’ or ‘www’ folder. If you can access it by http://www.example.com/error_pages/ then you’ve set it up right.
  2. In here, we create 5 files, let’s leave them blank for now:
    1. 400.html
    2. 401.html
    3. 403.html
    4. 404.html
    5. 500.html
  3. You’ll want to add HTML to each file to present a display. I will cover this below.
  4. To finish it up, we add the following to your .htaccess file in ‘public_html’ or ‘www’:
    ErrorDocument 400 /error_pages/400.html
    ErrorDocument 401 /error_pages/401.html
    ErrorDocument 403 /error_pages/403.html
    ErrorDocument 404 /error_pages/404.html
    ErrorDocument 500 /error_pages/500.html

Now for the content of the files. For the purpose of this example, I will leave these very simple. You will want to modify them with your design/layout code to ensure they match the design of your site. If your site uses templates, you can also the file extension .php instead of .html and they will be processed by php before being displayed.

The basic design

So now we’re ready for the page itself. I’m just going to show one example, but feel free to use it for the base of the others.

<html>
 <head>
  <title>Error 400 - Bad Request</title>
 </head>
 <body>
  <p>Something in your request didn't agree with our webserver. Please go back
  and try again.</p>
 </body>
</html>

So there you have it, the basics of how to set up custom error pages. Don’t forget to include your custom 404 widget on your 404 error page, to help people navigate to a page that will help, as opposed to leaving them at a dead end.

It’s nothing life changing, it’s not radical, it’s just one of those steps that you take to help ensure a cohesive website browsing experience, even when things go wrong.

  • Facebook
  • Digg
  • Twitter
  • StumbleUpon
  • Reddit
  • Share/Bookmark

Spring cleaning isn’t just for your house

Saturday, May 9th, 2009

Everyone needs to spend some time cleaning things up on their website. Even the best webmaster has a few issues they either know about and are pointedly ignoring, or are completely oblivious to. The real problem is, where do you start!

The best idea I have come up with, is to start by making sure your website is functional, both for visitors, and for search engines. It’s simply a good investment into your site to ensure it is in proper working order.

Decide On A Plan

My recommended plan of attack, is as follows:

1. You need to make sure any 404’s on your site are cleaned up and taken care of, yesterday.

A 404 error shows your visitors that you simply do not care about your site. For the longest time, webonce.com had a problem with 404 errors, until one day I looked around and realized how bad it was. Now, we don’t. And you know what? We’re getting more traffic, and business is picking up. Funny thing about that, no?

2. You need to decide if you’re going to use meta tags, and if so, you need to implement them correctly.

I’m not going to get into the debate of SEO 1.0 vs. SEO 2.0, who is right, who is wrong. Not happening here. I will say, however, that if you are going to use the meta tags like keyword and description, you need to do so correctly. Ensure your keywords appear in your content, and that your description is relevant to your content.

Tools To Help

I can think of two tools right off the bat that will be quite helpful in dealing with your website’s spring cleaning, and both are free, which is excellent!

Google Webmaster Tools – (http://www.google.com/webmasters/tools)

The Google Webmaster Tools contains a wealth of various information about your website, but what we’re looking at to help us with today’s topic is located at: example.com > Diagnostics > Web crawl, and example.com > Diagnostics > Content analysis.

example.com > Diagnostics > Web crawl – This shows you the various errors Google has encountered browsing your site. Pay close attention to HTTP Errors, Not found, URL’s timed out, and Unreachable URLs. It’s hard to say for sure, but I know if I were building a search engine, sites with these problems would be assumed less relevent than sites without those problems.

example.com > Diagnostics > Content analysis – Here you can find out what google thinks about the meta tags you have set. If they’re too short, if they’re duplicated, all of that. Ideally, you’ll have nothing listed there. If you do, I would suggest working on it as long as you are going to include meta tags in your website.

How To Self Check

Using Webmaster Tools can be great, however, if you don’t want to wait until Google crawls your website completely again, you will need to be able to check things out yourself. A great free tool to do this is Xenu’s Link Sleuth. You can give it the website to check, and it will go through all the links on your pages. This is especially helpful as you can have it check external links as well as internal ones. It has been said that linking to a bad neighborhood can affect your site, so why wouldn’t linking to no neighborhood? Besides, bad links are bad business.

Websites need to be cleaned up every now and again. If you let them sit, bad things can creep in, so take some time, and check up on your site. Make sure it’s still as clean as you think it is!

  • Facebook
  • Digg
  • Twitter
  • StumbleUpon
  • Reddit
  • Share/Bookmark