Ebay’s killing me!

20

This morning I found out that ebay has banned my site www.buy-ebay-stuff-online.com from getting any more credit for referring people to them because it uses the word ebay in it’s name. Man! What’s worse is that last night Google just increased it’s index of my site from 100 to 500! What this means is that I have to change the domain name and hope I can keep all of the indexed pages still there. I guess this is a good teaching opportunity, so here’s what I did, and I expect it to work out perfectly:

I bought www.buy-discount-cheap-online.com. Good keywords. I don’t really care about what humans think about the name because they don’t look at it anyways. No human is going to remember the name and come back to the site so it doesn’t matter to me. All that matters is that it has good keywords for google.
Then I put a little piece of code into the page that generates all of my pages that looks like this:



if(strpos($GLOBALS['HTTP_HOST'], 'ebay-stuff')){
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.buy-discount-cheap-online.com".$GLOBALS['REQUEST_URI']);
exit();
}

It checks to see if the domain name contains the characters ‘ebay-stuff’ and if it does, it redirects to the exact same page on my new domain. There’s something more important here though, it’s the 301 redirect. A 301 redirect won’t get you punished by search engines like a meta redirect will. What a 301 redirect does is tells the search engine/browser/whoever is using the page that the page has been permanently moved. So what will happen hopefully is that google will go back to all of my pages that it’s already indexed and see they’ve been permanently moved to this other domain and hopefully they’ll switch their index.

I did this 301 redirect in php. It’s much more common to do it with a .htaccess file. All you have to do to do it with a .htaccess file is put:

redirect 301 / http://www.you.com/

or put

redirect 301 /path/to/page_to_redirect.html /path/to/new_page.php

The first one will redirect everything under the directory where you put the .htaccess file and the second one will just redirect the page_to_redirect.html file.

What made this whole situation even worse was that just this morning I had been getting links (like 25) from other sites to the www.buy-ebay-stuff-online.com site. It worried me at first that I’d lose them, but then I remembered the 301 redirect and how it’s search engine friendly. You shouldn’t lose pagerank with a 301 redirect because it just tells the search engine that the page moved permanently. There’s no trickery going on with a 301 redirect, like there could be from a meta redirect.

Filed under Search Engines by  #

Comments on Ebay’s killing me! Leave a Comment

1/17/2012

Alegro @ 6:33 pm #

----

1/21/2012

Shirl Glunz @ 4:28 pm #

----

1/22/2012

----

1/23/2012

Elina Rudkin @ 2:11 am #

----

----

1/24/2012

Kortney Sertuche @ 10:49 pm #

----

1/25/2012

Mirna Osterloh @ 8:53 pm #

----

1/27/2012

Twila Droke @ 12:17 am #

----

1/28/2012

----

Myra Zeitler @ 2:13 am #

----

Melita Arimoto @ 1:43 pm #

----

1/29/2012

----

----

1/30/2012

Velvet Cerecer @ 10:16 pm #

----

2/3/2012

----

----

2/4/2012

Szybkozłącza @ 8:00 am #

----

Cherilyn Kindel @ 10:19 am #

----

2/5/2012

----

2/6/2012

----

Leave a Comment

Fields marked by an asterisk (*) are required.


3 × four =

Register Login

Switch to our mobile site