{"id":1755,"date":"2026-05-19T12:10:06","date_gmt":"2026-05-19T12:10:06","guid":{"rendered":"https:\/\/www.woodcentral.com\/-\/peter\/?p=1755"},"modified":"2026-05-24T11:28:09","modified_gmt":"2026-05-24T11:28:09","slug":"uri-vs-url","status":"publish","type":"post","link":"https:\/\/www.woodcentral.com\/-\/peter\/uri-vs-url\/","title":{"rendered":"URI vs URL"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">URI (Uniform Resource Identifier)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>general<\/strong> concept: any string that <strong>identifies<\/strong> a resource.<\/li>\n\n\n\n<li>It can be a name, a location, or both.<\/li>\n\n\n\n<li>Examples:<\/li>\n\n\n\n<li><code>https:\/\/example.com\/path<\/code> (this is also a URL)<\/li>\n\n\n\n<li><code>\/path\/to\/resource<\/code> (just a path \u2014 this is a relative URI)<\/li>\n\n\n\n<li><code>mailto:user@example.com<\/code><\/li>\n\n\n\n<li><code>urn:isbn:0451450523<\/code> (a book identifier \u2014 <strong>not<\/strong> a URL)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">URL (Uniform Resource Locator)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>specific type<\/strong> of URI.<\/li>\n\n\n\n<li>It <strong>locates<\/strong> (provides the address for) a resource on the internet.<\/li>\n\n\n\n<li>It always includes the protocol (<code>http:\/\/<\/code>, <code>https:\/\/<\/code>, etc.) and usually a domain\/host, plus the path.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Key relationship<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Every URL is a URI<\/strong>, but <strong>not every URI is a URL<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Common breakdown of a full URL<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;www.example.com:443\/path\/to\/resource?query=param#fragment\n\u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518  \u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2518 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n Protocol     Host      Path<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>pathname part<\/strong> (<code>\/path\/to\/resource<\/code>) is just one component of a URL\/URI.<\/li>\n\n\n\n<li>Both URL and URI can include or omit the path depending on context.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Quick summary table<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Term<\/th><th>Includes protocol + domain?<\/th><th>Purpose<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td>URI<\/td><td>Not necessarily<\/td><td>Identify<\/td><td><code>\/users\/123<\/code>, <code>urn:isbn:1234<\/code><\/td><\/tr><tr><td>URL<\/td><td>Yes<\/td><td>Locate on network<\/td><td><code>https:\/\/example.com\/users\/123<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>URI (Uniform Resource Identifier) URL (Uniform Resource Locator) Key relationship Every URL is a URI, but not every URI is a URL. Common breakdown of a full URL Quick summary table Term Includes protocol + domain? Purpose Example URI Not necessarily Identify \/users\/123, urn:isbn:1234 URL Yes Locate on network https:\/\/example.com\/users\/123<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1755","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/posts\/1755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":0,"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.woodcentral.com\/-\/peter\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}