Reply
Employee
christophero_lim
Posts: 2
Registered: 01-09-2012
0

Re: Simple redirection

Hi,

 

You can try this:

 

if( http.getHostHeader() == "connect.example.com" ) {
http.changeSite( "abc.salesforce.com" );
}

 

Hope it helps.

 

Fry
msk2886
Posts: 1
Registered: 01-11-2012
0

Simple redirection

I am currently using a simple meta refresh page to redirect from a vanity URL to a real URL, but was thinking it could be done on ZTM instead.  Just want to redirect people from connect.example.com to abc.salesforce.com.

 

Along same lines, I want to redirect from connect.example.com/name to abc.salesforce.com/name.

 

Any suggestions on approach or direction to do this would be appreciated.

‬‪‬‪‬‪