Solving Google Page Rank problems with a 301 Redirect
When I first started this site, it was "APLAWRENCE.COM". That's
the name of my company, it's not overly long or hard to spell, so
it seemed to be a good choice. However, later on I registered
"PCUNIX.COM" thinking that that name is more related to what I do,
is shorter and easier to type, and perhaps is more memorable.
Both domains point to the exact same content. The Apache
configuration file at my web server just treated them both as
virtual domains having the same filesystem location. There was no
difference: no matter what domain name you used, you'd get the same
pages. These are just duplicate domains.
For several years I flopped around, using the names
inconsistently. When I'd refer people to my site, sometimes I'd
send them to pcunix.com and sometimes to aplawrence.com, depending
on my mood. Of course other sites that made link references to
pages on my site were just as inconsistent: some of them point to
pcunix.com, some to aplawrence.com, depending upon their whim or
how they happened to find me.
Google Page Rank
It turns out that was a bad mistake. Google (and other search
engines) don't really know that these are actually the same site,
so they index the sites independently. That causes problems for
Google uses a lot of undisclosed criteria to determine how
"important" they think a page is. One is incoming links: other
sites that reference your site. In Google parlance, that's a
"vote": a site is voting for your site's page rank by referencing
it in a link. With two apparently separate sites as I had, that
caused a dilution of votes: some sites link to pcunix.com, some to
aplawrence.com, and therefore neither really gets the votes they
Worse, Google apparently will penalize sites it thinks are too
similar to other sites. As these sites are really identical, that
could cause Google to downrate one even more than it might
otherwise. I've seen people complain that one of their duplicate
domains actually went to a Page Rank of 0.
So having duplicate domains isn't a good strategy for web site
popularity. As that popularity drives business to me and increases
my advertising revenue, it's very important to me that I get the
best ranking I can in search engines, and especially in Google.
In June 2003, that's where I was. Something had to be done.
What is my Page Rank?
Ah, that's a good question, and it turns out not to have an easy
answer. If you want a heavy on the math but still interesting
dissection of this subject, see http://www.iprcom.com/papers/pagerank/.Otherwise,
for a sometimes inaccurate look at Google Page Rank, download the
Google Tool Bar for Internet Explorer (unfortunately Google doesn't
provide this for any other browsers). It will show a gray/green bar
for any page you visit. The more green, the higher the Page Rank.
If you hover your cursor over the bar, you'll see a numeric score,
expressed as X/10. This is apparently a logarithmic scale, so a
rank of 2 is much more important than 1, etc. The problem with this
is that there are reports and indications that it is not always
accurate, but as it's all we have to go by, we can probably trust
it to the extent that a page rank of "2" is definitely much less
popular than a rank of "4".
By the way, I've found Google's tool bar to be strange in other
ways. For example, if I just call up "aplawrence.com", I get a Page
Rank of 0, while "aplawrence.com/index.html" gets 6, as does
"www.aplawrence.com" and "www.aplawrence.com/index.html". They are
all, of course, the same page.
So, back to my problem. The pcunix.com site main page had a
Google page rank of 4, while aplawrence.com had 6. So, if I could
merge them together, I'd get 10, right? No, because it's
logarithmic. I *might* push it to 7 if my present 6 was close, but
there's no way for me to tell that ahead of time. No matter what,
getting the two to be one has to help. So which one should be the
"real" site. Well, no matter what attachment I might have to
"pcunix.com", the "6" page rank says that's the one to concentrate
on. So I needed to get "pcunix.com" to become "aplawrence.com".
Well, there are a couple of ways I could approach that. I could
just kill off pcunix.com and hope that the sites that link to it
will eventually find aplawrence.com and change their links. That
sounds like a dumb idea.
I could move pcunix.com to its own content and put up big
banners asking people to change their links. That doesn't sound
Finally, I could use a "301" redirect, which is what I did. The
first thing needed was to set aside some space for pcunix.com
separate from aplawrence.com. In the htdocs (the html root)
directory, I put one file named .htaccess which contains this:
redirect 301 / http://aplawrence.com/
I then changed the Apache configuration to point pcunix.com to
this area, restarted Apache, and I was done. It's that simple: any
request for any page at pcunix.com is redirected to the same page
Time will tell how this will affect me. I'll check back here in
a few months and update this page with what I have learned.
Some good places to discuss this sort of thing are http://www.ihelpyouservices.com/forums/
If this page was useful to you, please help others find it:
More Articles by Tony Lawrence
- Find me on Google+
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site:
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Publishing your articles here
Jump to Comments
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
I am a Kerio reseller. Articles here related to Kerio products reflect my honest opinion, but I do have an obvious interest in selling those products also.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.