- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 怎么制作一个好的iframe,iframe各个属性详细分析,个人拙见
iframe作为一个网站之间交互的桥梁,受到很多站长的喜爱,但是又有不安全的因素存在,所以正确填写属性是很重要的。<iframe name="my_iframe" height="540" width="100%" frameborder="0"marginwidth="0" marginheight="0" scrolling="no" border="0"src="[url]htt...
2020-11-18 14:29:52 518
原创 zblog php sitemap.xml网站地图怎么写,版本写法,网站地图
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 .= '<...
2020-09-08 15:08:31 549
原创 PHP robot.txt 的正确写法,robot 作为蜘蛛的遵守法则
PHP robot.txt 的正确写法,robot 作为蜘蛛的遵守法则,里面有禁止拜访的路径,以及提供sitemap的路径,方便蜘蛛采集。这里我仅仅提供zblog版本,其他自行参考!例子如User-agent: *Disallow: /zb_users/Disallow: /zb_system/Disallow: /MemberCenterSitemap:http://meishi/sitemap_index.xmlSitemap:http://meishih.com/site.
2020-09-07 16:51:55 486
原创 zblog php 正确编写sitemapindex的代码,
当你的sitemap 文件很多时候,不能一个一个提交,可以使用sitemapindex 格式统一提交管理,非常方便,百度 谷歌 主流搜索也支持。<?phpheader("Content-type: text/xml");header('HTTP/1.1 200 OK');require 'zb_system/function/c_system_base.php';$zbp->host = 'http://美食汇';$str = '<?xml version="1..
2020-09-04 16:53:37 706
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人