nexuspolaris Posted January 16, 2024 Posted January 16, 2024 Hello! I build a website with two different domains connected to the website by Multisite modul. This is my config.php multisite settings: <?php $config->MultisiteDomains = array( "dev.regiosite.com" => array( "root" => "regiosite", "http404" => 27 ), "dev.origisite.com" => array( "root" => "origisite", "http404" => 27 ) ); ?> This is the page structure: Web (web.regiosite.com) -Regiosite (dev.regiosite.com) --About us --404 -Origosite (dev.origosite.com) --About us --404 The navigation loop: <?php $siteRoot = $page->rootParent; foreach ($siteRoot->children as $child) { echo "<li><a href='$child->url'>$child->title</a></li>"; } ?> When I click on the child page's name (About us) in the menu the url is right in the browser (http://dev.regiosite.com/about-us) but doesn't load the child page's content. This way works: http://web.regiosite.com/regiosite/about-us What am I missing? Or I need to change something in the .htaccess?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now