Home > CMS Tutorial > DEDECMS > body text

How to bind domain name to DedeCMS Wap.php

藏色散人
Release: 2019-12-27 09:16:13
Original
2116 people have browsed it

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>
Copy after login

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>
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template