D
D
Dmitry2014-05-02 19:03:34
Programming
Dmitry, 2014-05-02 19:03:34

What are the "components" of a URL separated from each other by a slash called?

Question on terminology:
There is a URL like mysite.ru/catalog/tables/kitchen/
as it is customary to call the components of this URL, separated from each other by "/", i.e. the words: catalog, tables, kitchen?
"Segments", "elements" or how else?
Is there any established terminology regarding this or not?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
M
m-haritonov, 2014-05-02
@m-haritonov

If I'm not mistaken, then "path segment".

A path consists of a sequence of path segments separated by a slash
("/") character.

https://tools.ietf.org/html/rfc3986#page-23

E
Eugene Obrezkov, 2014-05-02
@ghaiklor

An interesting question :)
In short, there is no one established terminology for this. There is a domain name, there is a URI, there is a server that listens for requests and parses the URI, trying to find out what they want from it. I never shared everything after the domain :)

Y
Yuri Lobanov, 2014-05-02
@iiil

I guess :
here www.mattcutts.com/blog/seo-glossary-url-definitions they write that everything after the port and before the parameters is the way. Accordingly, between slashes is part of the path. Well, the word folder is associated with the path. So maybe you can call it a folder. After all, if you create the products folder at the root, put the equipment folder inside it and put index.html inside it,
then the url before it will be mysite.ru/products/equipment
So the analogy is clear enough)
en.wikipedia.org/wiki/URI_scheme#Examples Here is another link that is useful in terms of terminology.

V
Volodymyr S., 2014-05-03
@VYBGSS

An example to parse is www.domain.com:9999/info/page.html?query#top :
1. http - scheme;
2. www.domain.com - host;
3. 9999 - port;
4. /info/page.html - absolute path;
5. ?query - query;
6. #top - fragment.

V
Vlad Zhivotnev, 2014-05-04
@inkvizitor68sl

It's been called directories since the days when it really was directories.
Now this is irrelevant, of course, so everyone comes up with what he wants.
The name "catalog" remained in the standards, but no one has been climbing into the standards regarding the basic foundations of HTTP for 15 years.

T
Timur Biktashev, 2014-05-02
@tizar

Really interesting. I guess it's a slug - the first thing that came to mind

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question