97th Floor
View our ranking cloud
05-22-07

Reminder To Not Forget The Simple Things

Just wanted to make sure and give a quick reminder for those trying to do everything they can to gain favor with Google when setting up a website. About 8 months ago I started optimizing a clients site and sent out the normal requests to designers and what not which included 301’s and re-dir-ing the non www’s to the www’s. My oversight, but I never checked to make sure it was done, and for the last several months he has been dominating on the search engines for almost every word he wanted. A couple days ago he stopped ranking for his domain name, and a sub page was ranking about 6 spots down from the top with his homepage nowhere to be found. If you typed in other keywords though he would rank for his homepage.

After a little bit of research I figured out he was having a canicol issues with his non www getting indexed (with no backlinks etc) … got it all switched, and fixed and he is now ranking again for his domain name and no damage done to other keywords. Its just a good reminder to make sure and double check the simple steps.

If you are running an apache server and are looking for the 301 re-dir code check this out below: (this is taken from a post I did almost a year and a half ago)

Here’s the code:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]

(Make sure your Apache installation has mod_rewrite enabled.)

As long as your Apache installation has mod_rewrite enabled then you should be able to use this fix on almost any host.

Second: If you have any old page urls that are being replaced by new search engine friendly ones, but do not want to lose your page rank then here’s the code for that:

redirect 301 /old/oldurl.html http://www.newurl/new.html

MAKE SURE you DO NOT include the http://www.whatever.com ONLY USE whats after the .com starting with the / or it will not work! Also make sure to only put ONE space inbetween everything!

There you go! That is as simple as it gets…or atleast as I can make it!

Remember why we do the 301 redirect:

Mainly for Google. Google does not like a bunch of error pages and if you have alot of 404 error pages that do not exist anymore (maybe after doing a redesign, or introducing new SEF naming conventions) then its harder for Google to crawl and you can lose the page rank the page has. With the 301 redirects you do not lose PR and you will not have to worry about duplicate content issues with your www and non www’s. That alone is worth doing it!

If you enjoyed this post, make sure you subscribe to our RSS feed, or follow Chris Bennett on Twitter and make sure you check out our free analytics product BLVD Status and Social Media for FireFox Which is used by more than 500,000 marketers

Related Posts:
SHARE IT:
  • Digg
  • del.icio.us
  • Netscape
  • StumbleUpon
  • Technorati
Posted in SEO // (2 Comments) +
John Stevens,

I recently came across a brand new site that just sprouted up. Its called Adzlive. Looks really interesting and they offer $25 if you post their html code on your webpage for 6 months. The payout is 80% right away and the system works like adbrite.com and adster.com

Two thumbs up so far!

PHP MySql Programmer / Developer,

I lost PR due to broken links. Also I think the Google manager allows you to choose which URL you want, the www one or the one without the www. I set it in there.

Thaughts?

Name *
E-mail *
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)


Mat Siltala

Categories

Vote for us - Top Marketer of 2009

Search & Social Spring Summit Badge

Request Proposal :









Most Popular