Forum Moderators: phranque

Message Too Old, No Replies

301 redirect for whole site? or page by page?

Can you set it up for the root?

         

silverbytes

6:52 am on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I need to point my old site com.something to .com only

is there any way to redirect the root to the new site..
I've tried this in httaccess but doesn't seems to work..

Redirect permanent / [mynewsite.com...]

by the way: is that better than redirecting page by page...?
Should I redirect /index.htm to [mynewsite.com...] too?

Any help please?

jdMorgan

7:06 am on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are both domains hosted on the same server? If so, the Redirect permanent directive will lead to a redirection loop.

You could use mod_rewrite to accomplish this without looping.

Redirecting the entire domain can be done with one redirect -- There's no need for (or benefit to) redirecting each page individually.

Jim

silverbytes

1:27 pm on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ouch... don't have idea of how to do that... mod rewrite