By Michael Dorausch, D.C.

While attending SMX Advanced in Seattle last week I listened to a presentation by Hamlet Batista who suggested that White Hat methods of cloaking could be beneficial for my website (at least that’s how I interpreted it). I liked Hamlet, and I think he was well intended in his presentation.

Listening to the presentation and seeing the slides on the screen I began thinking about a problem we’ve long had at Planet Chiropractic involving our classified ad system. The scripts that we used to display advertising URLs were never optimized for search engines and it’s one of those things on the website I know should be taken care of, but had not yet set aside the time to do so.

White Hat Cloaking
The concept made sense and I began taking notes, all the while thinking this could be the solution to the current problem I was having. One of the real world examples made was quite similar to my situation. Not only did I have incredibly long search engine UN friendly URL strings, there were session IDs attached to each of those strings, making the URLs really ugly and quite unlikely they’d be indexed. A typical advertisement could result in a URL string (shown below) which is over 200 characters in length.

230 character url string
SEO unfriendly URLAfter the presentation my thought was I could make some modifications that would deliver a different result to the search engines verses on page users. The practice was well-intentioned and not intended to trick, so it should be “white hat.”

Sounded good and I made some notes to contact someone after the event to see about getting something like that accomplished. Later that afternoon Matt Cutts spoke and I got to see everything from a different perspective.

According to Matt, this type of cloaking was in the “highest risk” category as far as Google was concerned which could result in my site being removed from the index (not my goal). It’s a good thing I stayed around until after lunch to hear his talk.

My (chiropractor mindset) take away after his presentation was this…

Band-Aid versus Wellness Long-Term-Care
Ultimately, there is a problem with my site that should be fixed if I want it to perform better. Matt was suggesting that webmasters should focus their energy on fixing problems for the long-term versus utilizing risky Band-Aid like techniques.

I’m not an expert on mod rewrites but after taking the time since last week to look more closely at the scripts I think we can make the following changes.
would become…


would become…


would become…



would become…

The five digit code at the end corresponds to the ad number which would provide a unique identifier for each post. I think this could work as an option as well.
would become…

I think those look a lot nicer than what’s currently being displayed and this scenario keeps me from worrying about whether I should be concerned about the cloaking methods initially suggested. Now to find someone that can help me complete this project without breaking the site.