How to display a menu when mnogosaitov.org Bitrix?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
11 views
There are 2 domains: site.ru and old.site.rusite.ru and old.site.ru
Created 2 templates for each of them.
Files sites are in directories s1 and s2.
When contacting site.ru menu .top.menu.php is displayed when you navigate to the page site.ru/about not displayed on the page site.ru/s1/about menu works.
The only problem with the menu, all the pages are displayed normally.

How can I solve the problem?
by | 11 views

2 Answers

0 like 0 dislike
Files sites are in directories s1 and s2.
When contacting site.ru

This is a very bad mnogosaitov.org - made crooked.

Need to do at least this:
/home/bitrix/www/.top.menu.php
/home/bitrix/www/about/index.php
/home/bitrix/www/s2/.top.menu.php
/home/bitrix/www/s2/about/index.php

And then the first site open for site.ru (SITRE_DIR = /)
And old.site.ru make SITE_DIR = /s2/

Or do different folders post:
/home/bitrix/www/* is the first website
/home/bitrix/ext_www/s2/* the second website

What You have done, maybe to dev'and fit, but not for production - you SEOs sticks in the dark score
by
0 like 0 dislike
what you got there .top.menu.php? give code
by

Related questions

0 like 0 dislike
2 answers
asked Apr 9, 2019 by VladimirPortev
0 like 0 dislike
4 answers
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 10, 2019 by Secret73
110,608 questions
257,186 answers
0 comments
35,648 users