What's the best way to rewrite traffic from domainA.com/foo to domainB.com/bar while properly rewrit

Posted by Chad DePue on Server Fault See other posts from Server Fault or by Chad DePue
Published on 2009-11-03T15:43:04Z Indexed on 2010/04/17 7:03 UTC
Read the original article Hit count: 259

Filed under:
|

We have a number of sites that have blogs, like

  • domainA.com/blog
  • domainB.com/blog

and we host the blogs on wordpress multi user:

  • our-separate-wordpress-site.com/domaina_blog
  • our-separate-wordpress-site.com/domainb_blog

for SEO reasons we really, really want domainA.com/blog to be the blog url, not the other path.

But we don't see any examples where this is done, because we need not to just rewrite the traffic, but cookies as well... is this possible with a webserver or a reverse proxy?

© Server Fault or respective owner

Related posts about rewrite

Related posts about cookies