Weekend Projects: 404 Pages

Published on Apr 18, 2009   //  Weekend Projects

Weekend Project

Last week we added a favorite icon to our site which will make it easier for people to remember our site once it is bookmarked. This week we focus on redirecting traffic instead of loosing them with a 404 error. A 404 error comes up when someone visits a page on your site and that page is unavailable.

A standard 404 error page is not very helpful for the person looking for something on your site. Those with an updated Google Toolbar are starting to see a new 404 page that could drive traffic away from your site.

So to avoid that you should have your own custom 404 page setup on your website. There are 2 ways to go about this. You can make a 404 page that looks like your site and says 404 error, which is very common to do.  Instead of doing that I would suggest making a 404 page that directs users to your first page. That way even if they do get a 404 the user ends up at your first page.

To get started open up your favorite site editor and create a file named 404.shtml. In that file place the following code:

<html>
<head>
<META http-equiv=”refresh” content=”0; URL=http://www.yoursite.ca/”>
</head>
<body>
</body>
</html>

Replace yoursite.ca with your domain and upload the 404.shtml page to your public_html folder. Now anytime that someone goes to a page that does not exist on your site instead of getting a 404 error they will be directed to your main page.

You can do the same thing for other error messages such a 400, 401, 403 and 500.

If you get stuck let me know in the comments.

Friday Funny

Published on Apr 17, 2009   //  Cartoon

 

A cartoon created by artist Rob Cottingham.

 marriedtoatweeter

If you have an idea for a future comic or would like to submit your own BlueFur cartoon let us know in a comment.

In The Sphere: Anthems and Eating

Published on Apr 17, 2009   //  In the Sphere
Off

Happy Friday, everyone! It’s time to take another whirlwind tour of the blogosphere, checking out the hot and not-so-hot topics of the week. If you want to be featured in a future edition of In The Sphere, I encourage you to follow me on Twitter and send me your best link on Thursday night or Friday morning. While you’re at it, follow Gary and Matt too! On with the linkage.

Buzz Bishop has determined the key to a successful playoff run for the Vancouver Canucks. It’s all about anthem singer Mark Donnelly. He’s the guy that lets the crowd at GM Place sing a verse from O Canada, pointing the mic to the rafters for some audience participation. It’s a quirky technique, but it seems that the fans love it. Go Canucks Go!

The Poker Jerk continues with the sporting trend for this weekend by outlining his UFC 97 predictions. The sport of mixed martial arts has become remarkably popular in the last few years and UFC is clearly leading the charge. Do you think Chuck Liddell is past his prime and it’s time for him to retire? Will he be able to beat Mauricio Rua? What about the match between Anderson Silva and Thales Leites?

Sharon Hurley Hall is a professional writer and she’s big on networking with other professional writers. Twitter is a great community to share thoughts and insights, so Sharon has listed 39 writers you should follow on Twitter and guess what? I made the list! This goes to show you that freelancers may be competing against one another for business, but there’s still room for collaboration and mutual assistance.

Kathryn Vercillo works from home, so she is constantly bombarded with ways to be less than the ideal worker. That’s just not acceptable. As such, Kathryn explores some ways to be productive when working from home. Actually, her post is more about things to avoid while working from home if you hope to run a successful business and have a successful career. Don’t sleep in!

Joe Gets Fit enjoys traveling as much as the next person, but he also recognizes that it’s easy to give in to temptation while away from home. Want to stay fit while living at a lavish hotel? Check out Joe’s guide to eating well on vacation. Just because there’s a glorious all-you-can-eat buffet at the resort does not mean that you should indulge in a fifth slice of chocolate cake. Stay vigilant!

Moving Beyond SSH: Random Commands

Published on Apr 17, 2009   //  Development
Off

Moving Beyond SSH

Today we’re be going over a few random Unix commands that I think you might find useful (or at least interesting). Some of them may even be a bit fun. I’m just going to throw these out in a list-type fashion, with explanations of the command.

Server Information

cat /proc/cpuinfo – Displays available information about the CPU in your server. Look in the /proc directory for more files like this (such as meminfo etc)

uptime – Displays the current time followed by the duration your server has been “up” for (the amount of time since the server was booted up last). The average server load follows this.

Useful

date – Picture this: you’ve been programming in an SSH window for many hours, you’ve lost all sense of time. By analysing the light coming into the window seen through your peripheral vision, you determine you’ve been coding for about 16 hours. You suddenly remember that a new episode of The Simpsons is on soon, and you don’t want to miss it. Not wanting to take your eyes away from your SSH window, you can’t look at your Operating System’s clock. You don’t want to stop programming too early, nor do you want to miss The Simpsons? What do you do? You quickly type date into your window and you see that you’ve got t-minus 2 minutes to The Simpsons. Problem solved.

cal – Gives you a calendar representation of the current month, with today’s date highlighted. Use cal 2009 for the full year.

clear – Clears the current SSH window.

whois example.com – Performs a whois query on the specified domain name. Note, you may need to provide the whois server for certain domain extension, use the -h parameter for this.

Marketing 101: Interactive Advertising

Published on Apr 16, 2009   //  Marketing Tips

The spirit of web 2.0 would lead us to believe that people want to feel involved with the media that they consume. With blogs, for example, many readers want to have the opportunity to voice their opinions through the form of comments. When it comes to YouTube, people want to share their own videos and interact with the other users in the video-sharing community. Given this ongoing trend, it makes sense that some marketing tactics are taking advantage of our increasing desire to feel connected and involved.

When it comes to advertising a new movie, most studios take on the same kind of approach. You get to see the posters at the theaters, malls, and other public places. You catch the trailer at the theatre before watching another film. You watch the commercials on television and you visit the website for more information. That’s all rather conventional, but at least a handful of movies this summer are taking a different approach.

Ali Larter stars in a new movie called Obsessed where she plays a character obsessed with her new boss. She’s pure stalker material. Instead of letting you watch the trailer, the promoters have come up with a unique website called GetObsessedWithAli.com where they produce a custom video feature your likeness (or that of your friend). I decided to put together the clip for Stephen Fung and he quite enjoyed it. This is great advertising for the movie, because people are automatically willing to share.

Similarly, the promotion team for Terminator Salvation put together a site at TerminateYourself.com where you can transform into a battle-damaged Terminator. I used the service to transform John Chow into a Terminator Viking and I think it came out quite well. Again, this is great advertising, because people will want to share their creations. Viral campaigns cost little to launch, but can be very valuable if successful.

The next time you consider putting together a new marketing campaign, think about how you can get your potential customers to interact with it or with your product.

Community Poll

Published on Apr 16, 2009   //  Polls

Weekly Community Poll

Last week we asked how many pets do you have and 72% said they have 1 or more. This weeks question is…

{democracy:77}
Page 5 of 11« First...34567...10...Last »