PHPCMS Mobile portal Site Configuration _php Tutorial

Source: Internet
Author: User

PHPCMS Mobile portal Site Configuration


1, determine a domain name as your mobile WAP site access domain name, for example: http://m.wfuyu.com. Next, in the domain name management system to analyze this domain name to your server address.

2, modify the \caches\configs\route.php file, increase the mobile phone routing address, the method is as follows:

Return Array ('        default ' =>array (' m ' = ' content ', ' c ' = ' = ' index ', ' a ' = ' = ' init '),        ' m.tezhengzong.com ' =>array (' m ' + = ' wap ', ' c ' = ' = ' index ', ' a ' = = ' init '),);

3, to Phpcms backstage, module-"Mobile Portal-" Modify configuration related information



Note: The format of the domain name must be this: http://m.wfuyu.com
4, then add classification in the classification management.

5, the last open, it's OK

Then login phpcms backstage, module-"Mobile Portal

1. Add a site


Note: Only one mobile portal can be added to a site. <喎?http: www.bkjia.com="" kf="" ware="" vc="" "="" target="_blank" class="keylink"> vcd4kpha+phn0cm9uzz4ylrncwo3vvrxjidwvc3ryb25npjwvcd4kpha+1b6149deumsjrmm+s/ 26zbfwwoc1xlncwo2hozwvcd4kpha+pgltzybzcmm9 "http://www.2cto.com/uploadfile/Collfiles/20140912/ 20140912090905344.jpg "alt=" \ ">


3. Classification Management


Enter (or select) the content to modify (or add). Click "Submit" to complete the save operation.

This article from the Programmer Life Network www.wfuyu.com Programmer life, focus on internet development


http://www.bkjia.com/PHPjc/879181.html www.bkjia.com true http://www.bkjia.com/PHPjc/879181.html techarticle phpcms Mobile Phone Portal Configuration 1, determine a domain name as your mobile WAP site access domain name, for example: http://m.wfuyu.com. Next in the Domain name management system to analyze this domain name to you ...

  • Related Article

    Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.