Many companies in Canada are just now coming to grips with they have been hearing for over a decade. That their website and online presence can actually benefit their reputation, and their bottom line. So as they ponder the redseign or redevelopment of their current website – many of which are just stagnate brochure-type websites that spew out marketing mumo-jumbo – they also must come to grips with the driving force behind the project. No, not the colour scheme, though that is important. No, not the menu structure, though easy navigation can make or break a typical website. Search engines, the big 3 in particular, are the target audience. Through them the information and visitors flow. On average, the bigger websites I’ve developed or maintain garner fully 65% or better traffic from search engine referrals. The rule of thumb is, if the search engines don’t like you, no-one will find you. A little over-simplified, but you’ve been warned.
Architecture Changes
Most companies will change the very structure of their website through the re-design or re-development. Folder structures and file naming conventions will be added so the new site is SEO/SEM friendly. Sales funnels will be developed to better convert visitors. The process leaves a raft of broken links and missing pages in its wake. Companies caught unaware of the limitations of Google et al will pay an awful price. What little ranking juice they have will go down the drain. Incoming links from other websites, a major contributor to ranking, will now garner the dreaded “404 Page Not Found” error. Fatality. All those old pages held all that juice. Leave them up? Not an option. Websites presenting substantially the same content on 2 different URLs face duplicate content penalties that are downright painful.
Smart 404′s & Redirects
Enter the seasoned profession web developer. With some foresight, and some insight into how Google and the others work, a site re-design or re-development does not have to be a painful experience. The outcome of the exercise is to boost the website’s dominance in search results. You know how it goes. If you’re not on page one – prefereably above the fold – on organic results, you might as well not be there at all. There’s only so much you can do with Adwords, and they seem to work best when you’re already in the top 5 in organics. As much as possible, old pages can be preserved in name. This can be done in a couple of ways. Apache’s mod_alias module provides for an easy one-to-one relationship between old pages and the new ones. For example, if you had a page called ‘/internetmarketing.php’ and the new page is /internet-marketing/’, you can create an entry in a .htaccess file mapping the old page to the new page with a 301. Visitors, and google, will be happy. If you have thousands of old pages this poses a significant challenge. But what is a 404 page anyway? All it is is a web document displaying an error message. That document can be anything really, you can tell the server which document to use for a 404, and that document doesn’t have to be stupid. At the very least, it should be as pretty as your website. Give it a brain and it can be both beautiful AND smart. Surely the developer has included a new sitemap.xml file for the search engines, and in it is stored a hierarchy of your new website. Tell the webserver to use a PHP script for the 404, and in that script determine what the user was looking for and direct them to where they should be going using a 301. This can be a simple one to one mapping, or even some logic that inspects your sitemap.xml and sends the visitor to the nearest match. In our example above the logic would see that the visitor attempted to view ‘/internetmarketing.php’, traverse the sitemap, find ‘/internet-marketing/’ as the closest match, and redirect the visitor. That all said, it is still incumbent upon the company and their developer to do some planning so that a smart 404 can be, well, smart about stuff.
Google & Ajax, a footnote
For years, the pitch was “keep it simple”. But oh no. Ajax has to be everywhere. Entire pages loaded via Ajax calls. In fact, there are sites out there that only have one real document. The contents of the entire site are loaded into that document by Ajax calls. The entire menu is a series of javascript calls out to ajax loaders. If that doesn’t make any sense, you’re right. What makes even less sense is Google’s proposal to deal with that type of junk. Time to get real. Ajax is nifty, Ajax is cool. Ajax can do all sorts of things that make sense. Stick to those. Leave the rest for your competition.