Answer the question
In order to leave comments, you need to log in
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
If I'm not mistaken, then "path segment".
A path consists of a sequence of path segments separated by a slash
("/") character.
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 :)
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.
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.
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.
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 questionAsk a Question
731 491 924 answers to any question