{"id":7135,"date":"2015-01-30T00:01:53","date_gmt":"2015-01-30T08:01:53","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=7135"},"modified":"2015-01-23T13:21:02","modified_gmt":"2015-01-23T21:21:02","slug":"deciphering-a-link","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=7135","title":{"rendered":"Deciphering a Link"},"content":{"rendered":"<p>I recognize that I&#8217;m odd, but I figure I&#8217;m not the only one who looks at a web page address and thinks, &#8220;What does all that crap mean?&#8221; Some addresses are pretty clean. Others look like the cat walked on the keyboard, lied down, and took a snooze.<br \/>\n<!--more--><br \/>\nIn many ways, the typical web page address mirrors a pathname for computer storage. In fact, that&#8217;s exactly what it is: a pathname.<\/p>\n<p>The <em>URL<\/em> (Universal Resource Locator) specifies the resource, such as a web page that&#8217;s accessed via the Hypertext Transfer Protocol. That&#8217;s <code>http<\/code> or <code>https<\/code> for a secure web page.<\/p>\n<p>Next comes the <em>domain name<\/em>, the location where the information is stored.<\/p>\n<p>After the domain name you may see a <em>path<\/em> to the specific page. If not, the browser opens a file named <code>index<\/code>.<\/p>\n<p>Finally, after the page come <em>options<\/em>. These additional information tidbits are often the source of confusion when you attempt to decipher a link.<\/p>\n<p>Some examples:<\/p>\n<p><code>http:\/\/www.wambooli.com\/<\/code><\/p>\n<p>This address shows the URL <code>http<\/code>, then the domain name, <code>wambooli.com<\/code>. The contents of this address are the index file in the root folder of the domain&#8217;s web page storage area. This is the web page address for the Wambooli home page.<\/p>\n<p><code>http:\/\/www.wambooli.com\/help\/pc\/stickykeys.php<\/code><\/p>\n<p>This address shows a specific page. It&#8217;s on the <code>wambooli.com<\/code> domain, in the <code>help<\/code> directory (or folder), then the <code>pc<\/code> directory. The web page file is named <code>stickykeys.php<\/code>. This is the same type of full pathname used on your computer to locate a specific file in a chain of folders.<\/p>\n<p><code>http:\/\/www.wambooli.com\/blog\/?p=7135<\/code><\/p>\n<p>This address is for this very page you&#8217;re reading. <code>blog<\/code> is the folder and you can assume that <code>index<\/code> is the filename because it&#8217;s not specified. The <code>?<\/code> character signals the start of one or more options available to the web page. In this case the option is <code>p=7135<\/code>. The <code>p<\/code> variable is passed to the index file, where its value <code>7135<\/code> is evaluated. In English, <code>p<\/code> is the post number, and you&#8217;re reading post number 7135 on this blog.<\/p>\n<p>Multiple options are separated by the <code>&amp;<\/code> ampersand character. For example:<\/p>\n<p><code>http:\/\/www.wambooli.com\/fun\/burma_shave\/index.php?year=1933&amp;Go=Go<\/code><\/p>\n<p>In this address, two options are passed to the Burma Shave page: <code>year<\/code> and <code>Go<\/code>.<\/p>\n<p>Beyond the <code>?<\/code> and <code>&<\/code>, you might also see percent signs in a web page address. The <code>%<\/code> sign helps specify characters that otherwise wouldn&#8217;t be allowed in an address, or which would confuse the browser. As an example, if I chose not to use the underscore in <code>burma_shave<\/code> (above), you might see <code>burma%20shave<\/code> instead. In this case <code>%20<\/code> is the code for the space character.<\/p>\n<blockquote><p>The <code>%<\/code> is followed by two digits. The value of those digits in base 16 (hexadecimal) represents the ASCII code for the character in question. Hex 20 is equal to decimal 32, the ASCII code for the space character.<\/p><\/blockquote>\n<p>Lots of percent signs in an address indicate characters not allowed in the URL. That&#8217;s a necessity because otherwise the characters might screw up web page redirection or cause other problems.<\/p>\n<p>Overly complex and cryptic addresses are exactly that, and on purpose. The web page address is scrambled so that it cannot be decoded. In many cases, the address is temporary, used for tracking purposes, or made complex for security reasons.<\/p>\n<p><strong>Trivia tidbit:<\/strong> Web page addresses can be up to 2000 characters in length, although the maximum value is specific to the web browser. I would strongly recommend not even trying to make sense of such long web page addresses.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to read the nonsense found in a long, complex web page address.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-7135","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7135"}],"version-history":[{"count":3,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7135\/revisions"}],"predecessor-version":[{"id":7142,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7135\/revisions\/7142"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}