Changes

Jump to navigation Jump to search
47 bytes added ,  13 years ago
no edit summary
Line 23: Line 23:  
== History ==
 
== History ==
 
   
 
   
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]RFC 1738</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>
+
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]RFC 1738</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 <big><code>http:com/sample/www/path/to/name</code></big> instead of <big><code><nowiki>http://www.sample.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 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,<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.  
+
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,"<big><code>mywebsite.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, 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>
+
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 "<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 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: <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>
+
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: <big><code>www.yourwebsite.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 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>
 
   
 
   
 
   
 
   
420

edits

Navigation menu