Answer the question
In order to leave comments, you need to log in
How to correctly index container content in MODX?
I don’t know much about CMS, I would like to ask knowledgeable people. The bottom line is this: there is a site on modx, a container (alias services) is created in it, in which pages are created (let's say with aliases a, b and c).
The site/services page shows the titles of nested pages, and by clicking on this block, an anchor with the name of the page alias is added to the link, that is, a link of the form: site/services/#a , by which the text of the desired block is revealed. The trouble is that the html code of the services page contains the html code of all nested blocks. Even visiting the site/services/a link (without an anchor) eventually leads to the site/services/a#a link, which also contains the text of all blocks (everything is correct for the user, the desired block pops up). SEO specialists say that they don’t understand what URLs to promote these pages in direct, because they can’t separate the content, and it’s not clear how it is indexed. I would be glad if someone could explain this point. I would like to understand how to make it so that only information related to this page is available on the url. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Where can I specify a link template? To make it clearer, here is the site:
adelservice.ru/services
And its elements:
adelservice.ru/services/#wall-cut
adelservice.ru/services/#diamond
, etc.
By url adelservice.ru/wall-cut - text only
By url adelservice.ru/services/wall-cut - the url opens adelservice.ru/services/wall-cut#wall-cut
But in the code the content of all blocks:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question