网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

zblog-zba打包 zblog17

zblog php版怎么修改默认的错误提示页面

首先,找到zb_system/defend/目录下的error.html文件,error.html就是默认的错误提示页面,下面按照自己的要求修改error.html文件即可,具体怎么修改视个人情况而定,源代码,仅供大家参考。

创新互联是一家专业提供大安市企业网站建设,专注与成都做网站、成都网站设计、H5高端网站建设、小程序制作等业务。10年已为大安市众多企业、政府机构等服务。创新互联专业的建站公司优惠进行中。

!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错误提示页面 - 叶德华的博客/title

/head

body

br /br /

centerstrongspan style="font-size:24px;"访问出错,将在2秒后返回博客首页。/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 版本写法, 美食汇 网站地图 ,zblog版本,其他框架,请自行获取文章函数

nginx 重定向配置

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

wordpress如何搬家到zblog

使用插件WordPress转zblog

zblog里安装插件Wpimport。

登陆你的Wordpress后台,选择【工具】中的【导出】之后选择——所有文件,之后导出了后缀为xml的wordpress的数据文件。

登陆你的zblog后台,选择【插件管理】中的【上传插件zba文件】之后选择对用Wpimport,zba文件安装,并激活即可。

依然是zblog后台,选择【插件管理】中的【Wordpress数据导入程序】——【管理】,之后上传刚从wordpress站点上下载的xml后缀的文件。

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


网页标题:zblog-zba打包 zblog17
文章分享:http://bjjierui.cn/article/ddijppp.html

其他资讯