发表时间: 2019-06-20 09:02:28
作者: 广东八戒商务信息服务有限公司
浏览:
首先,阻止所有搜索引擎编写的机器人
用户代理: *
禁止:/
二,如何写一个梦想robtos文件?——梦幻梦想cms的robots.txt文件的传统书写方法
用户代理: *
禁止:/data/
禁止:/dede/
禁止:/images/
禁止:/include/
禁止:/plus/
禁止: /特殊/
禁止: /模板/
禁止:/uploads/
站点地图:https://www.com/sitemap.xml
三,如何编写帝国robtos文件?——定期写帝国cms robots.txt文件
用户代理: *
禁止:/d/
禁止:/e/class/
禁止:/e/data/
禁止:/e/enews/
禁止:/e/update/
站点地图:https://www.com/sitemap.xml
四,zblogphp robtos文件怎么写?—— zblogphp robots.txt文件常规写法
zblogphp的模板不同,写作也不同。这是一个普通版本,你必须过滤它。
用户代理: *
禁止:/admin/
禁止:/script/
禁止:/pluging/
禁止:/function/
禁止:/update/
禁止:/upload/
禁止:/article-image/
禁止:/data/
禁止:/cache/
禁止:/style/
禁止:/tamplate/
禁止:/css/
禁止:/theme/
禁止: /login.php
禁止: /c_custom.php
禁止: /c_option.php
禁止: /cmd.php?
禁止: /search.php
禁止: /atom.xml
禁止: /rss.xml
禁止: /view.php?
禁止:s=*
禁止: /?p=*
禁止:/feed
禁止: */feed
禁止: */feed */feed
禁止:/comments/feed
站点地图:https://www.com/sitemap.xml
5.如何编写WordPress robtos文件?——定期编写WordPress robots.txt文件
用户代理: *
禁止:/feed/
禁止:/trackback/
禁止:/wp-admin/
禁止:/wp-content/
禁止:/wp-includes/
禁止: /xmlrpc.php
禁止:/wp -
允许:/wp-content/uploads/
站点地图:https://www.com/sitemap.xml
六,dz论坛robtos文件怎么写?—— discuz robots.txt文件常规写法
请注意,旧版本的dz机器人可能不一样,这是3.0,3.1,3.2,3.3左右应该可以使用
用户代理: *
禁止:/api/
禁止:/data/
禁止:/source/
禁止:/install/
禁止:/template/
禁止:/config/
禁止:/uc_client/
禁止:/uc_server/
禁止:/static/
禁止: /admin.php
禁止: /search.php
禁止: /member.php
禁止: /api.php
禁止: /misc.php
禁止: /connect.php
禁止: /forum.php?mod=redirect *
禁止: /forum.php?mod=post *
禁止: /home.php?mod=spacecp *
禁止: /userapp.php?mod=app& *
禁止:/*?mod=misc *
禁止:/*?mod=附件*
禁止:/* mobile=yes *
站点地图:https://www.com/sitemap.xml
1