Forum Moderators: phranque

Message Too Old, No Replies

301 redirect from 1 domain page to another domain page

         

starchip

3:48 am on Oct 6, 2005 (gmt 0)



Hi,
I'm trying to use the 301 redirect to go from a page on one domain to a page on another domain.
When surfers visit here, [starchip.com...]
I want them to be redirected to here,
[crapspit.org...]
I'm somehow messing the redirect up. When I try to click on any starchip domian page I get moved to the crapspit site.
How can I set up the redirect so I just go from the starchip.com/crapspit.htm page to the crapspit.org site?

jd01

8:18 am on Oct 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When I try to click on any starchip domian page I get moved to the crapspit site.
How can I set up the redirect so I just go from the starchip.com/crapspit.htm page to the crapspit.org site?

I am not sure I understand the question, are you trying to go to the same page on the other site, or to the root of the other site?

Please, also post any code you are using.

Justin

starchip

8:48 am on Oct 6, 2005 (gmt 0)



I'm trying to go from the starchip/crapspit.com site to the crapspit.org site
I'm somewhat new at this so I assume it's the root of Crapspit
I was using redirect 301 /http://www.crapspit.org
That made anything from the starchip domain go to the crapspit domian.

jd01

5:22 pm on Oct 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So, are you only wanting to redirect a single page? You could use something like this:

Redirect 301 /yourpage.html http://www.yoursite.com

If not please, let us know exactly what you are trying to do.

Justin

starchip

10:21 pm on Oct 6, 2005 (gmt 0)



It worked!
I see now that my mistake was adding the domain name along with the page name of the site I wanted to redirect from.
Thanks much for your help.
John