The Target Attribute and Strict XHTML

So, you’ve decided to start creating your web sites with valid strict XHTML 1.0 and CSS. Your client wants a “links” page containing none other than links to other web sites. So you oblige and, to keep your client’s visitors on his site, you make the links open in a new window. So you throw in target="blank" and you’re done. Just run it through the W3 validator…

There is no attribute “target”? What gives?!

Yes, indeed, target is not a valid attribute in XHTML 1.0 Strict. There’s really only one way around it of which I’m aware, and that’s by using Javascript. My preferred method is as follows:

<a href="http://www.blizzarddigital.com/blog/" onclick="window.open(this.href, 'OffSite').focus(); return false;">

This opens the URL in a new window and brings it into focus if the user had previously opened an “OffSite” window and didn’t close it.

You would still put the desired URL in the href attribute just like with any hyperlink. That way, if the visitor for some reason has Javascript disabled, the link still functions correctly. It just wouldn’t open in a new window.

One caveat though—in Firefox 2 and later with default settings, this code causes the linked site to open in a new tab, not a new window. If you find this to be a problem, there is a way around it, and that’s by adding the window options parameter such as:

<a href="http://www.blizzarddigital.com/blog/" onclick="window.open(this.href, 'OffSite', 'directories=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes').focus(); return false;">

Those are all the options required to make the window appear normally with default tool and menu bars—kind of a pain. At this point, you may want to move the code into an external Javascript file. The function I use typically looks like the following:

function OpenOffSite(a)
{
window.open(a.href, "OffSite", "directories=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes").focus();
return false;
}

Then the onclick attribute of your anchor would look like so:

<a href="http://www.blizzarddigital.com/blog/" onclick="return OpenOffSite(this);">

Your links now open in a new window! Welcome to the world of XHTML conformity. 🙂

Does Size Matter for SEO Consultants?

Bigger is better, right? Not necessarily when it comes to internet marketing companies and SEO consultants.  Don’t get me wrong, I would love to have a team of 20 employees to put on a project and a million dollar budget just for office supplies. But would the results produced for my client  be that much better? I doubt it. Two of our clients have had remarkably similar experiences with large SEO consultants and internet marketing firms and both have had less than stellar results. One of our customers discovered a large, well respected California firm and contracted them to perform search engine optimization, Google AdWords management, press releases, and other services with a large down payment and a healthy monthly fee. Several months elapsed with no results for the customer. There was no increase in traffic, PPC was going nowhere, and 1 press release had been issued and forgotten. The “project manager” for our client was unavailable by phone  and many times would not even respond to repeated emails. There was a response, however, when the bills stopped being paid.

Fast forward two months. The  client came to us  for “AdWords Managment only”  due to the state of the economy, a tight budget, and the natural reluctance to fork out more money for SEO services. In the past two weeks we have doubled his click through rate and now have a PPC campaign that is pulling its weight. As a smaller firm we are able to provide the type of constant contact and reassurance that somebody who has been burned by the big boys needs. Communication and realistic expectations will go far in any internet marketing project to help it go smoother and make the client feel like they are using their dollars effectively.

Online Advertising in 2009

For many industries, things are going to get worse in  the first half of 2009, but that might not be all bad. Companies will have to get leaner and meaner which could mean more competition and subsequently more innovation and maybe some better prices.  Getting leaner means controlling cash flow and one of the areas that will see the largest paradigm shift is advertising. Many business owners that we have met recently are finding it difficult to justify bloated budgets for traditional print, radio, and television advertising in these uncertain economic times.

One of the questions that we get most often is, “How can I get my message to my target as cheaply as possible?”.  We typically have to answer the question by asking a series of questions designed to figure out what they are looking for, who are they targeting, and, of course, what is their budget. The answers to these questions will dictate a plan of action that will most likely involve online advertising. Some form of advertising will always be needed to reach target audiences, but the smart money is advertising online. Why? Because it is rapid, measurable, and affordable. Shifting dollars from traditional ad budgets to online advertising is like taking dollars to Mexico ten years ago; you would have some serious purchasing power.

Does this mean that print, radio, and TV are dead? Far from it, but they are changing. Google has made a foray into traditional advertising by creating the infrastructure for ad creation and campaign management right in your Google Adwords account. Take , for example Google TV ads. Using the same Adwords interface that you use for your pay-per-click campaign you can schedule a TV ad to run literally within minutes. Using the Google Ad Creation marketplace you can request bids on your project from Specialists in Production, Script Writing, Video Editing, and Voiceovers. These are powerful tools that simply were not available to small business owners before, and can be used to reduce advertising costs and make companies more competitive.

Good Luck!

Read Charles Hugh Smith’s article The Web Dismantles Old Media.

Pagerank Sculpting and the NoFollow Tag

There is a renewed buzz on some SEO blogs about the nofollow tag and pagerank sculpting that I would like to address. First let me say that I am often amazed at the different ways people find to take advantage or to expand on the use of something new. rel=”nofollow” is about 4 years old now (Search Engines Join Google and Adopt nofollow) and the ways it gets used sometimes seems to be a long way from the initial design. It’s almost like people are always after an angle. It wasn’t always that way but you see it in almost every industry now. New laws are put under a microscope as soon as they are passed and someone always seems to find an angle to use it in ways it was never intended. This is how I feel about some of the recent articles I have read about using “no follow” for sculpting or to improve internal pages. What happens is a few start using something in ways it was never intended and then others join in because they feel left out or at a disadvantage because they aren’t pushing the limits. On one hand you get the big sites that horde juice while we all let the juices flow freely back to these big companies. On the other hand you get new blogs popping up daily that turn off nofollow and in an attempt to give the big boys the finger they encourage everyone to post comments and “feel the love”. Worse yet is the misguided use that results from ignorance. My recent readings and observations have helped me establish the following guidelines for nofollow.

  • Un-moderated user added comments, posts, and guestbooks should be rel=”nofollow” by default. (original intent)
  • Moderated comments and posts that require no follow should be considered for editing or deletion.
  • Even moderated blog comments should have A nofollow on the poster’s website link (usually linked to their name). If his or her website is relevant then the comment should have an embedded link to the relevant content. (We are currently working on this at bliznet.com)
  • If  a web editor creates an internal link and feels the need to add a nofollow he should question where he ever got this idea from and then consider using his robots.txt file or consider adding valuable content to the linked page.
  • If a web editor creates an external link and feels the need to add a nofollow tag then he should question the need for the link.
  • If a link is pointing out something like a spammy site or malpractice or anything negative then nofollow is probably the right choice.
  • If a webmaster has a links page or friends page and is using nofollow tags then he should probably just dump the whole page, obviously they are not relevant links, if they are relevant then pass the pagerank they deserve.
  • If you have paid links on your site then you should use nofollow unless you have a well designed and organized site like a directory or product finder. Just be sure the site’s main purpose is to drive traffic to the links and not juice.
  • The benefit of passing pagerank should always be a by-product of quality content. Content should never be created just to pass pagerank or “link juice”.

Let me know your thoughts.

Bought and Paid (Links)

I was reading a blog post on another SEO site and the post was explaining why you shouldn’t sell or buy links that pass pagerank. I thought “this could be interesting” to see someone else’s take on paid links. For the most part it explained how it’s against Google’s guidelines to pass juice in exchange for payment. Nothing new but the next article I read on that blog, by the same author, was about how he was trading or bartering with other website owners for links that pass page rank. I’m thinking to myself “wait a minute” you just finished a post about how it’s a bad idea and your competitors could turn you in and then you act like you have discovered the holy grail. In my opinion you are still paying for the links even if it’s not for cash and worse yet, you have just disclosed to the world (Google) that you are buying and selling links that pass juice or page rank.
Before I add my thoughts on paid links you can review the Google Guidelines for buying and selling links.

As far as buying links goes I recommend that you avoid link farms and uncategorized directories they are most likely the types of spam Google is trying to avoid and will eventually penalize if they haven’t already. I do encourage press releases with embedded URLs. One could argue that you are paying for the link but realistically I think you are paying for the press release and if someone picks it up then you are apparently a valid source for their service and deserving of the juiced link. You had what they wanted to offer, you didn’t directly pay them if you paid a press release service so I feel this is safe and whitehat. I also think that a well organized directory that has valid traffic should be allowed to pass pagerank even for paid listings. They invest in building and maintaining a quality product that others choose to join and as a value-add they pass juice, is that so wrong? We can only hope that this is one of Google’s exceptions to the rule. A good example is Best of the Web they have been around for a while and they have a well organized directory. They still pass rank and it would be a shame if Google penalized anyone for subscribing to that directory. This quote is attributed to Matt Cutts of Google, “We tend to look more at the quality of the directory than whether it is SEO related”. I think that clearly states that a quality directory is safe as long as its ultimate goal is to drive traffic and not squeeze juice. We maintain a business directory for our town and we often wonder if we would be penalized if we didn’t use the nofollow tag. It would be nice to offer that as a value-add to our “edit your listing” service but the unknown result is not worth the gamble. We have manually added local businesses to the directory and for a subscription fee we allow the owner to edit the content and add their URL. After further review we might remove the no follow if it’s a quality website.

In the end I would use this rule: If you are buying the link for pagerank then it’s probably a bad idea. If you are buying a link on a quality, high traffic site that has relevant content or a relevant section and they just happen to pass juice then you have probably found a gem. Just remember, Google could kill the pagerank value you are receiving from that link at any time by penalizing that site so be sure the purchase is worth the traffic without the juice.