SEO: How I killed a highly successful message board with just ONE mistake (and how you can avoid it)

RedirectDo you have any idea how much disregarding basic SEO (Search Engine Optimization) rules can cost you? I have the answer and it’s “a lot“. And take my word for it: I am not an SEO consultant and have nothing to sell, here.

Up until last year, one of my sites was wildly popular: militate.com. Note that after achieving success through word of mouth, it plateaued and never exceeded 300 simultaneous users. It even started a slow descent that would end up in its much smaller audience today.

What was the horrible mistake that lead to that, then?

Simple.

Rule #1 of SEO: when you’re getting good Google juice through heavy pages indexing, do not, under any circumstance, turn your site into a dead links farm.

And that’s exactly what I did: at first people could access the site under a directory labeled /forums; after its first overhaul it became /site; later on I changed the domain name. And finally I changed /site to simply /

This, alone, is no crime. But I never told Google where to find the pages that were being relocated.

As a result, a web site that had steadily grown to more than 600,000 topics suddenly stalled and withered. OK, there are more factors: the site team was losing interest in its main topic, among many. But even when this happens, you can keep a niche site likes this one through sheer popularity. You really have to be a hairless monkey to mess that up.

So, how do you avoid such an unfortunate situation?

In my case, here is what I should have done. This relies entirely on issuing a status ‘301′, which search engines understand to mean “This is my new home. Follow me!”

Solution #1: use mod_rewrite Redirect
This is the usual answer and it works fairly well. Let’s see how we do it for our move from forums/ to site/

1. Create a file called .htaccess at the root of your old directory ( “forums” ) and put the following inside:
RewriteEngine on
RewriteBase /
RewriteRule /forums/(.*) /site/$1 [R=301,L]

Oh, wait: it is now as simple as

RedirectMatch 301 /forums/(.*) /site/$1

2. That’s it. Make sure that .htaccess has the correct access rights.

Well, that was easy.

Now, let’s say that you are looking for a more advanced solution; for instance you change your CMS/Forum Software and what used to be /forums/index.php?act=topic&page=105&p=1 now becomes /site/index.php?act=topic&n=1&p=1 because your old software’s topics started at number 105 but now that you imported them in your new software, they were renumbered and start at 1.

Here is a simple solution, that will also work if you do not have mod_rewrite (sorry, only a php example for now; I may write a Ruby example as well if requested):

1. Create a file called notarealpage.php; again at the root of your old directory:

[?
$directory = preg_replace('#^/forums/#', '', $_SERVER['REDIRECT_URL']); // Remove original directory
$querystr = $_SERVER['REDIRECT_QUERY_STRING'];
if(empty($querystr))
        $qm = '';
else
{
        $qm = '?';
        // Renumber
        $querystr = preg_replace_callback(
                '#&id=([0-9]+)#',
                create_function(
                        '$matches',
                        'return "&n=" . ($matches[1]-104);'),
                $querystr);
}
$newurl = '/site/' . $directory . $qm . $querystr;
print $newurl;
?]

2. In your .htaccess file, simply put:

ErrorDocument 404 /forums/notarealpage.php

Voila! Simple as that.

A note: again, I recommend that you look at the ‘Plain Code’ since the highlighter plug-in translates all html entities. I have to take this plug-in apart someday…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Similar Posts:

There are currently no comments highlighted.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Is that a new way? I like to flaunt my slowly monk I have a good fresh joke for you! Why did the garbage look sad? Because it was down in the dumps.

caper impost, meditate on.

Hello everybody, my name is Damion, and I’m glad to join your conmunity,
and wish to assit as far as possible.

На сегодняшний день E-mail рассылка является самым эффективным рекламным средством по соотношению ЦЕНА/КАЧЕСТВО!

Мы гарантируем качество!
Высокая скорость и качество рассылки.
У нас самые низкие цены!
Отправка заявленного количества писем.
Обход всех фильтров!
Индивидуальный подход.
Изготовление макета бесплатно!

Базы и цены:

Вся Москва – 3 500 000 адресов – 7 000 р
Весь С-Петербург - 2 200 000 – 6 500 р
Вся Россия – 12 000 000 – 12 500 р !!!
Украина – 4 000 000 – 8 000 р
Прибалтика – 3 500 000 – 7 000 р

Рассылка по Миру:
Весь МИР – два миллиарда адресов! – всего за 12 000 долларов !!!
Америка –90 000 0000 – всего 3 000 долларов!
Любая страна или база – по запросу.

Возможно предоставление абузоустойчивого хостинга под рассылку, а так же серверов. Продается самописный скрипт для рассылки (цена скрипта - 1000$).

Обращаться elitbissnes(собачка)mail.ru

Nice…

Cool!

http://list-of-porn-stars.freehostia.com/index.html - xanax bar effects :File Format: PDF Adobe Acrobat - View as HTML

seonewbieJay, Google ranking works for a while but the rules that work for some time stop working every now and then as they change their algorithm.
At least, links are a fairly constant “plus”.
Beware of link farms, though! Google is on to them.

joaedmonds, your question is a bit too broad to be addressed in the comments here.

Interesting…

Nice!

interesting

Hi guys
Can you help me to find
The best soft to PC-where to buy, join site & other tipe to do a home online business.
Thanks for the info.

Hi,
I’m oOgerryOo.

Just saying hello - I’m new.

To get high rankings in Yahoo and MSN is all about links? I can get ranked easier in Google with links,
but the other two I have no clue.

i’m eric. joining a couple boards and looking
forward to participating. hehe unless i get
too distracted!

eric

Hello!,

I’m just starting here. And it seems like an awesome place.

I just wanted to give a nice hello to all of you here.

:)

-Carl

Leave a comment

(required)

(required)