Learn the Parts of an URL tutorial

7,096 views
6,815 views

Published on

Learn about the different parts of a url

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total views
7,096
On SlideShare
0
From Embeds
0
Number of Embeds
77
Actions
Shares
0
Downloads
68
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Learn the Parts of an URL tutorial

  1. 1. Parts of a URL
  2. 2. OverviewURL(universal resource locator) is a string of charactersthat sets the location to a resource on a network. Thistutorial focus will be breaking down the parts of a url tohelp better understand the composition of the string.Each part being discussed will be highlighted in a lightblue like the example below. www.prodigyview.com
  3. 3. ProtocolProtocol can be described as the type of connection. Thenormal protocol is http but other protocols include https, ftp,and ssh.Protocols have default ports that they communicate over.Http: Port 80Https : 221FTP: Port 20 Protocol www.prodigyview.com
  4. 4. SubdomainThe subdomain is the first part of the hostname, whichcan be found between ‘//’ and the first ‘.’ . The subdomainwww is the default subdomain used but can be change tostring of alpha numeric characters, such as our examplebelow. Subdomain www.prodigyview.com
  5. 5. Domain NameThe domain name is the parts of the domain after thesubdomain and before the port or path. It will include thetop-level domain or second level domain. www.prodigyview.com
  6. 6. Top Level DomainThe top level domain(TLD) is the country code for thedomain. In the example below the TLD is the uk. In otherinstances it is com, net, org, biz and even edu. www.prodigyview.com
  7. 7. Second Level Domain and Country Code SLD.The second level domain(SLD) is the part of the url beforethe top level domain. In our example, it is prodigyview.The country code second level domain (ccSLD) is thepart of the url directly before the top level domain andafter the SLD. 1. Second Level Domain 2. Country Code Second Level Domain
  8. 8. PortThe normal port that a web server runs on is port 80, butyour web server can be configured to run on any portsuch as 9000. Remember that if you change the port,make sure another program is also not using that port. www.prodigyview.com
  9. 9. PathThe path refers to a file or location on the web server.Many of today’s web server paths are actually dynamicurls that are used to generate code depending on thepath. The beginning of the path starts with a ‘/’. www.prodigyview.com
  10. 10. ParametersUrls have parameters that are generally designated afterthe ? symbol and separated with an & symbol. Normallyparameters are parsed by a scripting language such asphp. www.prodigyview.com
  11. 11. Search Engine Friendly ParametersA lot of servers today perform a cool trick where they take inparameters, and rewrite them as paths. This makes both searchengine friendly and user friendly urls. Example www.example.com/index.php?action=view&video=5 Becomes www.example.com/view/5 www.prodigyview.com
  12. 12. Fragment/AnchorsThe last part of the url is what can either be known asfragment or anchor. The variable is define after a the ‘#’symbol. Fragments normally act as a location to go to ona page. www.prodigyview.com
  13. 13. More TutorialsFor more tutorials, please visit:http://www.prodigyview.com/tutorials www.prodigyview.com

×