Forum Moderators: open

Message Too Old, No Replies

How to change and not lose rank?

         

redhatmama

5:08 am on Feb 5, 2003 (gmt 0)

10+ Year Member



Greetings!

What a wonderful forum you have here. My company is changing shopping carts from one which uses forms in shtml pages to a dyanmically generated storefront written in php.

We have several number one rankings in google for our most productive search terms. Last I checked, we had a Pagerank of 6, but I use Linux and don't have a toolbar. We are number 1 in our category in the Google directory. We've been around a long time, so we have a lot of folks who have bookmarked various pages, not to mention links on pages all over the world in languages I can neither read or write or sometimes display.

I was thinking of using mod rewrite to redirect the old urls to the new. How would google perceive this? Would this be "sneaky redirection?" Our intention is not be sneaky. We want to appear professional and not use a "this page has moved" type link. I did that a couple of years ago and for over a month, our pages were listed as mycompany.com has moved, etc. I used no index, no follow tags, but since it took almost 2 months for the new url to filter into the google directory, it indexed it, but didn't follow.

We're not changing our url name this time; the domain name will resolve to the new page, but we are concerned about all of our internal pages and how to preserve our listings while improving our site. We also want to make it easy for our repeat customers to use their bookmarks.

In other words, I wish to have my cake and eat it too. Asking for too much?

jdMorgan

5:26 am on Feb 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



redhatmama,

No, enjoy your cake. Google recommends using a 301 redirect. See their webmaster information [google.com] pages.

And Welcome to WebmasterWorld [webmasterworld.com]!

Jim

Nick_W

7:30 am on Feb 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey redhatmamma!

jdmorgan said it all but I just wanted to welcome a fellow redhat user ;) - Enjoy WebmasterWorld....

Nick

redhatmama

2:19 pm on Feb 5, 2003 (gmt 0)

10+ Year Member



Thank you both. For some reason, I thought the old meta refresh was risky. Similarily, if I want remove pages and use a custom 404 to redirect visitors to the main page, can I assume that Google will delete the page after receiving a 404 header? Should I uses a meta refresh with a 404 or should I use javascript?

I've been out of touch with search engine issues, but now that I have found your site I can read up on everything.

Thank you again.

troels nybo nielsen

2:27 pm on Feb 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome among us, redhatmama.

A custom 404 will be fine. I would suggest a short explanatory text and links to your main page and site map. No redirect or java scripts. And when Googlebot does not find one of your old pages, that page will simply disappear from the Google index.

redhatmama

3:14 am on Feb 6, 2003 (gmt 0)

10+ Year Member



Thank you for the response. You don't think we would lose any business with a 404 with a site map rather than a redirect? I feel pressued to make sure we don't lose any business because of the change. On the other hand, I know if I caused an unintentional pagerank fatality, I would be burned at the stake -- after I was made to run the gaunlet and drawn and quartered. :-) You could say I'm a bit paranoid about this move.

jdMorgan

3:29 am on Feb 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



redhatmama,

Please note that I said nothing about met-refreshes above.

I suggest you use a 301-Moved Permanently server redirect on pages which have been exactly replaced, a 410-Gone server response for pages which are gone and have no new equivalent at all, and a 302-Moved Temporarily server redirect to a site map for pages which have been replaced, but not by exact equivalents.

Reserve 404-Not Found as a site error detection mechanism - It means you forgot to cover a missing file with one of the above responses. As such, it also means "webmaster error", and not "this page moved or deleted." Otherwise, you will fill your logs with "we've moved" notices, and bury any legitimate error reports that might be present.

If you are hosted on Apache, you can do this easily using mod_alias or mod_rewrite in httpd.conf or in .htaccess, both of which are text files on the server. For information on redirection and mod_rewrite, see this Introduction to mod_rewrite [webmasterworld.com] thread.

Jim

redhatmama

4:58 am on Feb 6, 2003 (gmt 0)

10+ Year Member



Hi Jim:

Back to mod rewrite again. :( After reading reading Google's instructions last night, I was hopeful that a meta-refresh might do it... It does acomplish the same thing from the surfer's point of view. And normal people can do it easily enough. :) But reading it through again, I see that it says 301. Period. I must be working too many hours.

If you are hosted on Apache, you can do this easily using mod_alias or mod_rewrite in httpd.conf or in .htaccess, both of which are text files on the server. For information on redirection and mod_rewrite, see this Introduction to mod_rewrite thread.

Mod rewrite is an old acquaintance I try to avoid. It's one of the reasons I own "Mastering Regular Expressions." The webserver runs apache on freeBSD. I think I'll use .htaccess.

Thanks, I shall take your advice on the 301.

jdMorgan

6:02 am on Feb 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mod_rewrite aversion is common... But for a big site, its efficiency may pay off.

On the other hand, you may be able to use Redirect [httpd.apache.org], RedirectMatch, or some of the other flavors available in mod_alias if you want to keep it simple.

Again, you can have your cake and eat it, too. :)

Jim