Changes

Jump to navigation Jump to search
1,258 bytes added ,  12 years ago
no edit summary
Line 1: Line 1:  
[[Image:UnderConstruction.png]]
 
[[Image:UnderConstruction.png]]
 
+
'''URL''' is an abbreviation for '''Uniform Resource Locator'''. It was previously known as the '''Universal Resource Locator''', and is pronounced "Earl" in some regions. 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.
+
'''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 a path of a file or a resource on the internet which represents the location of the file on the internet and also specifies the method to retrieve the resource from the location. URL is often confused with URI which is a unique identifier of a resource on the internet. A URL is a type of URI like a URN (Uniform Resource Name) which is a unique name of a resource.  
 
+
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.
+
Every website on the internet has a unique URL which can be entered in 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 home page, a Java applet and even a program such as a Common Gateway Interface (CGI) application inside a website can also be accessed using a URL.
 
+
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.
+
The URL consists of a protocol that tells the web browser how to retrieve the file or a resource; a domain name which identifies a specific computer on the Internet; and a pathname, a hierarchical description, which specifies the location of the particular file on the computer. A computer referred here can also be called a web server which stores web pages and files associated with them and provide them to clients (web browsers) when a request is made in the form of accessing a URL.
 
+
On the Web, which uses the Hypertext Transfer Protocol, or HTTP, a URL appears in the following manner <code><nowiki>http://www.abcd.org/def/def1234.txt</nowiki></code>, 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 searchnetwork.techtarget.com]Definition URL</ref>
+
== Syntax ==
 
+
A typical URL can be of the following manner;
 +
 +
<code><nowiki>http://www.abcd.org/def/def1234.txt</nowiki></code>
 +
 +
The first part specifies the scheme, which is http, separated from the rest by a colon. The rest of the part of URL follows the colon in a format specific to the scheme. The Internet mainly uses the HTTP (Hypertext Transfer Protocol) scheme to transfer HTML pages on the web. Other such protocols are ftp, gopher, mailto, wais, and so on. 
 +
 +
The second part, www.abcd.com specifies the unique computer name. This name is a hierarchy of domains which descend from right to left separated by a dot. The rightmost domain, or as technically called, label is the top level domains which can be gTLDs - .com, .org, .net, etc; or ccTLDs - .us, .fr, .de, etc.
 +
 +
Next is the location of a resource as given in the example a text file, def1234.txt, to be accessed on that computer which is given by a pathname /def/def1234.txt”.  
 +
 +
<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>
 +
 +
 
== History ==
 
== History ==
 
+
The URL was first created in the year 1994 <ref>[http://www.ietf.org/rfc/rfc1738.txt ietf.org] </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 w3.org]URL specifications</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 <code>http:com/sample/www/path/to/name</code> instead of <code><nowiki>http://www.sample.com/path/to/name</nowiki></code> <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>
+
The URL was first created in the year 1994 <ref name=”www”>[http://www.w3.org/Addressing/URL/url-spec.txt w3.org]URL specifications</ref> by Tim Berners-Lee and the URI working group of the Internet Engineering Task Force<ref name=”ietf”>[http://www.ietf.org/rfc/rfc1738.txt ietf.org] </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 <code>http:com/sample/www/path/to/name</code> instead of <code><nowiki>http://www.sample.com/path/to/name</nowiki></code> <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 two forward slashes (//) before the domain name. <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.  
+
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,”<code>mywebsite.com/images/homepage.jpg</code>” 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, 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>
+
 
+
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 ”<code>../image/homepage.jpg</code>”. 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>
 
+
 +
 
== 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>
+
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: <code>www.yourwebsite.com/category/subcategory</code> 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 back-links 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>
 
+
 
+
 
== References ==
 
== References ==
 
+
 
{{reflist}}
 
{{reflist}}
 
+
 
__NOTOC__
 
__NOTOC__
 +
 
[[Category: Glossary]]
 
[[Category: Glossary]]
420

edits

Navigation menu