$base_url set to an external domain causes problems when logging in I am developing a conference site with Drupal 7. The site is hosted at domain1.com. The conference is covered by another organization, and they require the conference page to be accessible from their own domain, something like organization.com/conference2014.
Fortunately, Drupal has the $base_url variable and the site is accessible from organization.com/conference2014.

My problem is when I want to access administration interface of Drupal from organization.com/conference2014?q=user/login. After I enter my credentials, Drupal redirects me to the organization.com site which is administrated by the organization administrator. When I access again organization.com/conference2014, it still asks me for the password.

What I need to achieve is, after entering the credentials, being redirected to organization.com/conference2014, and being to perform any administration task.

Do you have any idea on how to tackle this problem?
You can set action on after login user.

And that action could trigger through set a perticular trigger.

please use these url to solve this issue in your site.


www.example.com/admin/config/system/actions
www.example.com/admin/structure/trigger/user


Hope this works for you.

Thanks
Sanjay