Set up WAP mobile site in PHPCMS-V9

Source: Internet
Author: User

Web site with Phpcms V9 built, in order to facilitate mobile users to browse the site, so with Phpcms v9 the mobile phone portal module built a WAP station (http://s.8368.org); With a simple set of steps. It's ready to build!

The first step: to build a two-level domain name resolution to space. The directory is consistent with the home directory.

Step Two: Add Mobile portal in Phpcms V9 admin background
PHPCMS V9 Backstage Management Center "module" mobile phone Portal "Add mobile Site
Fill in the site name, LOGO, binding domain name "just resolved domain name"
Note: The domain name is in http://Start/end. Otherwise, access will be faulted.

Step three: Create classification management
Mobile portal management has a classification to create a good classification. Bind the corresponding column.

Fourth Step:
Open:/caches/configs/route.php
In'default'=>array ('m'='content','C'='Index','a'='Init'), added later:
's.8368.org'=>array ('m'='WAP','C'='Index','a'='Init'),
-------------Note: S.8368. org to your WAP website domain-----------

To this step, WAP website: S.8368. org/index.php can be accessed, index.php cannot be 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.phpdefault. PHP index.html index.htm This default page is index.php. Now without index.php access, Web sites and WAP stations are not interfering. WAP Station: S.8368. org Web site: www.8368. org looks much more comfortable without a suffix, huh?
If you want to change the template, go to the phpcms V9 Admin Center interface template style to find the changes.

Set up WAP mobile site in PHPCMS-V9

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.