Difference between URI and URL

Posted by Sarfraz on Stack Overflow See other posts from Stack Overflow or by Sarfraz
Published on 2009-12-31T06:28:45Z Indexed on 2010/05/15 14:34 UTC
Read the original article Hit count: 417

Filed under:
|
|
|

If you read the documentation of CodeIgniter or Kohana, there is a lot of confusion about the usage of URI and URL. Sometimes they use one and other times the other. They also incorporate URI class which makes it easier working with URLs.

I know that:

  • URI stands for Uniform Resource Identifier
  • URL stands for Uniform Resource Locator

But that doesn't make much sense. What exactly is the difference? or are they same?

© Stack Overflow or respective owner

Related posts about terminology

Related posts about uri