URL Structure – UrbanMatter

The abbreviation URL stands for Uniform Resource Locator. For the first time this term was used in 1990. The glory of such an invention belongs to the creator of the World Wide Web – Tim Berners-Lee. Today, resources like display pr pay a lot of attention to URL structures and here we will discuss it more closely.

What is a URL?

The URL was originally used to indicate the location of files on the Internet, but now it is also used to indicate the location of almost all web resources. A URL can be a path to a website or a specific document or image. To access the desired site or file, the user must write the corresponding URL in the address bar of the browser.

Determining the URL of a web page is simple – it is displayed in the browser’s address bar. From there, you can copy it by right-clicking the address bar and selecting the Copy command from the context menu.

Then the whole url structure will end up in the clipboard, from where it can be pasted into the browser’s address bar, forwarded into a message, or pasted into a text document.

Structure of URLs

The URL we see in the browser’s address bar consists of several parts:

  1. The protocol is always indicated at the beginning of the address (in some browsers it may be hidden by default and becomes visible when you click on the address bar). If we are viewing a web page, it will be the data transfer protocol http or its form https, with support for encryption to establish a secure connection.

However, the URL can start with other designations, such as:

  • ftp – the browser will open the file server;
  • mailto – the browser will execute the command to send a letter to the specified address;
  • file – the file will be opened in the browser from the computer.
  1. The protocol is followed by the domain name (host) of the site or, in rare cases, its IP address. Also, in some cases, the URL may contain a port number, for example, it can be seen in network applications.
  2. Then the path to the page is specified, consisting of directories and subdirectories, which, in turn, include its name.
  3. The URL can also include parameters specified after the ? and are separated by the character &.
  4. The last component of a URL that a user may see in long, multi-section documents is the anchor, preceded by the # sign. The part of the address after this sign refers to a specific paragraph on the site page.

These are the main components that are important for the correct URL structure.

Comments are closed.