Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect Help

Am I doing it right?

         

TimmyMagic

3:44 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



Hi,

I am using a 301 redirect because my UK site is now a .com site. Rather than create a 301 redirect for each page, I used the following line:

Redirect 301 / [widget.com...]

This works and redirects all the HTML pages in the direcotry to my new domain. However, is this the right way to do it (from a SE perspective)? Or should I write a line for each page? I have approx 50 pages.

Regards,

Tim

jdMorgan

4:26 pm on Feb 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tim,

> Or should I write a line for each page? I have approx 50 pages.

Unless you have some pages that you *do not* wish to redirect, or you do wish to redirect some pages on one domain to *different* pages on another, using the code you posted or writing a separate line for each page/file will be entirely equivalent.

Search engines have no way to "know" how you are redirecting, and they really don't have any reason to care.

If you want to redirect all resources on the old domain to the same resources on the new domain, then doing it with just that one line is fine.

Jim

TimmyMagic

4:41 pm on Feb 21, 2004 (gmt 0)

10+ Year Member



Thanks Jim. I thought it would be okay but it's always good to check.

Cheers,

Tim