The module currently redirects fine for nodes:

foo.example.com/node/123

redirects to

bar.example.com/node/123

however, for system paths (user, etc), or views, this doesn't work:

foo.example.com/user

redirects to:

bar.example.com

Comments

jhedstrom’s picture

Status: Active » Closed (works as designed)

Nope. Nevermind. This was a configuration/cookie issue.

jhedstrom’s picture

Status: Closed (works as designed) » Needs review
StatusFileSize
new1.54 KB

Hmm. Now I can reproduce it. Adding patch that seems to fix it, in case others want to test.

jhedstrom’s picture

StatusFileSize
new1.67 KB

Updated patch that uses domain_get_uri() for simplicity.