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