
As internet users, most of you may not fully understand what a URL is, even though you use it regularly in your daily life. In short, a URL can be considered as a website address. But, is that really the case?
To understand what a 'URL' is, you should first know its definition, function, and its parts. This article will discuss these things briefly. So, the best advice for you is not to skip it!
URL, three letters that stand for Uniform Resource Locator. Because 'locator' indicates a location, it can be understood that a URL is an 'address' to indicate a source, such as an HTML page, CSS document, image, and others.
Like any other 'address', a URL can indicate that the targeted source no longer exists or has moved to another address. So, who handles the URL, its changes, and movements? Of course, the website server owner.
Since a URL is an 'address', in short, its function is as a pointer. But, are there more specific functions? Yes, the answers are in the following explanation points:
So, that's the function of a URL. From these points, it can also be concluded that a URL is an attribute or identity attached to documents available on the internet, specifically websites.
A URL has its own parts or anatomy. If a home address consists of street name, house number, neighborhood, district, city, postal code, province, and country, it differs from a URL. The anatomy of a URL looks like this:
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
In this address sequence, there are parts with their respective names. There are scheme, domain name & port (authority), path to resource, parameter, and anchor. Further explanations are in the following points:
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
The first part is the network communication protocol that the browser must use to request the source. The protocol itself is a set method for exchanging or transferring data within a computer network.
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
Between the scheme and authority parts, there will be a separator which is ://. Then it continues with the subdomain - www, then connects to the domain - example, domain extension - .com, separated by : and continues to the port - 80.
The domain or www.example.com containing subdomain and extension indicates which website server is requested. Besides the domain name, many URLs use IP addresses more often.
A subdomain is a word or phrase that appears before the first dot in the URL. The www itself is the most commonly used subdomain by website owners.
Then, the domain extension is the ending that follows the source or site name. Usually, around 53% of domain extensions used are .com. The rest? They follow various domain extension types as follows:
Generic TLD or gTLD, such as .com, .net, .org.
Country Code TLD or ccTLD, such as .id, .sg, and .uk.
Sponsored TLD or sTLD, such as .asia and .travel.
New gTLD or nTLD, such as .online, .tech, and .store.
The port is a technical 'gateway' indicator used to access resources on a website server. Usually, the number 80 is used for the http protocol, and 443 for https.
Path to Resource
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
In the URL parts, this part is the path to the source or a specific location representation (referring to a page, post, or file) on the website server. It can be said that this is the folder structure on the website.
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
This is an additional parameter provided to the website server. In short, a parameter is a list of key-value pairs separated by symbols & and =. Regarding the function of parameters, here are some of them:
Having a country code in the query string translates the website page into the related language.
Provides search results from the internal search engine on the website.
Separates different fields, such as topics, types, colors, price ranges, regions, and others.
Very useful for online store websites, as it allows site owners to sort content.
Generally contains the 'urchin tracking module' code as a tracker for ad traffic and marketing campaigns.
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
This is an anchor to another part within the source or the site itself. An anchor is a kind of 'bookmark' in the source, providing browsers with guidance on displaying content at the marked location.
So, that's the anatomy or parts of a URL. You should know that the mentioned parts above are not always present in a URL address. Usually, only the domain name or followed by the path to the resource.
When understanding URLs, there are common questions that arise out of curiosity. What are the common questions about URLs? Here are the answers:
Generally, you can find the URL in the address bar or the top section of the browser. This applies to any browser, whether on a mobile phone, computer, or laptop.
Another common question about URLs is about their types. So, the most popular types of URLs are relative and absolute. But there are more types based on their functions, such as canonical URLs, callback URLs, and vanity URLs.
If you know the complete URL of a website, all you need to do is type it in the browser's address bar. Other ways include clicking hyperlinks, scanning QR codes, and copy-pasting.
To create a URL, you need to find a website hosting service. There, you can place orders and register the website domain.
Those are the common questions about URLs. Do you have any questions about the best hosting recommendations for creating URLs? If yes, then don't miss this last section!
Create a Professional Business Website with WEBARQ!
You can create URLs and build a professional business website with professional hosting services, WEBARQ. Want a URL with a domain as requested? It's definitely possible with WEBARQ!
By entrusting the creation of URLs and websites to WEBARQ, you can get the best hosting services, equipped with web security, maintenance, and email hosting. So, let's create a professional business website with WEBARQ!