URL stands for Uniform Resource Locator which serves as a reference to web resources managed by a computer network which refers to a web page. URL is a type of URI ( Uniform Resource Identifier ). To be accessible by a web browser, URL must be shorter than 2.083 characters. An example of URL is that https://www.example.com/index.html.
There are several structures of URL namely:
Protocol in the URL determines how data is transferred between host and client. HTTP and HTTPS are the two most common protocols which you will find on the most URLs. Here is the example https://example.com
Domain name is a string or sentence used by Domain Name System (DNS) to describe a specific area. Domain name comes before Top Level Domain Top Level Domain (TLD), such as google.com where the bold sentence is the Domain Name.
Sub Domain represents the part of Top level domain. By this way, subdomains are usually used to divide the domain into smaller segments for communication purposes, content type, internationalization (language translation), or for other reasons, such as blog.example.com where the bold word is a sub domain.
Top Level Domain
Top Level Domain is a domain which has the highest hierarchy in Domain Name System (DNS). There are two Top Level Domain categories, namely Country-Specific Top level Domain, General Top level Domain, Restricted Top Level Domain. Top Level Domain will help the users to identify a website whether in the form of organization, educational institution, country of region, business or government owned, such as www.example.sch.id where bold words are the examples of Top level Domain.
Path / File
Path refers to the location on the page, file, or content on a website. Paths come after the host name and are separated by a “/” (slash). Path / file also consists of any file extension, such as image (.jpg or .png, etc.), document (.pdf or .docx), such as https://www.example.com/media/image.jpg where the bold word is the path.
Parameter can be found in the last URL part, but it depends on the implementation. URL parameter is represented in the key / value pair, starting with ‘?’ and separated by a ‘&’ sign. Parameter is usually used for tracking and finding specific information to be used on websites and applications.
The example of URL with parameter:
HTML Anchor is used on web pages to implement bookmark and internal page navigation. Besides, it can be used to provide a link to a specific location on a page.
There are two types of URL, namely:
Absolute URL is a URL which contains all of information needed to find a resource
Relative URL is a URL which starts with “ / “(slash) without typing the URL address completely and only typing the path on the web page.
1. Improved Users' Experience
A well-created URL makes the users and search engine easier to understand about the website page. Even if the title tag is hidden, a URL can be read easily by the users will give a better experience.
URL is a minor factor which influences the ranking while it is used by search engines in determining specific pages related to user requests. However, while using URLs which go along with the keyword can increase the searches on the website.
Well-written URLs have a function as their own anchor text when copied and pasted as a link on forums, blogs, or social media.
• Keep the URL as simple, relevant, convincing, and accurate as possible. So, it makes the users and search engines easier to understand.
• The URL must be definitive and brief.
• Use the hyphens to separate words.
• Use lowercase in the URL writing.
• Avoid the use of parameter in the URLs to avoid duplicate content.