<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

DedeCMS织梦Wap.php 绑定域名的解决办法

时间:2020-12-21

这是个基于DedeCMS织梦通过URL转发的代码实现的。
首先你要把独立的域名先建一个目录绑定起来比如 3G.dede58.com
index.asp:
 
代码如下:
 
<%@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="http://www.dede58.com/wap.php"> 
      <timer value="10"/> 
      织梦模板网<br/>dede58.com<br/> 
    </card> 
</wml> 
 
第二种:index.wml
这个你要在IIS中设置 index.wml 访问为首选才可以直接访问 http://3G. dede58.com 要不然你只能http://3G.dede58.com/index.wml 这样等于白搞。
 
代码如下:
 
<?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 /></onevent > 
<p> 
</p> 
</card> 
</wml> 
 
第三种:index.xml
 
代码如下:
 
<?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="3g.dede58.com" ontimer="http://www.dede58.com/wap.php"> 
<timer value="1"/> 
<p> 
</p> 
</card> 
</wml> 
0
首页
案例
关于
联系