级R片内射在线视频播放,人妻少妇精品视频一区二区三区,中文字幕在线亚洲精品,中文字幕国产无码

互聯(lián)網(wǎng)品牌整合服務(wù)·為夢想者創(chuàng)造夢想品牌

服務(wù)1000+企業(yè),專注企業(yè)網(wǎng)站設(shè)計 / 網(wǎng)站制作 / 網(wǎng)站優(yōu)化推廣 網(wǎng)站托管服務(wù)

了解詳情

致力于服務(wù)頭部企業(yè).打造標(biāo)桿項目

讓每一個作品融入我們的洞察力,創(chuàng)造并呈現(xiàn)精彩 展現(xiàn)您的非凡與不同

了解詳情

網(wǎng)站優(yōu)化 網(wǎng)站搜索排名

濰坊及全國各地區(qū)提供搜索引擎優(yōu)化服務(wù)

了解詳情

網(wǎng)站偽靜態(tài)規(guī)則生成代碼可嵌入網(wǎng)站后臺管理

發(fā)布時間:2016/2/23 15:58:18 關(guān)注:1685


為方便網(wǎng)站修改維護(hù)偽靜態(tài)規(guī)則,本站放出自己使用的網(wǎng)站偽靜態(tài)規(guī)則生成小程序。

PS:網(wǎng)站偽靜態(tài)能夠提高網(wǎng)站訪問體驗,增加搜索引擎對網(wǎng)站的收錄,是SEOER必不可少的SEO法寶之一。


<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% dim rulePath
rulePath="/.htaccess"
 %>
<style type="text/css">
form textarea{ border:#ececec solid 3px; background:#F8F8F8}
input[type="submit"]{ height:35px;  width:100px;}
</style>

<form name="form1" method="post" action="?act=1">
  <p>
    <label for="rullContent"></label>
    <textarea name="rullContent" id="rullContent" cols="90" rows="20"><%=FsoReadFile(rulePath) %></textarea></p>
  <p><input type="submit" name="button" id="button" value="提交"></p>
</form>

<% 
'========讀取原來的規(guī)則=======================
Function FsoReadFile(filePath) 
  dim objFSO,objCountFile
  filePath=server.MapPath(filePath)
  Set objFSO = Server.CreateObject("Scripting.FileSystemObject") 
  IF objFSO.FileExists(filePath)=true Then'判斷文件是否存在和文件有內(nèi)容
     if objFSO.getfile(filePath).Size>0 then
		Set objCountFile = objFSO.OpenTextFile(filePath,1,True) 
		FSOReadFile = objCountFile.ReadAll 
		objCountFile.Close 
		Set objCountFile=Nothing 
    else
	   Response.Write("定義規(guī)則為空,請開始定義規(guī)則")
	end if
  Else
      Response.Write("您還未開通,點(diǎn)擊獲按鈕取即可開通")
  End if
  Set objFSO = Nothing 
End Function 
'=============創(chuàng)建規(guī)則========================
 Function createFile(filePath,objStr ) 
  Dim fileObj,objFSO
  Set objFSO = Server.CreateObject("Scripting.FileSystemObject") 
     '刪除原來的文件
		IF objFSO.FileExists(filePath)=true Then 
		objFSO.DeleteFile (filePath)
		else
		 objFSO.CreateTextFile (filePath)
		End IF 
	'獲取連接信息 
	 Set fileObj = objFSO.opentextfile(filePath,2,true) '
	 fileObj.Writeline objStr '向文件寫入數(shù)據(jù),覆蓋形式寫入
	 Set objFSO = Nothing 
 End Function  
 if clng(request.QueryString("act"))=1 then
    call createFile(rulePath,request.Form("rullContent"))
	Response.Write("<script>alert('成功生成偽靜態(tài)文件!');this.location.href='reWrite.asp';</script>")
 end if

 %>

點(diǎn)擊下載:偽靜態(tài)生成


  • 上一條:網(wǎng)站關(guān)鍵詞的排名為什么會經(jīng)常波動
  • 下一條:公司與濰坊晨光數(shù)控達(dá)成合作關(guān)系
  • 濰坊網(wǎng)站建設(shè),濰坊網(wǎng)站優(yōu)化,濰坊網(wǎng)站排名,濰坊網(wǎng)站改版,濰坊網(wǎng)站營銷策劃,濰坊網(wǎng)站制作,濰坊網(wǎng)站托管,濰坊網(wǎng)站百度排名,濰坊網(wǎng)站培訓(xùn),濰坊seo培訓(xùn),濰坊網(wǎng)絡(luò)公司

    地址:山東省濰坊奎文區(qū)新華路樂川街華誼大廈三樓

    網(wǎng)址:http://www.baohezhiyao.com/ 垂詢電話:

    網(wǎng)站備案:魯ICP備14027302號-5

    copyright© 濰坊華邦網(wǎng)絡(luò)有限公司2011-2025