当前位置:网站首页>DEDECMS织梦系统全站链接txt格式网站地图的制作教程
DEDECMS织梦系统全站链接txt格式网站地图的制作教程
2022-07-15 09:09:00 【米米素材网】
网站地图的制作三种格式:xml格式、txt格式、以及html格式,这在浏览器地址栏输入 “主域名/sitemap.xml” 的方式,尝试查看对应网站的xml格式的网站地图。把 输入内容改成 “主域名/sitemap.html” 就可以查看html格式的网站地图了。网站地图的命名方式默认是sitemap,但是网站管理者(站长)可以自由修改。
不同格式的站点地图的区别:
制作织梦dedecms 站点地图txt格式的办法
1.进入织梦后台,-【模板】,选择【全局标记测试】打开
2.输入如下代码,会获取所有文章链接。
{dede:arclist row="999999"}
https://域名[field:arcurl/]
{/dede:arclist}
3.然后复制所有文章链接在文本中,重命名sitemap.txt。
4.打开sitemap.txt,在编辑“查找与替换”中把“查找内容”填写你需要替换的符号,“替换内容”中填写“<br>”然后点全部替换。
5.下一步,把这个sitemap.txt文件重命名为sitemap.htm文件,用浏览器打开,然后鼠标右键点击查看源文件,把文字再复制到一个sitemap.txt文件中,并保存就行了。
关于“txt格式网站地图的制作教程”的内容就介绍到这里了,感谢大家的阅读。
边栏推荐
猜你喜欢

API interfaces for all goods in JD store (item_search_shop- API interfaces for all goods in the store), API interfaces for goods in the whole store

How long does a tester insist on changing jobs in order to improve his salary perfectly?

VMware Photon OS 4 Install

Hcip seventh day notes

京东店铺所有商品API接口(JD整店商品查询API接口)

一个八年软件测试工程师之路

idea 配置npm自启动后跳转到0.0.0.0的问题解决

LOCUST性能测试1(认识)

.NET Core 使用 ImageSharp 生成图片

Locust Performance Test 1 (Understanding)
随机推荐
Week 4 Data analysis algorithms-Linear models for regression-Bias-Variance Analysis(Part B)
Structure and design of kernel
树状数组详解
Unity judges whether the object is in front of the camera and the UI follows the 3D object
leecode17电话号码的字母组合
如何调试 C# Emit 生成的动态代码?
微信小程序相关知识点和云音乐项目制作遇到的问题及解决
What is sectigo?
面试官:如何定期去清理ES集群的数据
Proxmox ve 7.2 install SMB service
Week 4 – Linear Text Classification
Shadow plug-in framework design -- replugin principle (Advanced journey of Architects)
字符串函数的介绍及模拟实现
【C语言】模拟通讯录(数组版、动态版、链表版)
API interface for all products in pinduoduo store (whole store product list query interface)
几行汇编几行C实现一个最简单的内核
MGRE环境下的OSPF实验
How long does a tester insist on changing jobs in order to improve his salary perfectly?
hyper子查询优雅实现join查询
【C语言进阶】----常见的字符串函数