Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: one site two domains

one site two domains 11 years, 2 months ago #15798

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");
}
Last Edit: 11 years, 2 months ago by MichaelJames.
  • Page:
  • 1
Time to create page: 0.07 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.