How to view or modify the access URL of the mobile site in the AnQiCMS backend settings?
As an experienced website operations expert, I am happy to give you a detailed explanation of how to easily manage the access URL of a mobile site on the AnQiCMS backend, ensuring that your website provides a smooth and optimized access experience on different devices.
Easy CMS: Manage mobile website URLs, optimize user experience
Today, with mobile devices becoming the mainstream access terminal, a clear, memorable, and SEO-friendly mobile website URL is crucial.AnQiCMS knows this 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 your mobile site URL in the AnQiCMS backend settings.
The entry for setting the mobile site URL is clear
First, you need to log in to the AnQiCMS admin interface. After successful login, please shift your gaze to the left navigation bar, find and click“Background Settings”This item. It collects all the core configurations of the website, and is an important hub for you to manage the basic information of the website.
After entering the "Backend Settings" page, you will see multiple configuration options, which are usually presented as tabs. Please locate and selectGlobal function settings. As the name implies, this section stores critical parameters that affect the operation 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 a named“Mobile end address”input box. This input box is specifically used to set the access URL of your mobile site.
- Check the current settings:If your website has configured a mobile-end 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.
After completing or modifying the address, be sure to scroll to the bottom of the page and click“Save”to ensure that your changes take effect.
Understand the role of 'Mobile End Address' and the website mode selection
AnQiCMS supports various website modes, and the setting of the 'mobile end address' is closely related to the website mode you choose.
Based on the characteristics of AnQiCMS, it supportsAdaptive, code adaptation, and independent PC + mobile siteThree types of template styles.
- Adaptive mode:In this mode, the website uses the same URL and template set regardless of PC or mobile end.In this mode, the website also uses the same URL and template set.Adjust the layout based on screen size using CSS and other technologies.Therefore, it is usually not necessary to set a separate "mobile end address", because the main site's URL is already well adapted to mobile access.
- Code adaptation mode:The website also uses the same URL and template set in this mode.The same URLBut will load based on the User-Agent information of the user's device, etc.Different code or templateAdapt to mobile devices. Similarly, it is usually not necessary to set a separate 'mobile address'.
- PC+Mobile independent site mode:This mode is the only situation that requires a separate configuration of the "mobile end address". It means that your PC site and mobile site havecompletely different domain names or subdomainsAnd correspond to different templates. For example, PC access
www.yourdomain.comAnd mobile accessm.yourdomain.comIn this case, the URL you enter in the 'Mobile end address' will guide mobile device users to the site you have specially prepared for mobile devices.
Therefore, before setting the "mobile end address", please make sure that the website mode you have chosen is "PC + mobile independent site", otherwise this setting may not produce the expected effect.
Additional important considerations
- Domain resolution:If you have set up a separate domain for your mobile site (for example
m.yourdomain.comMake sure that this domain has been correctly resolved through DNS to point to your server, otherwise users will not be able to access.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:Under the "PC + mobile independent site" mode, your mobile template files are usually stored in the AnQiCMS template directory.
mobile/In the subdirectory. Make sure your template design works with the mobile address you set to provide a high-quality user experience.
Summary
AnQiCMS provides a clear and easy-to-use interface for managing the access URL of mobile site.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 independent operation of PC and mobile end.Remember, correct domain resolution and matching templates are the key to smooth access to mobile sites.AnQiCMS is dedicated to providing you with an efficient and convenient content management solution, enabling your website to thrive in the digital world.
Frequently Asked Questions (FAQ)
Q1: Do I need to set a 'mobile endpoint' if my website uses responsive design?A1: Usually not needed. AnQiCMS' adaptive mode means that your website uses the same URL and a set of templates on both PC and mobile devices, the system will automatically adjust the layout to fit different devices.In this case, you can leave the 'Mobile End Address' field blank, the page will automatically adapt when accessed through the main site URL.
Q2: How will the front-end users access after setting up a mobile endpoint?A2: If you have set a separate mobile address (for examplem.yourdomain.com)And chose the PC+mobile independent site mode, AnQiCMS usually redirects mobile device users to the mobile address you set according to the device type of the visitor (judged by User-Agent), while PC users still access the main site address.
Q3: How do I call and display the mobile end address I set in the template?A3: In the AnQiCMS template, you can use the built-in{% system %}Label to call the various system settings of the background, including the mobile end address. The specific calling method is: {% system with name="MobileUrl" %}This will output the mobile end URL you set in the background in the template, convenient for you to use for links, redirects, or other dynamic display needs.