AnQi CMS: Three flexible options for customizing website content display mode

How to make the content of a website display effectively on different devices is an important issue that every webmaster needs to consider when building and operating a website.AnQi CMS understands this and therefore provides a variety of flexible content display modes, allowing you to choose the most suitable way to build a website according to your actual needs.No matter if you are pursuing simplicity and efficiency, or need the ultimate customization experience, Anqi CMS can provide strong support.

Next, we will delve into the three website content display modes supported by Anqi CMS: adaptive, code adaptation, and PC+mobile independent stations, to help you understand their features and application scenarios.

1. Adaptive Mode (Responsive Design)

First, let's talk about the most common and popular "Adaptive Mode".In this mode, your website uses a set of code and a set of templates.It adjusts the page layout, image size, and font elements automatically based on the screen size, resolution, and other characteristics of the device visited by the user, to ensure that the content is clear and beautiful on PCs, tablets, or mobile phones.

The benefits of choosing the adaptive mode are obvious:

  • Maintenance is simple:You only need to manage a set of website code and content, which greatly reduces maintenance costs and workload.
  • SEO friendly:Search engines tend to prefer crawling and indexing adaptive websites because they only need to handle one URL, thus avoiding issues with duplicate content.
  • User experience unified:No matter what device the user uses, they can enjoy a similar brand experience.

In Anqi CMS, many templates are designed by default according to the adaptive principle. To enable this mode, you just need to make sure that your template inconfig.jsonfile willtemplate_typeis set to0Just do it.

2. Code Adaptation Mode (Code Adaptation)

Next is the "Code Adaptation Mode", which provides a solution to offer differentiated experiences for different devices while maintaining a unified domain.Different from the adaptive mode, the core of code adaptation mode lies in the server's ability to identify the type of device accessing (such as PC or mobile phone), and then dynamically load and render the template file specifically prepared for that device.

The advantage of this mode is:

  • Differentiated control:You can design a completely different layout and functionality for mobile users, such as a more streamlined navigation, more touch-friendly operations, or displaying content specifically optimized for mobile devices.
  • Unified domain:PC and mobile platforms use the same domain name, users do not need to remember or switch to a different mobile domain name.
  • Relatively flexible: Compared to a completely independent site, it can still maintain a high degree of uniformity in content management.

To implement code adaptation in Anqi CMS, you need to create a folder named under your template directory.mobilein your template folder. ThismobileThe directory will store templates specifically designed for mobile devices. When the system detects that it is being accessed from a mobile device, it will automatically load frommobileLook for and use the corresponding template in the directory. You need toconfig.jsonthe middle oftemplate_typeis set to1enable this mode.

3. PC+Mobile Independent Sites mode (PC+Mobile Independent Sites)

And for those who pursue ultimate customization and independent operation, AnQi CMS provides the "PC+mobile independent station mode".In this mode, your PC website and mobile website will have completely independent domains, independent templates, and even independent management backends and content strategies.This means, mobile users visitm.yourdomain.comPC user accesswww.yourdomain.comBoth are completely independent websites.

Choosing the PC + mobile independent station mode is usually for:

  • Ultimate customization:You can design completely different styles, functional modules, and user interaction processes for PC and mobile websites.
  • Refined SEO:Can perform more refined SEO optimization strategies for different devices, for example, mobile websites can focus on optimizing mobile search rankings.
  • Independent operation:Allow two sites to have independent operation teams and content strategies, suitable for large enterprises or businesses with special needs.

Configure the independent site mode in AnQi CMS, except for creating in the template directorymobileThe subdirectory stores the mobile template, and a more critical step is to clearly fill in the "mobile address" in the "global settings" on the back end. In addition, your server (such as Nginx) also needs to configure the corresponding reverse proxy rules to direct different domains (such aswww.yourdomain.comandm.yourdomain.com)Correctly points to the same security CMS service, where the CMS determines and renders the corresponding PC or mobile template. In the template'sconfig.jsonyou need to replacetemplate_typeis set to2.

How to choose a suitable model for you?

Which model to choose depends on your website goals, budget, and maintenance capabilities:

  • If you want to go online quickly, keep costs under control, and make content management simple,Adaptive modeIt is usually**selected.
  • If you want to provide a more optimized experience for mobile users under a unified domain name, and at the same time do not want to bear the maintenance costs of two independent sites,Code Adaptation ModeIt is a good compromise.
  • If you have high requirements for the brand image, user experience, and SEO strategy on both PC and mobile platforms, and have sufficient resources for independent maintenance, thenPC+Mobile independent station modeWill provide you with the greatest degree of freedom.

This Anqi CMS offers three display modes, which provide a diverse choice through flexible template mechanisms and backend configuration, ensuring that your website can present in a state no matter what device it is on.


Frequently Asked Questions (FAQ)

1. What are the main differences between code adaptation mode and the PC + mobile independent station mode?The main difference between code adaptation mode and PC+mobile independent station mode lies in the independence of domain names and content. In code adaptation mode, the PC and mobile websites use the same domain name, and the system switches to different templates under the same CMS according to the user's device (usually/template/default/and/template/default/mobile/). While the PC + mobile independent station mode has completely independent PC domain names and mobile domain names, they can be considered as two separate sites, and in addition to using different templates, they can also set different content and SEO strategies.

2. I have already selected the adaptive template, what operations need to be performed if I want to change to code adaptation mode?If you want to switch from adaptive mode to code adaptation mode, you mainly need two steps:

  1. Prepare the mobile template:Create a folder named under the template directory you are currently using,mobileCreate a subdirectory and place the template files designed for mobile devices in this directory, which should be similar in structure to the PC template.
  2. Modify the template configuration:Edit the templates in your template directory.config.jsonfile, totemplate_typechange the value of0(Adaptive) modified to1(Code adaptation). The system will automatically load when it detects a mobile devicemobileThe template under the directory.

3. What is the impact on website SEO when using the PC + mobile independent station mode?The PC+mobile independent station model can provide more refined SEO optimization space, and you can develop different keyword strategies and content focus for the PC and mobile market.But this may also bring some challenges, such as the need to manage the SEO data of two sites separately, and ensure that the content between the two sites is 'standardized' to avoid search engines identifying it as duplicate content.usually need to configurerel="canonical"andrel="alternate"Tags to clearly define the correspondence between PC pages and mobile pages, guiding search engines to correctly index. Anqi CMS provides standard links