![]()
This is exactly the functionality that Login Redirect for Community Builder was designed for. To further this example, suppose you have a field called cb_fav_color and the possible select options are "Red, Blue, Black." In Login Redirect CB, you would select that field to use, then the component would provide four options. The first is the default, the next three are for you to specify what URL each color gets. The "default" option is for any user who doesn't have a favorite color specified, or for any value that doesn't have a specific page. Here is a screen capture of the component:
So you could set up:
Default: http://www.corshops.com
Red: http://www.google.com
Blue: http://www.yahoo.com
Black: http://www.cnn.com
Users that don't have a stated favorite color go to corshops.com. Users who like Red go to google.com when they login. Users that like blue go to Yahoo, and users that like Black go to cnn.com (Obviously, these would normally be links to content on your site, but you can use outside URLs also as illustrated above).
You do not have to set up all values with options. You can set the default, and then only specify a specific URL for "Blue." Anyone who has no preference or who has Black or Red gets the default, while "Blue" users get a specific landing page.