" is enough."/> " is enough.">
Home >CMS Tutorial >DEDECMS >How to bind domain name to DedeCMS Wap.php
How to bind a domain name to DedeCMS Wap.php?
For wap.php to independently bind the domain name, I searched for several relatively newbie solutions on the Internet. I hope it will be helpful to those who want to use it
Recommended learning:梦Weavingcms
This is based on the code forwarded through URL.
First of all, you need to create a directory to bind independent domain names, such as 3G.LieHuo.Net
index.asp:
The code is as follows:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <%response.buffer=true%> <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%> </p> <p><?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="loop" ontimer="https://www.xxx.net/wap.php"> <timer value="10"/> 湄洲在线<br/>xxx.net<br/> </card> </wml>
Second type: index.wml
You need to set index.wml in IIS and set access as the first choice before you can directly access http://3G. LIEHUO.NET. Otherwise, you can only http:// 3G.LIEHUO.NET/index.wml This is a waste of time.
The code is as follows:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="card1" title="ALL"> <onevent type="onenterforward"><go href="https://www.xxx.net/wap.php"/></onevent > <p> </p> </card> </wml>
Third type: index.xml
The code is as follows:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="mainCard" title="3q.xxx.net" ontimer="https://www.xxx.net/wap.php"> <timer value="1"/> <p> </p> </card> </wml>
The above is the detailed content of How to bind domain name to DedeCMS Wap.php. For more information, please follow other related articles on the PHP Chinese website!