In today's complex digital environment, many enterprises and content creators are no longer satisfied with operating on a single site.Brand expansion, territorial coverage, and product line differentiation often require multiple independent websites to carry different content and marketing strategies.How can one maintain the independence of content across sites while also managing and displaying it uniformly and efficiently, which is a challenge faced by many operators.AnQi CMS, with its ability specially designed for multi-site management, provides us with an elegant solution.

The cornerstone of AnQi CMS multi-site architecture

The AnQi CMS was designed with the need for multi-site management from the outset, it uses a simple and efficient system architecture that allows you to create and manage multiple completely independent websites under a single installation instance.This means you do not need to deploy a new CMS for each new site, which greatly simplifies the operation and maintenance workload and facilitates the centralized scheduling of resources.

In actual operation, you just need to add a new site in the "Multi-site Management" feature of the Anqi CMS backend, and configure independent domain names, site root directories, and database information for each site.It is worth mentioning that even though these sites share the same AnQi CMS core program, their data, cache, and configuration are all independent, ensuring isolation and security between sites.For example, if you deploy AnQi CMS through Docker and combine it with Nginx or Apache's reverse proxy settings, you can easily achieve the deployment and access of multiple sites.

Flexible content model, for customized structure of multi-site content

Different sites often have different content types and display logic.An e-commerce website may need a "product model", including fields such as price, inventory, etc.And a news information site may need a "article model", focusing on author, source, publishing time and other information.The flexible content model feature of AnQi CMS allows you to customize a dedicated content structure according to the specific business needs of each site.

You can create an unlimited number of content models and define unique fields for each model, such as single-line text, numbers, multi-line text, single/multiple selections, etc.This means that when you create content for a new site, you are no longer limited by fixed templates but can fully adapt to its unique business scenarios.This high flexibility is the key to efficient content management and display, as it ensures that content is well-structured at the input stage, laying a foundation for accurate presentation on the front end.

Cross-site content invocation: utilizingsiteIdAchieving content intercommunication

One of the most powerful weapons of AnQi CMS in achieving efficient display of content across multiple sites is the built-in template tags.siteIdParameter. This parameter is a bridge for content interoperability, allowing you to easily call and display content from other sites on a single site, breaking the content island.

Imagine such a scenario: you have a main brand website that has published a large number of high-quality industry articles and company news.At the same time, you also have several independent websites for sub-brands or product lines, hoping to also display the latest news or selected articles from the main site on these sub-sites to enhance content richness and brand relevance. ThroughsiteIdThis makes it exceptionally simple.

  1. List of articles from other sitesAssuming your main site ID is1, the content model ID is1(article model), you can use it in the sidebar or homepage of the child site,archiveListTag to retrieve the latest articles from the main station:

    {% archiveList latestArticles with siteId="1" moduleId="1" limit="5" %}
        {% for item in latestArticles %}
            <a href="{{ item.Link }}">{{ item.Title }}</a>
        {% endfor %}
    {% endarchiveList %}
    

    here,siteId="1"Explicitly indicates that the system should retrieve content from a site with ID 1, whilemoduleId="1"it limits to retrieving only the content of the article model.

  2. Displays the category navigation of other sitesIf your main site has some general product categories that the child site wants to refer to, it can also be done throughcategoryListTag implementation:

    {% categoryList mainSiteCategories with siteId="1" parentId="0" moduleId="2" %}
        {% for category in mainSiteCategories %}
            <a href="{{ category.Link }}">{{ category.Title }}</a>
        {% endfor %}
    {% endcategoryList %}
    

    In this way, the child site can easily display the product category structure of the main site.

  3. Share unified single-page contentFor example, pages such as “About Us” or “Contact Information” may be identical across multiple sites. You can publish this content on the main site (assuming ID is1, the single page ID isXThen use it on other sitespageDetailCall the tag

    {% pageDetail aboutUsContent with siteId="1" id="X" name="Content" %}
        {{ aboutUsContent|safe }}
    {% endpageDetail %}
    

    Byname="Content"We directly retrieved and displayed the content of the single page|safeThen ensure that the HTML content can be parsed correctly.

  4. Call the shared system or contact informationYour sites may share the same company's contact number or filing information. ThroughsystemorcontactLabel, you can obtain this information from the main site and keep it consistent on all sub-sites:

    公司电话:{% contact with siteId="1" name="Cellphone" %}
    

    This ensures the consistency and real-time update of key information, once the main station is modified, all the sub-stations that call it will also be synchronized updated.

Through these flexiblesiteIdThe calling method allows you to build a highly interconnected, content-rich multi-site matrix while minimizing the work of creating and managing duplicate content.

精细化内容运营:Enhance user experience across multiple sites

Efficient content display is not just about technical implementation, but also involves refined operational strategies to enhance user experience and search engine optimization.

  • Multilingual SupportIf your multi-site strategy also involves a global layout,