Forum Moderators: phranque

Message Too Old, No Replies

Redirect

         

Kredo

10:25 pm on Oct 18, 2002 (gmt 0)

10+ Year Member



I'm using this code in .httaccess file for redirection using apache
" Redirect / [redirectdomain.com...] "
but what code do I need to cloak the URL? Lets say I'm redirect from www.1.com to www.2.com. What I need is when some user enters to www.1.com and it redirects him to www.2.com, he still sees www.1.com in the address line. Please help.
Thanks

Kredo

Kredo

4:08 pm on Oct 19, 2002 (gmt 0)

10+ Year Member



anybody please? that's just a redirect with cloaking feature. Someone has to know this stuff better than I do :(
Help!

jdMorgan

4:19 pm on Oct 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Kredo,

Welcome to WebmasterWorld!

If you redirect from one server to another, then the address bar will change.

You might look into using an IFRAME, but I haven't personally used that method. You can use the site search here on WebmasterWorld for more info.

Be advised that search engines don't like tricky redirects, and the penalty can be a permanent ban.

Jim

Kredo

6:03 pm on Oct 19, 2002 (gmt 0)

10+ Year Member



It's not for official site or something...just my own home page. The thing is that I already have web space but I need new registered domain to redirect to this space, that way I don't have to pay for full hosting.

carfac

6:34 pm on Oct 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

I THINK if you use the Pasthrough attribute ([PT]), it will NOT update the URL... BUT, I think it has to be on the same server or VH.... it cannot go to a different domain name.

EX:

rewriterule ^/$ /newpage.html [PT]

dave

Kredo

6:44 pm on Oct 19, 2002 (gmt 0)

10+ Year Member



that's the problem, I need it on different domain name. :/

carfac

4:24 am on Oct 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Kredo:

I have been trying to do that... go to a different domain w/o showing the update... and (so far) I have not been able to. I even tried using URI's instead of URL's (as they are both on the same machine, I can do that) and no go...

sorry for the bad news!

dave