I installed Mobile Joomla without a problem and it works file with example1.com but our members registered area in in the same install of Joomla but uses a different domain name of example2.com but does not work. We are using an 301 redirect to detect the new domain name and send the user to that page. How can we get Mobile Joomla to use both domains?
The registered link is hard coded on the example1.com site so that it gets rewritten on the registered side. All of this has also been done if the user just goes to the example2.com site they reach the log in page.
if (($domain == "
www.example2.com" && $requri == "/" || $domain == "example2.com")) {
header("Status: 301 Moved Permanently");
header("Location:
www.example2.com/m-login");
}