gpt4 book ai didi

url - URL 中 'slug' 的词源是什么?

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:26:46 25 4
gpt4 key购买 nike

<分区>

“URL slug”是一个完全随意的词吗?或者它代表什么?我在与某人的谈话中使用了这个词,当他们问我为什么叫它时,我意识到我不知道。

我当然知道这是什么意思。

堆栈溢出 tag for [slug]目前将其定义为:

part of a URL that makes it more human readable or SEO-friendly, but without necessarily being required by the web server.

WordPress.org defines it作为:

A slug is a few words that describe a post or a page. Slugs are usually a URL friendly version of the post title (which has been automatically generated by WordPress), but a slug can be anything you like. Slugs are meant to be used with permalinks as they help describe what the content at the URL is.

那么 - URL 中的“slug”一词背后有实际含义吗? URL slug 的词源或含义是什么?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com