As an experienced website operations expert, I am more than happy to detail how to easily manage the access URL of the mobile site on the AnQiCMS backend, ensuring that your website provides a smooth and optimized access experience on different devices.
Easy management of mobile website URL, optimizing user access experience
Today, with mobile devices becoming the mainstream access terminal, a clear, memorable, and SEO-friendly mobile website URL is crucial.AnQiCMS knows this point and provides an intuitive and convenient backend setting, allowing you to flexibly configure the access address of the mobile site according to your actual needs.
Next, we will step by step understand how to view or modify the URL of your mobile site in the AnQiCMS backend settings.
Clearly move the entrance of the site URL setting for mobile
Firstly, you need to log in to the AnQiCMS admin interface. After successful login, please direct your attention to the left-hand navigation bar, find and click“Backend Settings”This item. This is an important hub that gathers all the core configurations of the website, which is essential for managing the basic information of the website.
After entering the "Background Settings" page, you will see multiple configuration options, which are usually presented in the form of tabs. Please locate and select“Global Function Settings”. As the name implies, here are the key parameters that affect the running way of the entire website, including the mobile end URL configuration we are looking for today.
Locate and modify the 'mobile end address'
In the "Global Feature Settings" page, you will find an input box namedthe option of 'Mobile End Address'. This input box is specifically used to set the access URL of your mobile site.
- Check current settings:If your website has already configured a mobile address, the current URL will be displayed here.
- Modify or enter a new address:If you wish to modify an existing address or this is your first setup, simply enter the desired mobile site access URL in this box. For example, you can set it to
https://m.yourdomain.comorhttps://mobile.yourdomain.cometc.
Complete the address entry or modification, and then scroll to the bottom of the page, click“Save”the button to ensure that your changes take effect.
Understand the role of 'Mobile Address' and the selection of website mode
AnQiCMS supports various website modes, and the setting of 'Mobile End Address' is closely related to the website mode you choose.
According to the characteristics of AnQiCMS, it supportsAdaptive, code adaptation and independent site for PC+mobileThree types of template styles.
- Adaptive mode:In this mode, the website uses the same for both PC and mobile endpointsThe same URL and the same set of templatesJust by using CSS and other technologies to adjust the layout according to the screen size.Therefore, it is usually not necessary to set a separate 'mobile address', as the main site's URL already adapts well to mobile access.
- Code adaptation mode:In this mode, the website also usesThe same URLBut will load different code or template based on the User-Agent information of the user's deviceDifferent code or templateTo adapt to mobile devices. Similarly, it is usually not necessary to set a 'mobile end address' separately.
- PC+Mobile Independent Site Mode:This pattern is the only one that requires a separate configuration for "mobile address". It means that your PC site and mobile site havecompletely different domain names or subdomainsAnd they correspond to different templates. For example, access from the PC end
www.yourdomain.comAnd access from the mobile endm.yourdomain.comIn this case, the URL you enter in the 'Mobile Address' will direct mobile device users to the site you have prepared specifically for mobile devices.
Therefore, before setting the "Mobile Address
Additional important considerations
- Domain resolution:If you have set a separate domain for a mobile site (for example
m.yourdomain.comPlease make sure that this domain has been correctly resolved through DNS to point to your server; otherwise, users will not be able to access it.This is similar to the domain name resolution process of your main site, which is the foundation for the normal operation of the website. - Template adaptation:In the "PC+Mobile Independent Site" mode, your mobile template files are usually stored in the AnQiCMS template directory.
mobile/In the subdirectory. Ensure that your template design can work协同工作 with the mobile end address you set and provide a high-quality user experience.
Summary
AnQiCMS provides a clear and easy-to-use interface for managing the access URL of mobile sites.By simply modifying the 'Mobile end address' field in the 'Global Function Settings' under 'Background Settings', you can flexibly meet the needs of different website modes, especially when you choose to operate PC and mobile end independently.Remember, correct domain resolution and matching templates are crucial for smooth access to the mobile site.AnQiCMS is committed to providing you with an efficient and convenient content management solution, allowing your website to thrive in the digital world.
Common Questions (FAQ)
Q1: If my website uses responsive design, do I still need to set a 'mobile address'?A1: Usually not required.AnQiCMS's adaptive mode means that your website uses the same URL and a set of templates on both PC and mobile devices, and the system will automatically adjust the layout to accommodate different devices.In this case, the 'Mobile Endpoint' field can be left blank, and the page will automatically adapt when accessed through the main site URL.
Q2: After setting a mobile address, how will front-end users access it?A2: If you have set a separate mobile address (such asm.yourdomain.com)and selected the PC+mobile independent site mode, AnQiCMS will usually redirect mobile device users to the mobile end address you set, while PC users still access the main site address, based on the device type of the visiting user (judged by User-Agent), automatically.
Q3: How can I call the mobile end address I set in the template to display it?A3: In AnQiCMS templates, you can use the built-in{% system %}Tag to call the background settings of various system information, including the mobile address. The specific calling method is: {% system with name="MobileUrl" %}This will output the mobile URL you set in the background in the template, convenient for you to use it for links, redirections, or other dynamic display needs.