URI vs. URL


UrbanDictionary.com/URI

So maybe it’s just the WordPress authors’ preference, but when did URI start being used in place of URL? It seems like lately more people are using URI, and I’m really not sure why.

  1. #1 by David on October 15th, 2004

    I’m not sure when URI started coming into use, but I believe that what the servers have always used. For instance, in PHP to get the location of the page that was requested, you call for $_SERVER['REQUEST_URI'] (which will return, for instance, ‘/index.php’). I’m assuming that PHP does this because of tradition, the same way that you ask for $_SERVER['HTTP_REFERER'] to get the referrer, with it misspelled.

(will not be published)

  1. No trackbacks yet.