zblog-zba打包 zblog17

zblog php版怎么修改默認(rèn)的錯(cuò)誤提示頁(yè)面

首先,找到zb_system/defend/目錄下的error.html文件,error.html就是默認(rèn)的錯(cuò)誤提示頁(yè)面,下面按照自己的要求修改error.html文件即可,具體怎么修改視個(gè)人情況而定,源代碼,僅供大家參考。

創(chuàng)新互聯(lián)是一家專業(yè)提供大安市企業(yè)網(wǎng)站建設(shè),專注與成都做網(wǎng)站、成都網(wǎng)站設(shè)計(jì)、H5高端網(wǎng)站建設(shè)、小程序制作等業(yè)務(wù)。10年已為大安市眾多企業(yè)、政府機(jī)構(gòu)等服務(wù)。創(chuàng)新互聯(lián)專業(yè)的建站公司優(yōu)惠進(jìn)行中。

!DOCTYPE HTML

html

head

meta http-equiv="Content-Type" content="text/html; charset=utf-8" /

meta http-equiv="X-UA-Compatible" content="IE=EDGE" /

meta http-equiv="refresh" content="2; url=" /

title錯(cuò)誤提示頁(yè)面 - 葉德華的博客/title

/head

body

br /br /

centerstrongspan style="font-size:24px;"訪問(wèn)出錯(cuò),將在2秒后返回博客首頁(yè)。/span/strong/center

/body

/html

sitemap正確寫法,php zblog版本,其他都一樣

header("Content-type: text/xml");header('HTTP/1.1 200 OK');require'zb_system/function/c_system_base.php';global$zbp;$zbp-host ='http://'. $_SERVER['SERVER_NAME'] .'/';$str ='?xml version="1.0" encoding="UTF-8"?';$str .='urlset xmlns="" xmlns:mobile=""';if(!isset($_GET['index'])) {? ? $str .='url';? ? $str .='loc'. $zbp-host .'/loc';? ? $str .='mobile:mobile type="pc,mobile"/';? ? $str .='lastmod'. date('Y-m-d', time()) .'/lastmod';? ? $str .='changefreqdaily/changefreq';? ? $str .='priority1.0/priority';? ? $str .='/url';? ? $allCats = $zbp-GetCategoryList();foreach($allCatsas$cat) {? ? ? ? $str .='url';? ? ? ? $str .='loc'. $cat-Url .'/loc';//? ? ? ? $str .= 'mobile:mobile type="pc,mobile"/';$str .='lastmod'. date('Y-m-d', time()) .'/lastmod';? ? ? ? $str .='changefreqdaily/changefreq';? ? ? ? $str .='priority0.8/priority';? ? ? ? $str .='/url';? ? }? ? $allTags = $zbp-GetTagList();foreach($allTagsas$tag) {? ? ? ? $str .='url';? ? ? ? $str .='loc'. $tag-Url .'/loc';//? ? ? ? $str .= 'mobile:mobile type="pc,mobile"/';//? ? ? ? $str .= 'lastmod' . date('Y-m-d', time()) . '/lastmod';$str .='changefreqweekly/changefreq';? ? ? ? $str .='priority0.6/priority';? ? ? ? $str .='/url';? ? }? ? $allAuthors = $zbp-GetMemberList('*',array(array('','mem_ID',1),array('','mem_Articles',0)),array('mem_Level'='ASC'),2000,null);foreach($allAuthorsas$member) {? ? ? ? $str .='url';? ? ? ? $str .='loc'. $member-Url .'/loc';//? ? ? ? $str .= 'mobile:mobile type="pc,mobile"/';//? ? ? ? $str .= 'lastmod' . date('Y-m-d', time()) . '/lastmod';$str .='changefreqweekly/changefreq';? ? ? ? $str .='priority0.6/priority';? ? ? ? $str .='/url';? ? }}else{//文章$index = $_GET['index'];? ? $db = $zbp-db-sql-get();? ? $sql = $db-select($zbp-table['Post'])-where(array('=','log_Status','0'))-orderBy(array('log_PostTime'='DESC'))-limit(array(1000* $index,1000))-sql;? ? $array = $zbp-GetListType('Post', $sql);foreach($arrayas$post) {? ? ? ? $str .='url';? ? ? ? $str .='loc'. $post-Url .'/loc';//? ? ? ? $str .= 'mobile:mobile type="pc,mobile"/';$str .='lastmod'. $post-Time('Y-m-d') .'/lastmod';? ? ? ? $str .='changefreqmonthly/changefreq';? ? ? ? $str .='priority0.4/priority';? ? ? ? $str .='/url';? ? }}$str .='/urlset';echo$str;unset($str);?

sitemap,zlbog php 版本寫法, 美食匯 網(wǎng)站地圖 ,zblog版本,其他框架,請(qǐng)自行獲取文章函數(shù)

nginx 重定向配置

rewrite ^/sitemap\.xml$/sitemap.phplast;

wordpress如何搬家到zblog

使用插件WordPress轉(zhuǎn)zblog

zblog里安裝插件Wpimport。

登陸你的Wordpress后臺(tái),選擇【工具】中的【導(dǎo)出】之后選擇——所有文件,之后導(dǎo)出了后綴為xml的wordpress的數(shù)據(jù)文件。

登陸你的zblog后臺(tái),選擇【插件管理】中的【上傳插件zba文件】之后選擇對(duì)用Wpimport,zba文件安裝,并激活即可。

依然是zblog后臺(tái),選擇【插件管理】中的【W(wǎng)ordpress數(shù)據(jù)導(dǎo)入程序】——【管理】,之后上傳剛從wordpress站點(diǎn)上下載的xml后綴的文件。

ok,所有文章重建,大功告成了!

標(biāo)題名稱:zblog-zba打包 zblog17
URL地址:http://www.muchs.cn/article38/ddijppp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站收錄、網(wǎng)站策劃、微信公眾號(hào)、商城網(wǎng)站企業(yè)網(wǎng)站制作、網(wǎng)站導(dǎo)航

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

外貿(mào)網(wǎng)站建設(shè)