For users with multiple websites, brands, or content branches, how to efficiently manage and flexibly display content has always been a core challenge in website operations.AnQiCMS is a content management system designed for multi-site management, which not only provides a unified backend management interface, but also gives users great freedom in front-end content display, allowing for completely independent content display and easy implementation of unified calls and aggregated display across sites.

Next, we will delve into how AnQiCMS implements these two seemingly opposing yet complementary content display strategies.

Independent display: Creating a unique experience for each site.

When we need to provide completely independent content, design, and user experience for each site, AnQiCMS provides comprehensive support.This usually applies to enterprises that have multiple independent brands, product lines, or sub-sites with different market positioning.

In the AnQiCMS architecture, each new site added through the "multi-site management" feature can be considered an independent logical entity. This means that they have:

  1. A standalone domain and access path: Each site has its own domain name or subdomain. Users can access these different URLs to enter their respective independent websites.
  2. Independent database and file storage: New sites will be allocated independent database tables to store their content data, as well as independent website root directories (for example, in Docker environments are/app/域名_comIn the Baota panel it is/www/wwwroot/域名.com/to store static resources and cache files. This ensures physical isolation of data between sites and no interference.
  3. Independent backend management and permissionsEach independent site can be configured with its own administrator account and password, having its own backend management permissions, thus avoiding the confusion of cross-site management permissions.
  4. Independent template designYou can upload and enable a completely different set of templates for each site.For example, a site can use a minimalist template to display technical documents, while another site can use a luxurious e-commerce template to sell products.Each template file (such asindex.html/{模型table}/detail.htmlThe same) only acts on its own site, ensuring the uniqueness of front-end vision and interaction.

With this independent setup, a site focused on product display can have a unique product model and template, while the other can be a pure blog site. Both do not interfere with each other on the front end, maintaining the independence of their brands and the focus of their content.This provides a solid foundation for creating highly personalized user experiences.

Unified management and cross-site calls: realize content reuse and collaboration.

Independence is indeed important, but for certain scenarios, such as when the main site needs to aggregate selected content from sub-sites, or when certain general content needs to be shared between multiple sub-sites, AnQiCMS also provides an efficient solution - that is through a powerful template tag system andsiteIdParameter.

AnQiCMS cleverly introduces a name in the core content list and detail tags,siteIdThe key parameter. Its appearance has completely broken down the barriers between sites, making cross-site content calls effortless.

You can understand the content tag as the "command" of the data request, whereassiteIdThis is the "target" of the command. By calling such asarchiveList(Document list),categoryList(Category list),pageList(single-page list),tagListTag lists} are explicitly specified when obtaining tagssiteId, you can easily obtain and display content fromother sites, not just the current site.

The following are some actual application scenarios:

  • Aggregate News CenterA company has multiple sub-brand websites, and the main site wants to display the latest news of all sub-brand websites. You just need to use thearchiveListtag to specify the websites of each sub-site.siteIdAggregate the latest information of all child sites. For example,{% archiveList news fromSiteId="2,3,4" limit="10" %}Can obtain the latest 10 news of site ID 2, 3, 4.
  • Share product catalogIf you have a shared product database (assuming located at the 'Product Center' site ID 1), you can display the same products on different front-end brand websites. The templates for each brand website can be accessed directly througharchiveListspecifiedsiteId="1"Fetch product data and render it according to your own design style.
  • Unified contact informationEven including:system(System settings information),contact(Contact information) and other basic information, can also be accessed throughsiteIdObtained from a specific site. For example,{% contact with name="Cellphone" siteId="1" %}The contact information with site ID 1 can be displayed on any site. This is very useful to ensure the unified publication and update of important company information.
  • Multilingual version contentCombined with AnQiCMS:languagesLabel, you can provide content for different language versions of the site, each language site can display its localized content independently, and also throughsiteIdThe parameter refers to specific content on other language sites, realizing a more complex internationalization content strategy.

This mechanism greatly enhances the efficiency of content operation. Content needs to be created only once, and can be retrieved and displayed on multiple frontends as needed, reducing redundant labor and ensuring consistency of information, while also maintaining the flexibility of frontend display.

Flexible and variable implementation strategy

The multi-site management function of AnQiCMS has achieved high flexibility and control in front-end content display. You can choose one or more strategies according to your actual business needs:

  1. Fully Independent ModeEach site has independent backend and frontend data, brand image and content are completely decoupled, and do not affect each other. This is suitable for brands or businesses with extremely differentiating characteristics.
  2. Content Aggregation Mode: PasssiteIdParameters, on the main site or other specified sites, aggregate and display the selected content of multiple child sites to form a unified entry or overview.
  3. Content Sharing Mode: Certain general content (such as company profiles, FAQs, basic product information) is created on only one site and then referenced at other sites to ensure consistency and update efficiency.siteIdIn other sites, it ensures consistency and update efficiency.
  4. Mixed ModeThis is the most common usage. Most content is kept independent of the site, but key information or certain specific modules (such as the latest news, recommended products) are implemented through cross-site calls to achieve content reuse or aggregation.

In summary, AnQiCMS, through its fine multi-site management features and flexible template tag system, gives users complete control over the front-end display of multi-site content.No matter your need is to build a completely independent brand website or to construct a highly integrated portal, AnQiCMS can provide a powerful and easy-to-use solution to help your website operation strategy implement efficiently.


Frequently Asked Questions (FAQ)

  1. How many sites can a single AnQiCMS instance manage?The design of AnQiCMS aims to efficiently manage multiple sites.In terms of technology, a single AnQiCMS instance can manage a large number of sites as long as the server resources (CPU, memory, database performance) allow it, there is no rigid limit in theory.By configuring independent databases and root directories for each site, the data and files between different sites are isolated, and the performance bottleneck mainly depends on the server hardware configuration and total traffic volume.

  2. How to maintain consistent or independent styles for cross-site calls on the frontend?When you usesiteIdWhen calling content from other sites, only the original content data is obtained.This data is rendered in the template of the current site. Therefore, the final display style of the content is completely controlled by the CSS style and HTML structure of the current site.If you want the content called across sites to be consistent on all sites