What is a url?

What is a URL?

URL is the abbreviation for Uniform Resource Locator which is used to specify addresses on the Internet. A URL is the essential network identification for any resource connected to the web such as a file, directory, HTML page, image, program etc.  simply specifying the location of that resource stored on a local or networked computer. 

According to RFC 3986: Uniform Resource Identifier (URI): Generic Syntax:

A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource.

The term “Uniform Resource Locator” (URL) refers to the subset of URIs that, in addition to identifying a resource, provide a means of locating the resource by describing its primary access mechanism (e.g., its network “location”).

What are the components of a URL?

URL Components

  • Scheme(Protocol):  In this URL, the scheme (protocol) is https which stands for "HyperText Transport Protocol Secure". Scheme(protocol) is used by web browsers to get web pages, and the most common is not https but http. There may be other protocols ftp, mailto, file.
  • Port:  The port is most of the time a hidden element in a URL. In this URL the port is 443,  which is the default port for the protocol https. For the protocol http, the default port is 80.
  • Hostname:The host or hostname of this URL is www.searchdatalogy.comIn this hostname,
    • The subdomain is www.
    • The domain name is searchdatalogy.com.
    • The top-level domain or TLD is com.
  • Path: The path of this URL is /search/. Path typically refers to a file name or location on the web server.
  • Query: This URL has a parameter.  Parameters start with a question mark (?) and are separated with an ampersand (&).
  • Parameters: In this URL, the name of the parameter is q and its value is seo.  URLs can include many parameters.
  • Fragment: In this URL example, the fragment is #result. It can also be named as anchor. Usually the fragment refers to an internal section within a web document.

What is a static URL?

A static URL is a URL which does not change, so it typically does not contain any url parameters.

This is a static url:


What is a dynamic URL?

A dynamic URL displays different information depending on the query, by loading the content from a database. Its content can change with different page loads. It is possible to identify dynamic URLs  by looking for characters like: ? = &.

This is a dynamic url:


What is an absolute URL?

An absolute URL contains all the information necessary to locate a resource (or a file).

An absolute URL uses the following format: protocol://hostname/path/file

What is a relative URL?

A relative URL locates a file using an absolute URL as a starting point. The target can be specified by concatenating the absolute and relative URLs.

A relative URL typically consists only of the path, and optionally, the file, but no protocol or hostname.

What is an SEO-compliant URL?

An SEO-compliant URL is a URL of a page which

  • Returns HTTP 200 OK status code. It does not return other status codes; it doesn't respond with redirection or error
  • Is not duplicated or is not an alternate version of another page; the page does not include a canonical tag to another URL. It can either have no canonical tag, or a canonical tag to itself.
  • Has an HTML content type.
  • Has not any Noindex meta tag.

What is the maximum length of a URL for SEO?

Not entering into any details, URLs under 2000 characters will work in virtually any combination of client and server software.

Here is what John Mueller from Google said  at Google Webmaster Help thread  on 07/03/2014. 

URL Length SEO

Thanks for taking time to read this post. I offer consulting, architecture and hands-on development services in web/digital to clients in Europe & North America. If you'd like to discuss how my offerings can help your business please contact me via LinkedIn

Have comments, questions or feedback about this article? Please do share them with us here.

If you like this article

Follow Me on Twitter

Follow Searchdatalogy on Twitter


About Us

My objective is bringing all my experience and expertise together to deliver solid technology solutions that can take your search traffic acquisition to the next level. My main goal is to assist you in building and maintaining your search marketing analytics platforms. My will is to leverage your marketing and IT teams search knowledge while bridging the gap between two.


Botify: Botify Certified Consultant

IBM: Data Scientist, Data Engineering Certificates

Google: Google Analytics, Google Adwords, Mobile Sites, Digital Sales Certificated Professional

Coursera: Data Engineering on Google Cloud Platform Specialization

Legal Terms Privacy

Recent Posts

SEO data distribution analysis 6 months, 4 weeks ago
87 million domains pagerank 1 year, 4 months ago
SEO data forecasting 1 year, 5 months ago
SEO data analysis 1 year, 5 months ago
BrightonSEO conference 1 year, 6 months ago
HTTP2 on top sites 1 year, 9 months ago
Desktop & mobile performances 2 years, 1 month ago
Alexa top 1 million sites 2 years, 1 month ago
Best SEO conferences in 2019 2 years, 2 months ago
Web marketing festival 2 years, 9 months ago
Webcampday 2 years, 10 months ago
Queduweb 2 years, 11 months ago
1 million #SEO tweets 3 years, 1 month ago
SEO, six blind men & an elephant 3 years, 2 months ago
SEO hero 2017 3 years, 3 months ago
Digitalzone 3 years, 4 months ago
Technical SEO log analysis 3 years, 4 months ago

Recent Tweets