{"id":2602,"date":"2010-02-19T01:27:13","date_gmt":"2010-02-19T06:27:13","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=2602"},"modified":"2010-02-19T01:27:13","modified_gmt":"2010-02-19T06:27:13","slug":"protect-a-directory-using-htaccess","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/","title":{"rendered":"Protect a Directory Using .htaccess"},"content":{"rendered":"<ol>\n<li>\n<h3>Create a .htaccess file<\/h3>\n<p>Use an <a href=\"http:\/\/www.thefreecountry.com\/programming\/editors.shtml\" target=\"_top\" rel=\"noopener noreferrer\">ASCII text editor<\/a> like Notepad to create a text file  with the following contents:<\/p>\n<div>\n<code>AuthName \"Secure Area\"<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/path\/to\/your\/directory\/.htpasswd<br \/>\nrequire valid-user<br \/>\n<\/code>\n<\/div>\n<p>Note that you will have to modify the above according to your situation.  In particular, change:<\/p>\n<ol>\n<li>\n<h3>AuthName<\/h3>\n<p>Change &#8220;Secure Area&#8221; to any name that you like. This name will be  displayed when the browser prompts for a password. If, for example, that area is to be accessible only to members of your site, you can name it  &#8220;Members Only&#8221; or the like.<\/li>\n<li>\n<h3>AuthUserFile<\/h3>\n<p>You will later create a file containing passwords named .htpasswd. The  &#8220;AuthUserFile&#8221; line tells the Apache web server where it can locate this password file.<\/p>\n<p>Ideally, the password file should be placed outside any directory  accessible by visitors to your website. For example, if the main page of your web site is physically located in  &#8220;\/home\/your-account-name\/public-html\/&#8221;, place your .htpasswd file in  (say) \/home\/your-account-name\/.htpasswd. That way, on the off-chance that your  host misconfigures your server, your visitors cannot view the .htpasswd contents by simply typing http:\/\/www.example.com\/.htpasswd.<\/p>\n<p>Wherever you decide to place the file, put the full path of that file  after &#8220;AuthUserFile&#8221;. For example, if the directory where you placed the file is \/home\/your-account-name\/.htpasswd, modify that name  to &#8220;AuthUserFile \/home\/your-account-name\/.htpasswd&#8221;. Note that your  password file need not be named .htpasswd either. It can be any name you wish.  For ease of reference, however, this tutorial will assume that you chose  &#8220;.htpasswd&#8221;.<\/li>\n<li>\n<h3>AuthType and require<\/h3>\n<p>You do not have to modify these. Just copy the lines as they are given  above.<\/li>\n<\/ol>\n<\/li>\n<li>\n<h3>Save and Upload the .htaccess file<\/h3>\n<p>Save the .htaccess. If you are using Notepad, be sure to save the file  as &#8220;.htaccess&#8221;, including the quotes, otherwise Notepad will change the name to &#8220;.htaccess.txt&#8221; behind your back. Then <a href=\"http:\/\/www.thesitewizard.com\/gettingstarted\/howtoupload.shtml\" target=\"_top\" rel=\"noopener noreferrer\">upload the .htaccess file<\/a> to the directory that you want to protect.<\/li>\n<li>\n<h3>Set Up the Password File, .htpasswd<\/h3>\n<p>Use your <a href=\"http:\/\/www.thefreecountry.com\/webmaster\/sshandtelnet.shtml\" target=\"_top\" rel=\"noopener noreferrer\">telnet or SSH software<\/a> and log into your shell account.<\/p>\n<p>Be sure that you are in your home directory, not somewhere else. Note  that your web directory is probably not your home directory on most <a href=\"http:\/\/www.thefreecountry.com\/webhosting\/budget1.shtml\" target=\"_top\" rel=\"noopener noreferrer\">commercial web hosts<\/a>. On servers that use a Unix-type  system (like Linux, FreeBSD and OpenBSD), you can usually go to your home directory by simply typing &#8220;cd&#8221; (without the quotes) followed by the  ENTER key (or RETURN key on a Mac). This, by default, will switch you to your home directory. (Note for Windows users &#8211; this is different  from the Windows\/DOS shell, where &#8220;cd&#8221; only displays the current working  directory.)<\/p>\n<p>Then, type the following command:<\/p>\n<div><code> htpasswd -c .htpasswd your-user-name <\/code><\/div>\n<p>where your-user-name is the login name of the user you want to give  access. The user name should be a single word without any intervening  spaces. You will then be prompted to enter the password for that user. When this  is done, the htpasswd utility creates a file called .htpasswd in your current  directory (home directory). You can move the file to its final location later, according to where you set the AuthUserFile location in  .htaccess.<\/p>\n<p>If you have more than one users, you should create passwords for them as  well, but using the following command for each subsequent user:<\/p>\n<div><code> htpasswd .htpasswd another-user-name <\/code><\/div>\n<p>Notice that this time, we did not use the &#8220;-c&#8221; option. When the &#8220;-c&#8221;  option is not present, htpasswd will look for an existing file by the name given (.htpasswd in our case), and append the new user&#8217;s password  to that file. If you use &#8220;-c&#8221; for your second user, you will wipe out the first user&#8217;s entry since htpasswd takes &#8220;-c&#8221; to mean create a new  file, overwriting the existing file if present.<\/p>\n<p>If you are curious about the contents of the file, you can take a look  using the following command:<\/p>\n<div><code> cat .htpasswd <\/code><\/div>\n<p>Since the .htpasswd file is a plain text file, with a series of user  name and encrypted password pairs, you might see something like the following:<\/p>\n<div>\n<code>sally:abcdefgHijK12<br \/>\nmary:34567890LMNop<br \/>\n<\/code>\n<\/div>\n<p>This file has two users &#8220;sally&#8221; and &#8220;mary&#8221;. The passwords you see will  not be the same as the one you typed, since they are encrypted.<\/p>\n<p>Before you quit, you should make sure that permissions on the file are  acceptable. To check the permissions, simply type the following on the shell command line:<\/p>\n<div><code> ls -al .htpasswd <\/code><\/div>\n<p>If you see the file with a listing like:<\/p>\n<div>\n<code>-rw-rw-rw- (...etc...) .htpasswd<br \/>\n<\/code>\n<\/div>\n<p>it means that the .htpasswd can be read and written by everyone who has  an account on the same server as you. The first &#8220;rw&#8221; means that the owner of the file (you) can read it and write to it. The next &#8220;rw&#8221;  means everyone in the same group as you can read and write the file. The third &#8220;rw&#8221; means that everyone with an account on that machine can  read and write the file.<\/p>\n<p>You don&#8217;t want anyone else to be able to write to the file except you,  since they can then add themselves as a user with a password of their own choosing or other nefarious stuff. To remove the write permission  from everyone except you, do this from the shell command line:<\/p>\n<div><code> chmod 644 .htpasswd <\/code><\/div>\n<p>This allows the file to be read and written by you, and only read by  others. Depending on how your server is set up, it is probably too risky to change the permissions to prevent others from your group or the  world from reading it, since if you do so, the Apache web server will probably not be able to read it either. In any case, the passwords  are encrypted, so a cursory glance at the file will hopefully not give away the passwords.<\/p>\n<p>If you have set a different directory for your password file in your  .htaccess earlier, you will need to move it there. You can do this from the shell command line as follows:<\/p>\n<div><code> mv .htpasswd final\/location\/of\/the\/file <\/code><\/div>\n<p>Remember that your file does not even have to be called .htpasswd. You  can name it anything you like. However, if you do, make sure that your AuthUserFile has the same directory and filename or Apache will not  be able to locate it.<\/li>\n<\/ol>\n<h2>Testing Your Setup<\/h2>\n<p>Once you have completed the above, you should test your set up using  your browser to make sure that everything works as intended. Upload a simple index.html file into your protected directory and use  your web browser to view it. You should be greeted with a prompt for your user name and password. If you have set everything up  correctly, when you enter that information, you should be able to view the index.html file, and indeed any other  file in that directory.<\/p>\n<h2>A Word of Caution<\/h2>\n<p>You should note a few things though, before you go berserk password  protecting directories and harbouring the illusion that they can safeguard your data:<\/p>\n<ol>\n<li>The password protection only guards access through the web. You can  still freely access your directories from your shell account. So can others on that server, depending on how the permissions are set  up in the directories.<\/li>\n<p><\/p>\n<li>It protects directories and not files. Once a user is authenticated for  that folder, he\/she can view any file in that directory and its descendants.<\/li>\n<p><\/p>\n<li>Passwords and user names are transmitted in the clear by the browser,  and so are vulnerable to being intercepted by others.<\/li>\n<p><\/p>\n<li>You should <strong>not<\/strong> use this password protection facility  for anything serious, like guarding your customer&#8217;s data, credit card  information or any other valuable information. It is basically only good for things  like keeping out search engine bots and casual visitors. Remember, <a href=\"http:\/\/www.thefreecountry.com\/security\/encryption.shtml\" target=\"_top\" rel=\"noopener noreferrer\">your data isn&#8217;t even encrypted<\/a> in the directory with  this method.<\/li>\n<p>\n<\/ol>\n<p>From <a href=\"http:\/\/thesitewizard.com\" target=\"_blank\" rel=\"noopener noreferrer\">thesitewizard.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a .htaccess file Use an ASCII text editor like Notepad to create a text file with the following contents: AuthName &#8220;Secure Area&#8221; AuthType Basic AuthUserFile \/path\/to\/your\/directory\/.htpasswd require valid-user Note that you will have to modify the above according to your situation. In particular, change: AuthName Change &#8220;Secure Area&#8221; to any name that you like&#8230;. <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-2602","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Protect a Directory Using .htaccess - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Protect a Directory Using .htaccess - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"Create a .htaccess file Use an ASCII text editor like Notepad to create a text file with the following contents: AuthName &quot;Secure Area&quot; AuthType Basic AuthUserFile \/path\/to\/your\/directory\/.htpasswd require valid-user Note that you will have to modify the above according to your situation. In particular, change: AuthName Change &#8220;Secure Area&#8221; to any name that you like.... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2010-02-19T06:27:13+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Protect a Directory Using .htaccess\",\"datePublished\":\"2010-02-19T06:27:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/\"},\"wordCount\":1265,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/\",\"name\":\"Protect a Directory Using .htaccess - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2010-02-19T06:27:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/protect-a-directory-using-htaccess\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Protect a Directory Using .htaccess\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Protect a Directory Using .htaccess - Linux Shtuff","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/","og_locale":"en_US","og_type":"article","og_title":"Protect a Directory Using .htaccess - Linux Shtuff","og_description":"Create a .htaccess file Use an ASCII text editor like Notepad to create a text file with the following contents: AuthName \"Secure Area\" AuthType Basic AuthUserFile \/path\/to\/your\/directory\/.htpasswd require valid-user Note that you will have to modify the above according to your situation. In particular, change: AuthName Change &#8220;Secure Area&#8221; to any name that you like.... Read More","og_url":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2010-02-19T06:27:13+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Protect a Directory Using .htaccess","datePublished":"2010-02-19T06:27:13+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/"},"wordCount":1265,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/","url":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/","name":"Protect a Directory Using .htaccess - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2010-02-19T06:27:13+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/protect-a-directory-using-htaccess\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Protect a Directory Using .htaccess"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=2602"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/2602\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=2602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=2602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=2602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}