English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: Slave Admin Redirects to Master Admin
#4249
Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 0
Linux machine, Symlink is allowed. All but cache, tmp, logs under slave site are symlinked.
Slave sub.domain.com has been configured under master domain.com.
sub.domain.com successfully resolves to its path but sub.domain.com/administrator redirects to domain.com/administrator.
If the directory is not symlinked it works fine.
What is missing here?
sural98
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4253
Re: Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 54
If you are redirected to the master website, this probably mean that you have not correctly enter the same domain or URL as the one you have defined in JMS.

The most frequent error is that you have not defined both URL with and without the WWW
Perhaps also you are using http and https - if this is the case, you also have to define slave domain with http and https.

for example
www.domain.com
domain.com
www.domain.com
domain.com

You can NOT use redirection as this destroy the URL information.
If you are using cPanel, you can only use subdomain, domain or parked domain and NEVER REDIRECTION.
Redirection change the URL with the new one and therefore Jms Multisites will receive the new redirected URL information.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4258
Re: Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 0
I am not the one redirecting. I have created a slave site with the following values. With this configuration I can see sub.domain.com but sub.domain.com/administrator sends me to domain.com/administrator

CONFIGURATION VALUES AT domain.com BACKEND
Deployed directory: /home/domain/public_html/sub
List of domain names:
www.sub.domain.com
sub.domain.com
sural98
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4260
Re: Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 54
Perhaps you have put manually a "live_site" value in the slave "configuration.php" file that contain the URL of the master. or you have setup your HTTP Server (not JMS) to redirect the subdomain to the main not.

I remember you that you can NOT use redirect when you configure a subdomain in your HTTP Server (cPanel, plesk, or whatever) administration tool.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4261
Re: Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 0
I have removed the value of the parameter live_site but still no change.
Please notice that I don't know why but ONLY slave site administration (sub.domain.com/administrator) redirects to domain.com/administrator.
That is slave site can be viewed without any problems.
I have done no modifications in cPanel configuration.
sural98
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/27 11:39 By sural98.
The administrator has disabled public write access.
 
#4262
Re: Slave Admin Redirects to Master Admin 14 Years, 7 Months ago Karma: 0
This time I have leaved the parameter live_site EMPTY for both slave and master.
Slave site administration opened slave.master.com/administration. That is it has not been redirected to master.com/administration but it started seeing the configuration.php of the master site.
This means slave site administration opens as if it is master site administration.
sural98
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla