Web Hosting Talk







View Full Version : Invisible Redirects


NVB
09-17-2001, 02:30 PM
A few weeks ago, I asked how to redirect hits on my messageboard to a different server. I used the redicrect command in the form:

Redirect /forumdir http://www.domain2.com/forumdir

One negative consequence to this setup is all the links and cookies change (domain1 becomes domain2). The move is not invisible, and people lose track of new messages.

I would like to keep the domain1.com messageboard links on domain2.com, so the message links remain colored. Is there any way to make the messageboard not bounce links through domain1? Perhaps I could use some type of mod_rewrite command and dynamically rewrite the links so domain1 links on the messageboard became domain2.

freakysid
09-18-2001, 07:21 AM
I was going to suggest mod_rewrite ReWrite rules. That's the only way I can think of to make hide the redirect from the user and the browser (for the cookies).