What is a URL?
Uniform Resource Locator, or commonly abbreviated as "URLs", is the address used to access a resource on the internet. Whether it’s a website, an image, or a file, the URL provides the necessary information to locate the resource. Think of it as a home address for a website or online content that directs browsers to the correct destination.
URL is pronounced with each letter spoken individually
U - R - L
Not "Earl"

Main Components of URLs
A URL is made up of several parts, each serving a specific function. Below are the key components of a URL:
- • Protocol Identifier or Scheme: This defines the protocol or method used to access the resource. The most common scheme is http:// or https://, which indicates Hypertext Transfer Protocol (Secure). There are other schemes like ftp:// for file transfers or mailto: for email addresses.
- • Domain Name This part represents the name of the server hosting the resource. For example, in www.example.com - example.com is the domain name. It is essentially the website address.
- • Path NameThe path refers to the specific resource on the server. For example, in www.example.com/blog/, the /blog/ portion is the path that takes you to a specific page or directory on the website.
- • File Name The file name refers to a specific file resource on the server, in example.com/images/logo.jpg, the logo.jpg portion is the actual name of that file and where to find in in your website
- • Query String: This is an optional component used to pass parameters to the server. It usually comes after the question mark (?) in a URL, such as ?search=query for search-related results.
- • Fragment Identifier: This optional component refers to a specific part of a webpage. It's used when you want to link to a particular section of a page, such as #section2.
Let us look at this image URL as an example:
https://rshweb.com/images/cms1.jpg

Scheme or Protocol Identifier
The first part of any URL is the HTTP or HTTPS. This often overlooked element of the URL’s component is more important today than ever before. This will tell your Browser how to communicate with the website. Traditionally, most sites have used a non-secure HTTP (Hypertext Transfer Protocol). However, there is a recent move towards widespread adoption of HTTPS (Hyper Text Transfer Protocol Secure). While this Protocol, HTTPS, does essentially the same thing as HTTP. It is a more secure option that encrypts the data sent back and forth between your Browser and the Web Server.

Domain Name
More commonly referred to as the Domain Name. As you can see in our above example, we are using our Domain Name
rshweb.com
This part is the most identifiable element of any URL or web address. A domain name is the identifier for a specific Website. If nothing is added to the end of a Domain, it will generally bring you straight to the home page or the index page.
The Domain Name is actually made up of two parts. TLD and SLD
The Top-Level Domain (TLD) part refers to the .com
But this could end in a .org .net or any of the 1500 other ending extensions available today
The Second Level Domain (SLD) part of the domain would be rshweb. The SLD is the first component people notice with your Domain Name. It is the most memorable part of a URL and can be the most important when choosing a Domain.
Path Name
If you just wanted to visit our Website's front page, you do not need to add a path. All you would need is the domain name:
https://rshweb.com
But each individual page or file on a website will have its own URL and or path
Again with our example:
https://rshweb.com/images/cms1.jpg
The part after the .com /image is known as the path. This directs your Browser to a specific directory in the website. In this case, it leads first to our Images directory
/image/
As you can see, the paths works the same as your computer or Laptop. Not all URLs will display a path. For example, when you visit the homepage of our site, you will not see the path or file name. This is because most all websites can Rewrite URLs (like the homepage) for simplicity and elegance. This can omit the typical index.html page name.

File Name
The last component of a URL is the file name with file extension
In our example, it is cms1.jpg
This tells the Web Server the exact file to display to the end user. File names such as .html .php .pdf .docx .png .gif and .jpg are the most common.
FTP Protocol Identifier
FTP URLs are structured the same, as HTTPS Protocols. For example, accessing an FTP file with its URL might look something like this:
FTP://rshweb.com/folder/programdetails.pdf
Which, aside from having FTP instead of HTTP, looks very similar to any other URL.
Examples of a URL
You are probably familiar with a URL like this one for accessing Google's website:
• https://www.google.com
Other famous examples:
• https://x.com/
• https://www.bing.com
• https://www.amazon.com
• https://www.ebay.com
• https://www.whitehouse.gov
• https://facebook.com
Most of us are familiar with these types of URLs that we use in our Web Browsers. But those are not the only instances where you might use a URL.
In all of the above examples, you are using the HTTP protocol to open the Website. Which is the most popular that most people will use
But there are other protocols you could use too, like FTP, TELNET, MAIL TO, and RDP. A URL can even point to local files you have on a hard drive. Example in Windows might be my-pc (D:) or (D:\)
Each protocol may have a unique set of syntax rules in order to reach the destination.

URL Syntax Rules
A URL is composed of a limited set of characters belonging to the US-ASCII character set. These characters include digits (0-9), letters (A-Z, a-z), and a few special characters ( - . _ ~ )
ASCII control characters such as backspace, vertical tab, horizontal tab, line feed etc
Unsafe characters like a space or \ < > { } etc.
And any character outside the ASCII Character Set are not allowed to be placed directly within URLs.
Some URLs have parameters that split the URL away from additional variables. For example, when you do a Bing search for rshweb the result might look like:
https://bing.com/search?q=rshweb
The question mark you see is telling a certain script, hosted on Bing's server, that you want to send a specific command to it in order to get custom results. The specific script that Bing uses to execute searches knows that whatever follows the ?q= part of the URL should be identified as the search term. So whatever is typed at that point in the URL is used to search on Bing's search engine.
You will start to see the similar behavior in URLs, like in this YouTube Search for best cat videos
https://www.youtube.com/results?search_query=best+cat+videos
Although spaces are not allowed in a URL, some websites use a + sign, which you can see in both the Google and YouTube examples. Others use the encoded equivalent of a space, which is %20.
URLs that use multiple variables use one or more ampersand & after the search term. You can see the example here for an Amazon.com search for Windows10:
https://www.amazon.com/s?k=windows+10&i=software&ref=nb_sb_noss_2
URLs are also case-sensitive. Especially everything after the Domain (directories and file names)
If you try to capitalize any letter in our example, you will get a 404 Not Found page.
How to Copy a URL
On your Computer
In your browser’s address bar at the top of the page, select the entire URL. (If you're looking for the URL of an image result, you need to click the image to open up a larger version before selecting the URL.) Copy the URL by right-clicking it and then clicking Copy.
Copy an address link on a smartphone or tablet
Open your preferred mobile Internet browser.
•Locate the address link you would like to copy
Note: If the address bar is not visible, try scrolling up using your finger. Also, keep in mind that an address bar is only going to be visible in a browser app. If you're viewing a web page through another app, it may not be available
• Tap the address bar once to highlight all the text contained within it
• Long press the highlighted text and select Copy
• On smaller devices, the symbol for copying text looks like two identical pieces of paper
• Open the app where you would like to paste the address
• Long press again and select Paste
Copying a Link or Image within a Page
To copy the address of a link or image, right-click the link or the object and select Copy Link Address or Copy Image from the drop-down menu. Alternatively, users may view the properties of the link and copy the URL from within that menu.
Some URLs are really long and complex and are best used if you click it as a link or copy/paste it into the browser's address bar.

More Information on URLs
If a URL points you to a file that your web browser can display, like a JPG image, then you don't have to actually download the file to your computer in order to see it. However, for files that aren't normally displayed in the browser, like PDF files, DOCX files, and especially EXE files (and many other file types). You will be prompted to download the file to your computer in order to use it.
URLs provide an easy way for us (people) to access a Server's IP address (computers) without needing to know what the actual address is. They are easier to remember names instead of a 12 digit IP number. This translation from an IP number to a URL address is what DNS Web Servers are designed to do.
Summary
A URL is the Internet's way of locating and identifying a resource. Whether you’re simply browsing the web or involved in website management, understanding URLs and their structure is key to navigating and optimizing the web. From the browser's address bar to social media links, URLs are everywhere, and knowing how to use them effectively is essential in today’s digital world.
Remember to pay attention to the structure of URLs, particularly for SEO purposes, as they can impact how search engines rank your content and how users interact with your website. By following best practices, you can ensure your URLs are clear, optimized, and user-friendly, ultimately enhancing your online experience and visibility.
Author Bio: Mark Cole
Digital content writer with a passion for crafting engaging and informative copy. With over 9 years of international copy writing experience and...
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Tweet Share Pin Email
What is Java - Do I Need it?
What Is Joomla: With Features, Templates, and Extensions
The Best PHP Resources and Tools
Protecting Your Devices from Malware and Phishing Attacks
Comments