Use Phpcms V9 Four steps to complete WAP Mobile station construction
Source: Internet
Author: User
<span id="Label3"> </p><pre class="brush:csharp;gutter:true;">With the latest release of Phpcms V9 built Onow Chinese network, the Web site (www.onow.cn) completed, There are users to provide mobile phone access problems, and then set up Onow Mobile WAP station (3g.onow.cn). The following steps are required to complete the WAP setup with Phpcms V9: the first step: domain name resolution and build station into the domain name management, establish a record, resolve to the corresponding IP address, such as the 3g.onow.cn resolution to 202.165.183.10, In the Web service settings (iis or apache), The home directory is the same as the www.onow.cn home directory, but the default home page is set to index.php, and www.onow.cn Station's default home is index.html the second step: in Phpcms V9 Management background Add Mobile portal phpcms V9 Admin Center module "mobile portal" Add mobile site fill site name, LOGO, bound domain name, Note that the domain name must be http://start. The third Step: classification management in the mobile Phone Portal list management operations there is a "classification management", WAP classification needs to be new, and then bind the corresponding columns, this coupling way is better, also more flexible. Fourth step: change the route.php file path/caches/configs/route.php add ' 3g.onow.cn ' =>array in the return array (' m ' = = ' wap ', ' c ' + = ' Index ', ' a ' = ' init ', ' data ' =>array (' GET ' =>array (' SiteID ') '), and then save after 4 steps above to complete the WAP Mobile station building, to this step, WAP website: 3g.onow.cn/index.php can be accessed, index.php not less. Otherwise access to the Web master Site. Because the default page is index.html, you can remove index.php with 301 Jumps. You can also add a line to The. htaccess file: directoryindex index.php default.php index.html index.htm so the default page becomes INDEX.PHP. Now without index.php access, Web sites and WAP stations are not interfering. WAP station: 3g.onow.cn Web site: www.onow.cn It looks more comfortable without a suffix. WAP templates can be found in the Phpcms V9 Admin Center interface template style to find the changes! 3g.onow.cn has made some changes to the Template.</pre><p><p></p></p><p><p>Use Phpcms V9 Four steps to complete WAP Mobile station construction</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service