{"id":17047,"date":"2016-08-02T05:01:34","date_gmt":"2016-08-01T19:01:34","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=17047"},"modified":"2017-10-03T11:56:40","modified_gmt":"2017-10-03T01:56:40","slug":"ssl-friendly-web-application-urls-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/ssl-friendly-web-application-urls-primer-tutorial\/","title":{"rendered":"SSL Friendly Web Application URLs Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/sslcert.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"SSL Friendly Web Application URLs Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/sslcert.jpg\" title=\"SSL Friendly Web Application URLs Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">SSL Friendly Web Application URLs Primer Tutorial<\/p><\/div>\n<p>Within your web applications you are called upon for many many situations to construct URLs to navigate to places on the net or access webpages, or image files or media files stored on web servers on the net.<\/p>\n<p>You have the choice with these URLs to use &#8230;<\/p>\n<ol>\n<li>relative URLs that reference the current location you are at, and work off that to derive another URL &#8220;relative&#8221; to that &#8230; so these relative URLs usually sit on that same domain as the webpage you are on &#8230; versus &#8230;<\/li>\n<li>absolute URLs referencing the &#8220;base&#8221; of the world wide web address system<\/li>\n<\/ol>\n<p> &#8230; and these absolute URLs mentioned above begin explicitly or implicitly with some protocols (we&#8217;ve left out ones like file:\/\/ and ftp:\/\/ that are less common to use within a web application) as exemplified by &#8230;<\/p>\n<ul>\n<li><i><b>HTTP:\/\/<\/b><\/i> explicitly prefixed URL such as <a target=_blank title='RJM Programming landing page' href='HTTP:\/\/www.rjmprogramming.com.au'>HTTP:\/\/www.rjmprogramming.com.au<\/a> &#8230; to utilise http protocol &#8230; or &#8230;<\/li>\n<li><i><b>https:\/\/<\/b><\/i> explicitly prefixed URL such as <a target=_blank title='RJM Programming landing page' href='https:\/\/www.rjmprogramming.com.au'>https:\/\/www.rjmprogramming.com.au<\/a> &#8230; to utilise http protocol with SSL security &#8230; versus &#8230;<\/li>\n<li><i><b>\/\/<\/b><\/i> implicitly prefixed URL such as <a target=_blank title='RJM Programming landing page' href='\/\/www.rjmprogramming.com.au'>\/\/www.rjmprogramming.com.au<\/a> &#8230; to utilise same protocol as is currently being used<\/li>\n<\/ul>\n<p> &#8230; and we are here today to recommend the use of the latter usage, so that if <a target=_blank title='Secure Sockets Layer (and Transport Layer Security) information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Transport_Layer_Security'>SSL<\/a> is phased in at a later date, to do with the domain of interest, then the web application logic will not have to change to accomodate that.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d17047' onclick='var dv=document.getElementById(\"d17047\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=url\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d17047' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Within your web applications you are called upon for many many situations to construct URLs to navigate to places on the net or access webpages, or image files or media files stored on web servers on the net. You have &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/ssl-friendly-web-application-urls-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[1669,438,581,1002,1682,1319,1345,1404],"class_list":["post-17047","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-address-bar","tag-firebug","tag-http","tag-protocol","tag-ssl","tag-tutorial","tag-url","tag-web-browser"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/17047"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=17047"}],"version-history":[{"count":8,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/17047\/revisions"}],"predecessor-version":[{"id":33434,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/17047\/revisions\/33434"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=17047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=17047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=17047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}