Jump to content

URL: Difference between revisions

From ICANNWiki
Saassoln (talk | contribs)
No edit summary
Colby (talk | contribs)
m History: fix typo; s/slashed/slashes/
 
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Image:UnderConstruction.png]]
'''URL''' is an abbreviation for '''Uniform Resource Locator'''. It was previously known as the '''Universal Resource Locator''' and is a type of Uniform Resource Identifier. The URL is a unique address or file path that represents the location of a file on the internet and also specifies the method to retrieve the resource from the location.
 
'''URL''' is an abbreviation for '''Uniform Resource Locator'''. It was previously known as the '''Universal Resource Locator''' and is most commonly pronounced as ‘'''Earl'''’ in some quarters. The URL is a unique address for a file with the help of which a person can access it on the Internet. It is also one of the simplest ways of visiting a web site. You just have to enter the URL on the home page file of your Web browser.
Every website on the internet has a unique URL, which can be entered into the address bar of a web browser to access and view it. Any other file or resource such as an image file, web (HTML) page other than the home page, Java applet and even programs imbedded inside a site, such as a Common Gateway Interface (CGI) application, can also be accessed using a URL.
 
You can also access any file that is present within the Web site with the help of the URL. You can either specify an image file, Web (HTML) page other than home page, a Java applet and even a program such as a Common Gateway Interface (CGI) application.
The URL consists of a protocol that tells the web browser how to retrieve the file or resource; a domain name which identifies the specific web server on the Internet where the file is stored; and a pathname, which is a hierarchical description that specifies the location of the particular file on the computer.
 
The URL consists of the protocol that is to be used to access the file resource, a pathname, a hierarchical description, which specifies the location of the particular file in the computer and a domain name, which identifies a specific computer on the Internet.
== Syntax ==
 
A typical URL is set up in the following way:
On the Web, which uses the Hypertext Transfer Protocol, or HTTP, a URL appears in the following manner http://www.abcd.org/def/def1234.txt, which specifies the use of HTTP (Web browser) application, a unique computer named www.abcd.org, and the location of a text page or file, def1234.txt, to be accessed on that computer, which has a pathname /def/def1234.txt. <ref>[http://searchnetworking.techtarget.com/definition/URL]</ref>
<big><code><nowiki>http://www.example.com/def/def1234.txt</nowiki></code></big>
The first part of the URL, in this case http, is the specified scheme. The HTTP (Hyptertest Transfer Protocol) scheme is used to transfer HTML pages on the web. Other protocols are ftp, gopher, mailto, and wais, which are all used for their own purpose. The scheme is separated from the rest of the URL by a colon; the rest of URL follows the colon in a format specific to the scheme.
The second part of the URL, in this case www.abcd.com, specifies a unique web server name. This name is a hierarchy of domains, descending from right to left and separated by a dot. The rightmost domain, or label, is the [[TLD]].
Following the TLD, separated by forward slashes, is the location or pathname of a resource (in this example, a text file named def1234.txt), to be accessed on the computer.<ref>[http://searchnetworking.techtarget.com/definition/URL searchnetwork.techtarget.com]Definition URL</ref><ref name="ietf">[http://www.ietf.org/rfc/rfc1738.txt ietf.org]RFC 1738</ref><ref name="www">[http://www.w3.org/Addressing/URL/url-spec.txt w3.org]URL specifications</ref>


== History ==
== History ==
The URL was first created in 1994<ref name="www">[http://www.w3.org/Addressing/URL/url-spec.txt w3.org]URL specifications</ref> by [[Tim Berners-Lee]] and the [[IETF|Internet Engineering Task Force]]'s URI Working Group.<ref name="ietf">[http://www.ietf.org/rfc/rfc1738.txt ietf.org]RFC 1738</ref>


The URL was first created in the year 1994 <ref>[http://www.ietf.org/rfc/rfc1738.txt]</ref> by Tim Berners-Lee and the URI working group of the Internet Engineering Task Force <ref>[http://www.w3.org/Addressing/URL/url-spec.txt]</ref>. Berners Lee had earlier used dots to separate the parts of the domain name inside URLs but he then regretted it and wished that he had used slashes throughout. For instance, he proposed that it is better to use http:com/sample/www/path/to/name instead of http://www.sample.com/path/to/name <ref>[http://www.w3.org/People/Berners-Lee/FAQ#etc w3.org] World Wide Web </ref>. Twenty years after creating the URL, Tim Berners-Lee in an interview to Times newspaper also held a light apology for using the forward slashes (//) before the domain name. <ref>[http://news.bbc.co.uk/2/hi/technology/8306631.stm news.bbc.co.uk]</ref>
Berners-Lee originally designed the URL to have the domain name separated by dots, but later regretted it, wishing he had designed the URL to be separated by slashes throughout, as in: <big><code>http:com/example/www/path/to/name</code></big> instead of <big><code><nowiki>http://www.example.com/path/to/name</nowiki></code></big>. <ref>[http://www.w3.org/People/Berners-Lee/FAQ#etc w3.org] World Wide Web </ref> Twenty years after creating the URL, Tim Berners-Lee, in an interview with Times, went so far as to apologize for using the two forward slashes (//) following the colon separator.<ref>[http://news.bbc.co.uk/2/hi/technology/8306631.stm news.bbc.co.uk]</ref>


== Types of URL ==
== Types of URL ==


URL is basically of two types, Absolute and Relative. The Absolute URL is a URL, which is independent of other elements and points directly to the exact file location For instance,”mywebsite.com/images/homepage.jpg” is an absolute URL, which specifies that the image file homepage.jpg is located in the images directory, under the mywebsite domain.
There are two types of URLs, '''Absolute''' and '''Relative.'''
A Relative URL is a type of URL, which is depended on other elements and point to a directory or file in relation to the present directory or file. A good example of this type of URL would be../image/homepage.jpg. In this, the first two periods (..) direct the server to move up one directory (the root directory), then enter images directory and then point to the homepage.jpg file. The main benefit of Relative URL is it helps the web masters to make changes in the directory as and when they want without rewriting the entire path again and again. <ref>[http://blog.webhosting.uk.com/web-hosting/types-of-url-absolute-and-relative/ Blog webhosting .uk.com]</ref>


The '''Absolute URL''' is a URL that is independent of other elements and points directly to an exact file location. For instance, "<big><code>example.com/images/homepage.jpg</code></big>" is an Absolute URL, which specifies that the image file homepage.jpg is located in the images directory, under the mywebsite domain.
A '''Relative URL''' is a type of URL that is dependent on other elements and point to a directory or file in relation to the present directory or file. For example, "<big><code>../image/homepage.jpg</code></big>." In this, the first two periods (..) direct the server to move up one directory (the root directory), then enter the images directory and point to the homepage.jpg file. The main benefit of a Relative URL is that it allows a webmaster to make changes to the directory without the worry of breaking a file path.<ref>[http://blog.webhosting.uk.com/web-hosting/types-of-url-absolute-and-relative/ blog.webhosting.uk.com]</ref>


== SEO benefits ==
== SEO benefits ==


There is a latest trend in the search engines, which says that URLs when shortened can really play a major role in Search Engine Optimization (SEO) of a web site. Many SEO experts advice that a URL of the form: www.yourwebsite.com/category/subcategory leads to better search engine rankings. <ref>[http://webmasters.stackexchange.com/questions/4166/seo-benefits-of-url-as-www-example-com-category-subcategory webmasters.stackexchange.com]</ref>. Google, a leading search engine has also developed URL shortener, which helps to convert longer URLs into short ones. This has been created in the view that, with shorter URLs, people can easily share the links of their web site on the popular social networking sites such as Twitter and Facebook and in turn can get huge backlinks and increase traffic to their web site. <ref>[http://www.htmlgoodies.com/daily_news/article.php/412820/The-SEO-Benefits-of-Googles-URL-Shortener.htm htmlgoodies.com]SEO benefits of Google URL shortner</ref>
In a new search engine trend, URLs, when shortened, can play a major role in the Search Engine Optimization ([[SEO]]) of a web site. Many SEO experts advise that a URL of the form: <big><code>www.example.com/category/subcategory</code></big> leads to better search engine rankings.<ref>[http://webmasters.stackexchange.com/questions/4166/seo-benefits-of-url-as-www-example-com-category-subcategory webmasters.stackexchange.com]</ref> [[Google]], a leading search engine, has developed a URL shortener to convert longer URLs into short ones. The idea behind this is that, with shorter URLs, the sharing of links between people is made easier, which in turn can increase traffic to a web site.<ref>[http://www.htmlgoodies.com/daily_news/article.php/412820/The-SEO-Benefits-of-Googles-URL-Shortener.htm htmlgoodies.com] SEO benefits of Google URL shortner</ref>
 


== References ==
== References ==
 
{{reflist}}
{{reflist}}
 
__NOTOC__
__NOTOC__
[[Category: Glossary]]
[[Category: Glossary]]

Latest revision as of 17:17, 10 May 2022

URL is an abbreviation for Uniform Resource Locator. It was previously known as the Universal Resource Locator and is a type of Uniform Resource Identifier. The URL is a unique address or file path that represents the location of a file on the internet and also specifies the method to retrieve the resource from the location.

Every website on the internet has a unique URL, which can be entered into the address bar of a web browser to access and view it. Any other file or resource such as an image file, web (HTML) page other than the home page, Java applet and even programs imbedded inside a site, such as a Common Gateway Interface (CGI) application, can also be accessed using a URL.

The URL consists of a protocol that tells the web browser how to retrieve the file or resource; a domain name which identifies the specific web server on the Internet where the file is stored; and a pathname, which is a hierarchical description that specifies the location of the particular file on the computer.

Syntax edit

A typical URL is set up in the following way:

http://www.example.com/def/def1234.txt

The first part of the URL, in this case http, is the specified scheme. The HTTP (Hyptertest Transfer Protocol) scheme is used to transfer HTML pages on the web. Other protocols are ftp, gopher, mailto, and wais, which are all used for their own purpose. The scheme is separated from the rest of the URL by a colon; the rest of URL follows the colon in a format specific to the scheme.

The second part of the URL, in this case www.abcd.com, specifies a unique web server name. This name is a hierarchy of domains, descending from right to left and separated by a dot. The rightmost domain, or label, is the TLD.

Following the TLD, separated by forward slashes, is the location or pathname of a resource (in this example, a text file named def1234.txt), to be accessed on the computer.[1][2][3]

History edit

The URL was first created in 1994[3] by Tim Berners-Lee and the Internet Engineering Task Force's URI Working Group.[2]

Berners-Lee originally designed the URL to have the domain name separated by dots, but later regretted it, wishing he had designed the URL to be separated by slashes throughout, as in: http:com/example/www/path/to/name instead of http://www.example.com/path/to/name. [4] Twenty years after creating the URL, Tim Berners-Lee, in an interview with Times, went so far as to apologize for using the two forward slashes (//) following the colon separator.[5]

Types of URL edit

There are two types of URLs, Absolute and Relative.

The Absolute URL is a URL that is independent of other elements and points directly to an exact file location. For instance, "example.com/images/homepage.jpg" is an Absolute URL, which specifies that the image file homepage.jpg is located in the images directory, under the mywebsite domain.

A Relative URL is a type of URL that is dependent on other elements and point to a directory or file in relation to the present directory or file. For example, "../image/homepage.jpg." In this, the first two periods (..) direct the server to move up one directory (the root directory), then enter the images directory and point to the homepage.jpg file. The main benefit of a Relative URL is that it allows a webmaster to make changes to the directory without the worry of breaking a file path.[6]

SEO benefits edit

In a new search engine trend, URLs, when shortened, can play a major role in the Search Engine Optimization (SEO) of a web site. Many SEO experts advise that a URL of the form: www.example.com/category/subcategory leads to better search engine rankings.[7] Google, a leading search engine, has developed a URL shortener to convert longer URLs into short ones. The idea behind this is that, with shorter URLs, the sharing of links between people is made easier, which in turn can increase traffic to a web site.[8]

References edit

  1. searchnetwork.techtarget.comDefinition URL
  2. 2.0 2.1 ietf.orgRFC 1738
  3. 3.0 3.1 w3.orgURL specifications
  4. w3.org World Wide Web
  5. news.bbc.co.uk
  6. blog.webhosting.uk.com
  7. webmasters.stackexchange.com
  8. htmlgoodies.com SEO benefits of Google URL shortner