当前位置:网站首页>WordPress 固定链接设置
WordPress 固定链接设置
2022-07-29 11:51:00 【华为云】
你可以通过转到 Dashboard -> Settings -> Permalink 导航到 WordPress 永久链接设置。它看起来像下面的图片。(我的 WordPress 安装目录是 localhost 上的 WordPress)。

通用设置:这里的第一部分是通用设置,你可以在其中设置 WordPress 网站的 URL 结构。
- Plain -你的 URL 看起来像
https://example.com/?p=123 - Day and name -它根据帖子发布日期和帖子名称设置帖子的 URL。示例:
https ://example.com/2021/11/05/post-name/ - Month and name -它根据发布帖子的月份和帖子名称设置帖子的 URL。示例:
https ://example.com/2021/11/post-name/ - Numeric -它设置你的帖子的 URL,例如:
https ://example.com/archives/post-id/这里 post-id 将是帖子的数字 ID。 - Post name -它根据你的帖子名称设置你的帖子的 URL。示例:
https ://example.com/post-name/ - Custom Structure -在此选项中,你可以根据需要设置 URL 结构。你可以使用可用标签下方的块来选择或取消选择修饰符。

Optional:这些是你的类别和标签归档 URL 的自定义结构的可选设置。
- Category Base —— 让我们在这里举个例子,所以你的默认类别 URL 类似于:
https ://example.com/category-name/现在,如果你在类别库中添加书籍,你的 URL 将类似于:https://example.com/books/category-name/ - Tag Base -你可以在此处添加与类别库相同的标签库。完成所有设置后,单击“保存更改”以将设置应用到你的 WordPress 网站。
边栏推荐
- PL/SQL 事务
- XSS漏洞分析
- 飞桨框架体验评测交流会,产品的使用体验由你来决定!
- DAY 25 丨 daily SQL clock 】 【 o team number [difficult medium]
- 学习周刊-总第64期-一个v2ex风格的开源论坛程序
- 【每日SQL打卡】DAY 23丨向CEO汇报工作的人【难度中等】
- 【无标题】
- 惠及6亿人 投资98亿 沿江高铁武宜段最新进展来了!
- 【每日SQL打卡】DAY 21丨每个帖子的评论数【难度中等】
- 【每日SQL打卡】DAY 27丨列出指定时间段内所有的下单产品【难度简单】
猜你喜欢
随机推荐
PL/SQL 事务
[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code
【每日SQL打卡】DAY 27丨每次访问的交易次数【难度困难-提前放出来】
Similarities and differences of QWidget, qdialog and qmainwindow
解决 Chrome 浏览器被毒霸篡改问题
Paddle frame experience evaluation and exchange meeting, the use experience of the product is up to you!
【Untitled】
Building and sharing the root of the digital world: Alibaba Cloud builds a comprehensive cloud-native open source ecosystem
DAY 25 daily SQL clock 】 【 丨 different sex daily score a total difficulty moderate 】 【
如何对SQuAD1.1数据集进行预处理「详解版」
Use anyio instead of asyncio
Proficient in audio and video development can really do whatever you want
Dawei gbase8s cursor stability read esql test case
2.2选择排序
The company has a new product, do you want to hire an agent?
【Unity3D】角色控制器(CharacterController)
力扣sql刷题(四)
公司出了一款新产品,要不要招代理商?
LeetCode_容斥原理_中等_223.矩形面积
Based on the flask to write a small shopping mall project



![[image detection] Research on cumulative weighted edge detection method based on gray image, with matlab code](/img/c1/f962f1c1d9f75732157d49a5d1d0d6.png)



