SEO Tip: Trailing Slash, Canonicalization, and Google

Google, SEO, and Trailing Slashes
Google, SEO, and Trailing Slashes


I am going to give you a helpful SEO tip that you can put to use fast and easy. It is a common error that can make a big difference in your search engine optimization efforts, and it has to do with canonicalization. Don’t let the big word intimidate you, because I will break this down and make it very easy to understand.

I could get really deep into the issues of your sitemap format, .htaccess files, rel=”canonical” tags, server configuration, and a squillion other things, but not this time. I want to give you the “low hanging fruit” that anybody can put to good use, starting immediately.

The Difference in a Slash or No Slash

Did you know that there is a significant difference between a web address that has a slash at the end and one that does not have a slash at the end of it? I don’t want to confuse anybody, so I will give a visual example of what I mean. I will show you two web addresses (URL) that look very similar, and will both land you in the same place, but they are actually very different. My sample web addresses are as follows:

http://www.awebguy.com/seo-lessons/
http://www.awebguy.com/seo-lessons

As you can see in my example above, one of these addresses has a trailing slash (“/”), and one does not. So, let’s examine the important difference that the slash at the end of a URL makes. For you technical folks, it makes the difference of returning a “200 OK” status code or a “301 Moved Permanently” (or other) status code when the page is requested. I will try to explain this a little better for the non-techie people, because I really want this to make sense, and I want it to help you.

Note: In order to know for certain what your web server is telling people, you need to know your server’s HTTP response headers. Don’t worry, I made you a handy little tool so you can see the difference. I will also show you how to tell the same thing with Google Webmaster Tools.

What you want to know is whether the header begins with a “HTTP/1.1 200 OK” response, or a different response such as “HTTP/1.1 301 Moved Permanently”. Only one of the versions will return the 200 OK, while the alternate version may return something else … and perhaps even something unexpected, like a “404 Not Found”. I made this really easy to check your server’s response headers here:

Enter a URL:

I am using Google in this instance, because we all care about Google, and I am using Google Webmaster Tools to illustrate the point. When search engines visit your website, they receive what is called an “HTTP status code” from your web server which tells them the status of the URL. A status code you have surely seen is “404 Page Not Found”, but there are a lot of other server status codes, too. The two which I am primarily addressing here are “200 OK”, which is the one you want search engines to see, and “301 Moved Permanently”, which tells the search engines that your page is not at that address, but your web server knows where to find it.

Below are screenshots from within Google Webmaster Tools to show what Google sees with my two sample addresses. The images below show the status codes that Google received for each of them. Note the address that Google fetched, and the status code in each of these images. In the instance with the trailing slash, the “200 OK” was returned, and Google continued with fetching the page. In the second image, Google was told that the page had “moved permanently”, and where to find it.

Googlebot Fetch with 200 Status Code
Googlebot Fetch with 200 Status Code

Now let’s look at the 301 status code. Notice the difference in how it tells Google that the page has moved, and where to find it.

Googlebot Fetch with 301 Status Code
Googlebot Fetch with 301 Status Code

A 301 status code is still better than having it return a “404 Page Not Found” error, but far worse than returning a “200 OK” status. Perhaps it shouldn’t surprise me, but I have actually witnessed “webmasters” handle this with 404 and 302 status with a lot of websites as well. Notice that I used the term “webmasters” very loosely, and this definitely does not reflect the work of a “master”. Yes, even on the modern Internet of 2011, people still screw things up, horribly!

Slash or No Slash in URL and Duplicate Content

Either of the URL versions is “correct” to use, but you should choose one, stick with it, and configure your website and your links accordingly. I have seen a lot of cases where people have their website configured to return a “200 OK” status code for both versions, but that is a horrible idea. The reason is that if both addresses return a 200 status, you are telling Google that the content actually exists in two places. That would result in duplicate content, which Google deals with pretty well, but does not like. It also dilutes your efforts for building links.

The Easiest Novice Fix for Canonicalization

This is surely very confusing for a lot of people, or the problem would not exist. However, there is one small part of this issue which even a novice can work to improve. You may not get it all fixed with this, but it will be a good start to fixing a common mistake.

Whether it is a link from other websites, or links between pages on your website, you should always link to the version which returns a “200 OK”, because that is where the page actually resides. Google and other search engines can be quite accommodating, but there is a qualitative and quantitative difference in doing this right and doing it wrong. With all of the competition on the Internet, it is worth getting things right, as much as possible.

The right or wrong version to use depends on your website, and what the URL represents. You see, an address that ends without a slash is typically used for a file, while an address with a slash denotes a directory structure (but not always). The right version to use will vary, but the most important thing to know is to always use the URL which returns a “200 OK” status, whichever that is.

In the case of content management and blogging systems like WordPress, the trailing slash is often used, and the correct status code is returned. However, even in instances where it seems that it is all done for you, there are many cases where you, or others, may link to content manually and use the wrong format.

How to Fix Trailing Slash and Canonicalization Errors

Fixing your canonicalization errors does not need to be a huge headache. Since this can make a big difference in your search engine ranking, it is very worthwhile to fix it. The “Official Google Webmaster Central Blog” has a useful article about this issue, and it is titled “To slash or not to slash“. I think it is worth a read. Another, more effective, alternative is to hire a good SEO to help you to know what you didn’t know, and to fix the things which are holding you back from ranking higher in search engine results.

What I have described is an easy mistake, and one which may be costing you, big! I hope that you will give this your attention, and that you will use it to improve your search engine ranking effectiveness.

As always, your comments, questions, compliments, gripes, complaints, and bellyaches are all welcome here on my blog.

If you don’t like what I have to say about this, I welcome you to look at my HTML source code to see if that helps you any. 😉

Google PageRank Changes and Fools Still Listen

Remembering Farrah Fawcett and Google PageRank
Remembering Farrah Fawcett and Google PageRank

Google PageRank? Seriously, just get out your checkbook right now and write me a blank check. Don’t worry, I will go ahead and fill in the dollar amount. You just be sure to sign it.

I was thrown back into yesteryear by a blog article I read at Search Engine Journal that discussed Google PageRank. No, it was not something from deep in the bowels of their 2003 archives, but rather a real life demonstration of sad linkbait published only yesterday. I don’t need a pissing match with these guys, but it was sad to see a long-dead topic like PageRank being exhumed for public consumption.

It reminded me about who I write for, and why. I write for you, and I try to make useful facts and good ideas spring to life with a touch of entertainment value. Once in a while I will throw in my Murnahan Cheez Whiz style to keep you on your toes and make you say “what?!”

My objectives include reducing the abundance of blatant SEO lies and myths that search engine optimizers promote. Sure, I may not be able to fix the whole world, but I can do my part to blow the “bullshit whistle” on bad SEO information.

Since I want you to subscribe to my blog and come back, I try to overlook topics that will be genuinely useless and guide you wrong. You know, topics to scare you into putting crap in your brain like Google PageRank changes.

The article I am talking about brought acid to the top of my throat and reminded me just how easy it could be to scam people out of a blank check. It touched on just how “unknown” this SEO business I am in really is, and it made me feel like one hell of a nice guy for telling things straight.

I will go ahead and link to the article, so I guess their “linkbait” idea worked. The article is titled “New PageRank Formula May Change Your SEO Priorities.” Below is my comment, in which I replied to my friend and fellow long-time SEO who also criticized the article, Jim Rudnick of Canuck SEO:

OMG, are people seriously still writing about PageRank? Maybe we can throw some meta tags into the conversation. While we are at it, I want to break out my old Farrah Fawcett poster and leave my mom a “surprise” under the bed, too.

Agreed, very old news. It is funny to me that somebody recently mentioned the PageRank of my blog and my first thought was as nostalgic as my Atari 2600.

I have not even looked at the “Green Fairy” of PageRank in half a decade. If you are doing the things you should be doing, people will love your stuff enough to link to it. If it is relevant content for a given search, on a reasonably decent website, and other people crave it, the site will rank well. Isn’t that a whole lot easier than waiting for Google to give you a number?

The remembrance of Google PageRank brought to mind the different qualities of search engine optimizers that I enjoy just enough to squash them to pieces and bury them in a shallow grave.

It is easy to understand how people could get confused about SEO. It is an industry that begs for naivety, ignorance, greed, and dishonesty. Sadly, these things are in great abundance among website owners and want-to-be SEO providers, alike.

Lay Down Your Google PageRank Gun and Listen!

Don’t shoot the messenger, but if you are looking at measurements like Google PageRank as an indicator of progress, your efforts are a hot mess. Save yourself some grief. A far better answer is to create something useful, creative, interesting, and relevant to people. These are the things which compel people like crack cocaine. These are the things which cause people to reference you and link to your website content. These are the things which make a difference, and not some misunderstood 1-10 measure that Google itself tells you to ignore.

I do not even understand why there is still a Google PageRank measurement, because Google has made it damn clear for many years that the most important thing is to give people what they want. If you concern yourself a fraction as much about what you are delivering to people as you concern yourself with Google, you will very likely rank a whole lot better. Plus, your PageRank will go up, too!

Note: I am not one of those people who only preach the gospel of “Content is King” and that writing a bunch of stuff on a blog will make something rank well. There are a lot of things which go into good SEO. Google PageRank is not in my list of SEO lessons, and I don’t think it was anywhere in my SEO blog archive, either … until now.

OK, doubters, now that you have heard me out, go ahead and fire your PageRank guns and tell me how wrong I am in the comments section below.

Image via Wikipedia

SEO and Blogs: How Many Blog Posts Should I Have on My Home Page?

Blogging Tip on Posts Per Page
Blogging Tip on Posts Per Page

The question of how many blog posts to display on the home page of a blog is a pretty tough call for a lot of people. After all, it affects the page load time, the number of generated pages in your archive, the number of pages indexed by search engines, and most importantly, the user experience.

What is the best number of blog posts per page? The answer will depend on a number of things, but I want to offer some food for thought, and share what I have experienced.

If you don’t already have a blog, you may want to sit this one out, but if that is the case, I encourage you to read “10 Really Good Reasons to Blog“.

As an SEO guy, I am not always right about every SEO topic. I try my best to keep my percentage of being right pretty high, but even I can get it wrong sometimes. It usually happens because of overlooking the obvious things I should be doing, but conveniently neglect.

The reality about SEO is that sometimes the right answers take a little bit of testing. Some people may call it “tinkering”, but that implies doing it without forethought. My suggestion is to stop “tinkering”, but always be testing. In this instance, I do not suggest making frequent changes, so it is good to make your best guess the first time.

Changing Number of Posts Per Page: Think Ahead!

It was not so long ago that I faced the question of changing the number of blog posts per page, on this blog. I had previously displayed ten articles on the home page and on each archive page. It was not a good idea, but then, I get wrapped up in client work and forget about my own stuff. I am often like a cobbler with barefoot children. Once I got around to this issue of blog posts per page, I was really glad to finally address it. I know that others have this question, and in fact, a friend who writes “Social Media Philanthropy” recently had a poll of his readers to see what they think.

Depending on your blog theme, the number of blog posts on your home page will generally be the same number which will be listed in each of your archive pages, too. I don’t mean the kind of archive like my complete archive where I list all of my articles, but rather the pages that are generated for chronological archiving, tag archiving, and category archiving.

If you do not know exactly what I mean, just click on the “older articles” link at the bottom of this page, click on any tag (), or click on a category (for example Marketing). My blog presently lists a total of five articles for each of these types of generated pages, and then has a link to the next page of posts.

Changing the number of posts per page will change other factors of your website, so it is best to think ahead and not do it too often. I will tell you a bit about what it will change.

Changing Blog Posts Per Page Has Multiple Effects

Let’s think about how a change in the number of posts per page will change other things. When my blog displayed ten posts per page, there was the obvious outcome that each page was longer. It makes sense that the potential for keyword phrase matching in a given search engine index may be higher, because of the lengthier content on each page. It also took a bit longer for each page to load, so that was a downside. Plus, consider how daunting a huge long scrollbar can look to somebody just wanting some quick and easy information.

An even greater downside to having large numbers of posts per page is the much lower number of total pages of the blog. More pages can be a really good thing, but of course not just any pages. You can add pages just by adding a bunch of extra blog tags or categories, too, but it is not recommended.

I am certainly not saying that you should go and set your blog to display two articles per page just to bump up your page count. That could be a bad thing. After all, just consider how many times somebody will want to click to the next page, and how annoying that could be. The rule of thumb is that you have three clicks before you lose somebody. Certainly some blogs are much higher, and some are much lower, but it is really important to keep those readers happily surfing on your awesome wave. You do this by having everything just right … or at least as close as possible.

The most important factor is how it will affect the people reading your blog, and not the search engine indexing. If people like your blog, they are more likely to link to it, subscribe to it, and keep coming back. This should always be the primary consideration, but this really can make a big difference in search engine indexing, too.

Fewer Blog Posts Per Page Means More Indexed Pages

This is something I offer with caution. You do not want to aspire to a bunch of frivolous extra pages in search engines. You want search engines to index valuable, useful, and human-worthy content. That is what search engines want, too.

There is a lot of hype on one side or the other about allowing blog tag archives and category archives to be indexed by search engines. There are multiple easy ways to control this, and I use a (highly modified) WordPress plugin called “All-in-One SEO Pack” on this blog. Everything it does can be manually programmed into a WordPress blog, or any other website, but I consider it a handy tool.

A lot of people will argue about the perfect settings, and what to tell the search engines to not index. For example, in my category archive pages, I added the directive for search engines to not index the pages, but to follow the links found within them to other pages. It is in the header of the page and it looks like this:

Example of NoIndex, Follow Directive (click to see it applied):

meta name=”robots” content=”noindex,follow”

Against some people’s notion of what works best, I have not included the content=”noindex,follow” directive in my blog tag pages (see example source code). This means that by default, my blog tag pages are being indexed. That is a lot of pages, and when you add up the differences in switching from ten blog posts per page to five blog posts per page, it multiplied the number of indexed pages in search engines. Best of all, it happened without any devious trickery or being spammy to search engines, and it simultaneously improved the user experience.

What About Duplicate Content Penalties?

I know that it is popular for people to wake up sweating profusely after having a nightmare about being penalized by search engines for having duplicate content. Search engines frown on duplicated content, because it has often been used in attempts to cheat rankings. It is the topic of many SEO discussions, and a fright to many bloggers and webmasters.

What is duplicate content? An easy way to describe this is by looking at two given blog tag pages. For example, if you seem my “” tag, it may be significantly similar to the content of my “” tag. I also use the rel=”tag” attribute, but that is another article, and still relatively speculative in search engine recognition, and adherence.

If this gives you sweaty nightmares, stop freaking out, walk to the kitchen, and fix yourself a glass of warm milk (or better yet, Scotch). Then take a calming suggestion from good old Murnahan, and try to get back to sleep. Google and other search engines already have figured this out, and they know how blogs work. Yes, Google and other search engines have this under control, and they have indexed more than just a few other blogs.

It is extremely unlikely that you will be penalized for duplicate content, unless you are doing something to intentionally cheat the system. This is a topic for another blog post, but let me just stroke your hair and carry you back to bed. You will be just fine, and the monster under the bed will leave you alone until another time.

A Summary About Posts Per Page

Every blog is different, and some of us have really long and drawn out content, while others are much shorter articles. I also addressed this in a previous article about whether to use blog excerpts or full-length articles on your pages. The article is titled “Blogging Dilemma: Truncated Blog Excerpts or Full Blog Articles?” It is worth a read if you are on the fence about how to display your blog posts.

Because this can make such significant changes to the number of pages on your website, in your XML sitemap, and number of pages indexed in search engines, I suggest carefully limiting the number of times you change this.

I welcome your input, and if you found this useful or thought provoking, maybe your friends will, too. Please add your comments or questions and pass this along to other fellow bloggers.

Is Twitter Good for SEO?: Is Ice Cream Good for Hemorrhoids?

Twitter SEO and Sore Bums
Twitter SEO and Sore Bums

I suspect that you want to know, “is Twitter good for SEO?” Either that, or your bum is feeling pretty sore, and you are willing to try anything. I am happy to help with the Twitter part, and I am sorry about your rump. Try pistachio, but don’t blame me if it doesn’t work.

I am surprised that more people have not discussed the topic of Twitter and SEO to provide their opinion-based answers. I think that a lot of people are afraid to touch on this, for fear of giving an unpopular answer, or being wrong. Well, leave it to me to tell you this: “Yes, Twitter helps SEO!”

Twitter can help with SEO efforts, directly, as well as indirectly when Twitter users share the information in places such as blogs, social bookmarking sites, and elsewhere. If somebody tells you otherwise, you are listening to the wrong SEO advice.

I read an article on the widely respected SEOmoz.org blog today that addressed the SEO value of Twitter. It reminded me how much I sometimes forget the importance of bringing things down to a very simple level. I guess I just forget that not everybody has done this “Internet thing” to earn food for the past decade and a half. I try to keep things pretty simple, but I know I can wing one over readers’ heads some days. I try to provide useful marketing and SEO tips, but if I ever forget to make them simple, I apologize. This one should be nice and easy.

I thought that the value of Twitter for SEO was pretty obvious to most users, a long time ago. Sometimes, when I see what other people are saying, I recognize that details like this can slip by some people. Here is a quote from the recent article on SEOmoz titled “The Social Media Marketer’s SEO Checklist“:

“So for a long time, most SEOs blew off links from social sites like Twitter and Facebook since they didn’t have much direct SEO value because the links are almost always nofollowed [learn more about nofollow]. Now that we know that Google and Bing use Twitter and Facebook to influence regular search results, it’s time to start thinking about how the person in charge of Social Media can start to think like an SEO as well.”

The article had some good points, but it really did take me back to grammar school. Quoting the article, “Now that we know” … what? Holy hemorrhoid! I guess I assumed that we knew this kind of thing years ago. Links from my old Yahoo chat groups in 1998 helped my SEO, but is that revolutionary, too? It was kind of funny to me how much it resembled something I said in early 2009 when I wrote the book “Twitter for Business: Twitter for Friends“. Here is a statement I made in the book, and I stand by it today:

“Many search engine optimizers (SEO) will overlook the value of Twitter for improving search engine penetration. If they miss this part, they are making a big mistake. A reason many SEO will dismiss this value is that Twitter uses the “nofollow” attribute in outbound links. Make no mistake; Twitter can greatly enhance your visibility in search engine results.”

Heck, maybe the Internet is coming up to speed, or maybe I am just one of those people who are as strange as a pickled duck fart and foresee things in some uncanny way. I don’t know … maybe it is a combination.

Do More Tweets Help SEO?

This should be obvious, but the impact of more people tweeting your website content may be even higher than you imagined. Whenever somebody tweets your linked content, it creates links to your website. The quality and quantity of inks to a website are the most important factors that search engines use to gauge the importance of a website. Also, the links Twitter produces are not necessarily only on Twitter. There are a lot of services which aggregate Twitter’ed content, as well as many widgets and other syndication through RSS in which it may appear on other websites.

It will be far more important for other people to tweet your content than just tweeting your link a squillion times. Don’t bother with that, because it is not going to make you a ton of new friends. A few times is fine, but let’s not go out of the way to garner death threats, and insults about your mother.

Do More Twitter Followers Help SEO?

I am the last person who would wish to promote a “Twitter follower-frenzy”, so I almost hate to say this. Many indicators will suggest that more followers on Twitter can improve the SEO value of a tweet. Yes, a high follower count does correlate to higher SEO value, but I believe it correlates even better with the number of Twitter lists a person is on and other measurements.

I know that a lot of people want to become popular on Twitter, but before you implement some off the cuff plan, be sure to read the article titled “How To Become Popular on Twitter Without Actually Being Useful“. If you do the things that many moronic marketers suggest, people will wish a bad case of herpes on you and throw you on a flaming bed of nails before they will care to listen to you … or buy your stuff.

The important factor is being useful and giving people what they want. Here you go … try thinking a little bit more like this video.

There is not much that I dislike more than a bunch of bad marketers out there with nothing useful to say. I think that millions of Twitter users would agree with me on this. Don’t take this as any suggestion that you go and try to gather as many Twitter followers as you can. Instead, I recommend, as I always have, that you be useful. As with anything SEO-related, being useful and providing compelling information is what matters the most. If you can do that, many of the other factors seem to magically fall into place. I am pretty sure it can also help hemorrhoids, even better than ice cream.

Twitter Changed, But it is Still Useful for SEO

Although I still really like Twitter, it changed a lot over time. Twitter had a huge growth spurt, and as the new users poured in, much of the real value of the service dwindled. It is still good for SEO, but what so many people do not grasp is that if you expect people to tweet and retweet what you have to share, it had better be pretty damn awesome to be heard over the excess noise.

How much did Twitter change? I could write another book about this, but I would rather stick needles in my eyes. I will just offer this: I wrote about Twitter retweets on February 29th, 2009. It was titled “Twitter: The Tweet About Retweet” and it received many hundreds of retweets. Tweetmeme says 420, but that data is old, and it was actually many more. In another case, I wrote a really short and basic article (approximately 250 words) about Twitter username selection on April 8th of 2009. It also received a ton of retweets and 158 reader comments. Back in the earlier days, I would measure between 500-1,500 clicks on darn near any link I tweeted, within minutes. Now, a hundredth of that would buzz my radar.

Maybe I just became less “brilliant” with the things people love to share, but I am pretty sure that is not the case. Many Twitter users just don’t see it when they are trying to follow a squillion other people, with hopes of being followed back.

Today, when I tweet something from my blog, I do not count on Twitter to pass it along. In fact, Twitter directly accounts for under three percent of my website traffic. Moreover, I have measured that the website traffic coming directly from Twitter has a low probability of participating and adding their comments to a topic. I think this is because of Twitter-enhanced attention disorders which were there before Twitter. Twitter just made it even more “old fashioned” to actually read things and pay attention. My study on this is forthcoming, but let’s just start the study with whether you will take the time to finish reading and add your comment.

Since the time of these popular Twitter-related articles, I have written hundreds of very compelling and useful blog articles which far exceeded the relatively minor value of those. I can effectively measure the value of Twitter from a conversational standpoint as much lower than it was. The SEO value of Twitter and the Twitter “retweet” is still there, but if you want to break through the noise, it better be something stunning.

As I said in the article titled “Is Squidoo Good for SEO? Likely More Than You Think!“, I must add a basic disclaimer as follows:

“I do not rely on any single SEO tool too heavily, and I do not recommend that you do that, either. There is not a short list of SEO tools and tricks that will make you famously successful with search engines.”

If you came here about the ice cream, I am sorry about your bum. Perhaps you could try eating it really fast to take your mind off the ‘roids. If you came here about Twitter and SEO, please add your comments on my blog. Just type it in and let’s have a good old fashioned ice cream social.

Photo credit to weelakeo via Flickr

The Best SEO and Social Media Tools Are Not As Expected!

Best SEO and Social Media Marketing Tools
Best SEO and Social Media Marketing Tools

It seems that a lot of people talk about the mechanical aspects of marketing these days. When the Internet is involved, people seem to get really hung up on the technical issues … the mechanics of marketing. Sure, it matters, but the mechanics of today’s marketing starts to seem like the equivalent of marketers of the past calling a printing press their best tool.

I am a marketing guy, and a web guy. I write a lot of articles about SEO and social media marketing, and it is something that I know well. I write about topics such as SEO tips, blogging tools, social media measurement, marketing strategy, and much more.

I work hard to teach people how to help themselves, and when they need some extra help, I provide services for hire. Now I want to share an important tip that may very well help you more than any other!

I have expressed this before, but I want to say it again: “The Best SEO and Social Media Tools Are Not What You Think!” Some people will find this to be shocking, but the best SEO and social media marketing tools are not at all what you have likely been led to believe. I want to clear this up for you, and share what I know, without a doubt, to be the best tools for improving your online marketing efforts.

In order to best express this, I offer you this short video titled “Best SEO and Social Media Marketing Tools”.

Coffee and Cigarettes?

Yes, there is my answer … Coffee and cigarettes are my favorite tools for building a brand and for improving search engine optimization and social media marketing. I am crazy, right? It is a challenging concept for a lot of people, but it is often much easier than explaining every nut and bolt that makes a marketing machine run smoothly.

You see, coffee and cigarettes are a part of my brand. I even published it in a book, and I have said it a squillion times: “I take coffee and cigarettes and turn them into better social media marketing and SEO.”

The real truth is that the mechanics of marketing are of considerably small consequence when compared to marketing creativity and talent.

When I call coffee and cigarettes my best tools, it is because they help me to work longer hours, without sleep. They keep me functioning during those long hours of trying to discover something genius about a client’s products or services, and what makes them more attractive to their model customers.

My tip for the day is to consider the tools which are not so obvious. Try something less mechanical and be ready to get creative.

Do you smoke cigarettes and drink coffee? Talk to me … your comments are well-appreciated!