LadyHacker, sounds like some .htaccess or a .htconf with the provider of your services. Normally unless you have redirector installed there will be no kick to another spot. You will goto your host and there will be the site displayed..
The other thing it could be is the cache file names these need to include XOOPS_URL as they contain static data like link addresses.. If it is using say the cache for:
http://www.yoursite.comand you make a subdomain for
http://subby.yoursite.comit will then provide only for close of HTML links for the first URL.
This has been changed in 2.4.0 (Will need some cleaning processess done for 2.4.1) I suggest to all running multisite there is some changes you need to do first up:
In XOOPS Cache you need to make the following changes:
function write($key, $value, $duration = null)
{
$key .= '_'.urlencode(XOOPS_URL);
....
function read($key, $config = null)
{
$key .= '_'.urlencode(XOOPS_URL);
....
function delete($key, $config = null)
{
$key .= '_'.urlencode(XOOPS_URL);
....
The delete function will be altered in 2.4.1 to support deletion of all $key with a URL config.. This will not be address for the release of 2.4.0
Then the other place you will have to make a change is in the templating.. in template.php in 2.4.0 the following line 146 needs to look like this in xoops.. or the similar type of code for your version
// This is in function setCompileId
// Line 146
$this->compile_id = urlencode(XOOPS_URL) . '%%' . $module_dirname . '-' . $theme_set . '-' . $template_set;
The additional part is :: urlencode(XOOPS_URL) . '%%' .
The other thing you have to do is make XOOPS_URL dynamic.. Which means it will detect the URL.. This is done with $_SERVER['HTTP_HOST'] which will always contain the domain remember if you have a path afterward like a
http://yousite.com/yourpath/index.php you have include this
for
http://www.yoursite.com/ this will be as follows in main file.
define('XOOPS_URL', 'http://'.$_SERVER['HTTP_HOST']);
for
http://www.yoursite.com/afolder/ this will be as follows in main file.
define('XOOPS_URL', 'http://'.$_SERVER['HTTP_HOST'].'/afolder');