{"id":36844,"date":"2016-10-12T18:32:42","date_gmt":"2016-10-12T15:32:42","guid":{"rendered":"https:\/\/tuthost.ua\/faq\/what-htaccess-is-for-the-syntax-of-htaccess\/"},"modified":"2024-07-19T22:59:38","modified_gmt":"2024-07-19T19:59:38","slug":"dlya-chego-sluzhit-htaccess-sintaksis-htaccess","status":"publish","type":"ht_kb","link":"https:\/\/tuthost.ua\/en\/faq\/dlya-chego-sluzhit-htaccess-sintaksis-htaccess\/","title":{"rendered":"What .htaccess is for. The syntax of .htaccess."},"content":{"rendered":"<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">What is .htaccess for?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">By typing the address into your browser, you get the files that the browser displays on your computer. The web server controls which files are shown to you and how they are shown (forwarded). The most popular servers are two: IIS and Apache.<br \/>\nLike any program, a web server has certain settings. But, you, as an Apache user can (and most likely won&#8217;t, as far as shared hosting is concerned) have rights to change Apache configuration through its main files, which apply to all users of that server. But you can change some configuration files, which apply only to your site. One of these files is .htaccess<br \/>\nThis is the Apache web server flexible configuration file. &#8220;Flexible&#8221; means that as soon as you change something in this file, the changes take effect immediately. With it you can override many directives from the httpd.conf file (this file is the main configuration file of the Apache server and its actions apply completely to all users of a given copy of Apache). In cases where you do not have access to the Apache configuration file (the same shared hosting), this file will help you.<br \/>\nThis file is not accessible to the web user from the browser. If the .htaccess file is located in the root directory of the server, it applies to the entire server, except for those folders where another .htaccess file is located (and except for all folders &#8220;below&#8221; that folder with the second .htaccess file).<br \/>\nExample:<br \/>\nThe structure of your directories on the server is as follows:<\/p>\n<p><span class=\"Apple-style-span\" style=\"color: #222222; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;\"><span class=\"Apple-style-span\" style=\"color: #222222; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;\">|-user<br \/>\n| |<br \/>\n| -user1<br \/>\n| |<br \/>\n| -user2<br \/>\n|<\/span><\/span><\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">|-data<br \/>\n| |<br \/>\n| -data1<br \/>\n| |<br \/>\n| -data2<br \/>\n|<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">The directories user1 and user2 will be nested under the user directory. If we put a .htaccess file in the www directory, it will automatically apply to user1 and user2 as well.<br \/>\nIn the directory data we put another file .htaccess, in comparison with the one in the directory user. And for directories data1 and data2 will act .htaccess file, located in the data.<br \/>\nNow, in the directory user2 we put another .htaccess file, which is different from the one in the directory 2 levels above (this directory is user). As a result, the settings for user2 will be determined only by the .htaccess file in this directory.<br \/>\nSince most Apache is configured to always look for this file in the directory, .htaccess will help you quickly reconfigure it without stopping the server.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Syntax .htaccess<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Here is the obligatory syntax, non-compliance with which leads to server errors:<br \/>\n&#8211; paths to files (directories) are specified from the root of the server. Example: \/opt\/home\/www.astanafoto.com\/htdocs\/config\/.htpasswords<br \/>\n&#8211; domains with a protocol indication<br \/>\nExample: Redirect \/ http:\/\/www.site.ua<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">The file is named exactly &#8220;point&#8221; htaccess<br \/>\nMust be written in UNIX format. For the FAR shell, reach F4 (edit file), Shift+F2 (select &#8220;save as UNIX-text&#8221;).<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How can I prevent web visitors from reading files in a directory?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Ban all files:<br \/>\nDeny from all<br \/>\nWhere all means &#8220;all.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Allow access from a certain ip:<br \/>\norder allow deny<br \/>\nDeny from all<br \/>\nallow from &lt;your ip&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In this case, &lt;your ip&gt; denotes a specific address.<br \/>\nFor example:<br \/>\norder allow deny<br \/>\nDeny from all<br \/>\nallow from 192.126.12.199<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Deny access from a certain ip:<br \/>\norder allow deny<br \/>\ndeny from &lt;your ip&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Using &lt;your ip&gt; is similar to the example above.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Prohibit a group of files by mask:<br \/>\n&lt;Files &#8220;\\.(inc|sql|&#8230;other extensions&#8230;)$&#8221;&gt;<br \/>\norder allow,deny<br \/>\nDeny from all<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Determines access to a file by its extension.<br \/>\nFor example, banning web visitors from accessing files with the &#8220;inc&#8221; extension:<br \/>\n&lt;Files &#8220;\\.(inc)$&#8221;&gt;<br \/>\norder allow,deny<br \/>\nDeny from all<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In this example, the Apache web server itself can access files with these extensions.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">A ban on a specific file:<br \/>\nYou can ban a specific file by its name and extension.<br \/>\n&lt;Files config.inc.php&gt;<br \/>\norder allow,deny<br \/>\nDeny from all<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In this example, the config.inc.php file is banned.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Password for the directory:<br \/>\nAuthName &#8220;Private zone&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/pub\/home\/your_login\/.htpasswd<br \/>\nrequire valid-user<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">The AuthName value will be displayed to the visitor and can be used to explain the authorization request. The AuthUserFile value points to the location where the file with passwords for access to this directory is stored. This file is created by a special utility htpasswd.exe.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">For example, in the directory that we protect with a password, we create such a .htaccess:<br \/>\nAuthName &#8220;For Registered Users Only&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/pub\/site.ua\/.htpasswd<br \/>\nrequire valid-user<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In this example, the visitor when requesting the directory, will read the phrase &#8220;For Registered Users Only&#8221;, the file with passwords for access must be in the directory \/pub\/site.ua\/ and called .htapasswd. The directory is specified from the root of the server, if you specify the wrong directory, then Apache will not be able to read the .htapasswd file and no one will have access to this directory.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">The password is only for 1 file:<br \/>\nSimilar to the full directory password, you can put a password on only 1 file.<br \/>\nAn example of setting a password on a private.zip file:<br \/>\n&lt;Files private.zip&gt;<br \/>\nAuthName &#8220;Users zone&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/pub\/home\/your_login\/.htpasswd<br \/>\n&lt;\/Files&gt;<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Password for a group of files:<br \/>\nSimilarly, using &lt;Files &#8220;\\.(inc|sql|&#8230;other extensions&#8230;)$&#8221;&gt;, you can set passwords by file mask.<br \/>\nAn example of setting a password to access all files with the &#8220;sql&#8221; extension:<br \/>\n&lt;Files &#8220;\\.(sql)$&#8221;&gt;<br \/>\nAuthName &#8220;Users zone&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/pub\/home\/your_login\/.htpasswd<br \/>\n&lt;\/Files&gt;<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Checking access rights<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Problem: there is directory a1 and in it two subdirectories a2, a3, introduced two levels of users. Group 1 has access only to a1 and a2, group 2 has access to all three directories. It is necessary to authenticate only once &#8211; when accessing a1, but still respect the rights to access a2 and a3.<br \/>\nNickname and password are requested only when logging into A1 &#8211; if the user has access to a2 the password is no longer asked. If there is no access on a3, the &#8220;enter password&#8221; message will pop up.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">www.site.ua\/a1<br \/>\nwww.site.ua\/a1\/\u04302<br \/>\nwww.site.ua\/a1\/a3<br \/>\na1 is general and at the same time closed. a2 and a3 only for individuals.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">.htaccess file for directory a1:<br \/>\nAuthName &#8220;Input password&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile &#8220;\/pub\/home\/login\/htdocs\/clousearea\/.htpasswd&#8221;<br \/>\n&lt;Files *.*.&gt;<br \/>\nrequire valid-user<br \/>\n&lt;\/Files&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">.htaccess file for directory a2:<br \/>\nAuthName &#8220;Input password&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile &#8220;\/pub\/home\/login\/htdocs\/clousearea\/.htpasswd&#8221;<br \/>\n&lt;Files *.*.&gt;<br \/>\nrequire user user1 user2 user3<br \/>\n&lt;\/Files *.*&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">.htaccess file for the a3 directory:<br \/>\nAuthName &#8220;Input password&#8221;<br \/>\nAuthType Basic<br \/>\nAuthUserFile &#8220;\/pub\/home\/abv\/htdocs\/clousearea\/.htpasswd&#8221;<br \/>\n&lt;Files *.*.&gt;<br \/>\nrequire user user1 user4 user5<br \/>\n&lt;\/Files *.*&gt;<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How do I redirect a visitor?<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p><span class=\"Apple-style-span\" style=\"color: #222222; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;\"><span class=\"Apple-style-span\" style=\"color: #222222; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;\"><br \/>\nRedirect to another url:<br \/>\nTo redirect a visitor to http:\/\/site.ua in .htaccess Redirect \/ http:\/\/www.site.ua<\/span><\/span><\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Redirect any page of the site to an index file:<br \/>\nRewriteEngine on<br \/>\nRewriteRule !\\index.html$ \/index.html<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Display different pages, depending on the IP address of the visitor:<br \/>\nSetEnvIf REMOTE_ADDR &lt;desired ip address&gt; REDIR=&#8221;redir&#8221;<br \/>\nRewriteCond %{REDIR} redir<br \/>\nRewriteRule ^\/$ \/another_page.html<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">For example, redirecting visitors with ip address 192.12.131.1 to the about_my_sity.html page:<br \/>\nSetEnvIf REMOTE_ADDR 192.12.131.1 REDIR=&#8221;redir&#8221;<br \/>\nRewriteCond %{REDIR} redir<br \/>\nRewriteRule ^\/$ \/about_my_sity.html<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Redirect the visitor when requesting certain pages:<br \/>\nThis is already for all network viruses and scanners. Now any request with the \/_vti_bin address will be automatically redirected to Microsoft:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">redirect \/_vti_bin http:\/\/www.microsoft.com<br \/>\nredirect \/scripts http:\/\/www.microsoft.com<br \/>\nredirect \/MSADC http:\/\/www.microsoft.com<br \/>\nredirect \/c http:\/\/www.microsoft.com<br \/>\nredirect \/d http:\/\/www.microsoft.com<br \/>\nredirect \/_mem_bin http:\/\/www.microsoft.com<br \/>\nredirect \/msadc http:\/\/www.microsoft.com<br \/>\nRedirectMatch (.*)\\cmd.exe$ http:\/\/www.microsoft.com$1<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How do I make a different page my start page?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">To change the page that will be displayed when the directory is accessed, write:<br \/>\nDirectoryIndex &lt;the desired page&gt;<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">You can specify more than one page.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">DirectoryIndex index.shtml index.php index.php3 index.html index.htm<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How can I get Apache to process SSI directives?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">SSI allows you to &#8220;assemble&#8221; a page from pieces. You have the menu code in one piece, the code for the top of the page in another, and the code for the bottom of the page in a third. And the visitor sees an ordinary page, which consists of the code that is included in your pieces.<br \/>\nMandatory settings in httpd.conf are required:<br \/>\nIn the block starting with &lt;Directory\/&gt; and ending with &lt;\/Directory&gt;, add Includes to the Options Indexes line.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">After that, in the .htaccess file we write:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">AddHandler server-parsed .shtml .shtm .html .htm<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How do I get Apache to execute php code in html documents?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Sometimes it is useful to &#8220;cheat&#8221; the visitor, giving him his php-scripts or other files as html files. Really used for indexing by the search engine Rambler php-scripts. Some do little tricks, like giving files extensions that coincide with some &#8220;iconic&#8221; names.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">RemoveHandler .html .htm<br \/>\nAddType application\/x-httpd-php .php .htm .html .phtml<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">With high server traffic can cause slowdowns. Ask the administrator.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">For cloudlinux servers, the design would look like this:<\/p>\n<p>&lt;FilesMatch &#8220;.(php|htm|html)$&#8221;&gt;<br \/>\nAddHandler application\/x-httpd-lsphp .php .htm .html<br \/>\n&lt;\/FilesMatch&gt;<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How do I handle Apache errors myself?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">The most interesting and useful Apache errors are: 403-404, 500.<br \/>\n403 &#8211; user not authenticated, access denied (Forbidden).<br \/>\n404 &#8211; the requested document (file or directory) was not found.<br \/>\n500 &#8211; internal server error (for example, an error in the syntax of the .htaccess file).<br \/>\nIn order to display your own error messages to the user on these errors, we write in .htaccess:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">ErrorDocument 403 \/errors\/403.html<br \/>\nErrorDocument 404 \/errors\/404.html<br \/>\nErrorDocument 500 \/errors\/500.html<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In this case, when a 404 error occurs, the file errors\/403.html will be loaded to the user.<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">It is convenient to make your own handler for some errors. In .htaccess we write:<br \/>\nErrorDocument 403 \/errors\/error.php?403<br \/>\nErrorDocument 404 \/errors\/error.php?404<br \/>\nErrorDocument 500 \/errors\/error.php?500<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In error.php use $HTTP_SERVER_VARS[&#8216;REQUEST_URI&#8217;] to determine which document caused the error and then process it. If ErrorDocument in .htaccess has the full path (http:\/\/site.ua\/error.php), then $HTTP_SERVER_VARS[&#8216;REQUEST_URI&#8217;] will contain this file, not the one that caused the error.<br \/>\nInternet Explorer 5.0 does not correctly handle the file called by an error if its size is less than 1 kilobyte. The standard IE 404 page will be called.<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">How can I disable the display of directory contents if there is no index file?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Suppose you have all the graphics used on your site in the img directory. A visitor can type that directory into the browser address bar and see a list of all your graphic files. Of course, this won&#8217;t do you any damage, but you can prevent the visitor from seeing this. In .htaccess we write:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Options -Indexes<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Can I specify the default encoding for all files that my browser receives documents in?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">In the early days of the Internet and the birth of browsers, there was often a situation where the browser could not automatically determine which of the Russian encodings the document was written in, and the browser outputted some mush. To avoid this, specify that all output pages will be encoded windows-1251:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">AddDefaultCharset windows-1251<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Is it possible to specify the encoding on the downloaded files?<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">When a visitor uploads a file to the server, it is possible to recode it &#8211; specify that all received files will be encoded windows-1251:<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">CharsetSourceEnc windows-1251<\/p>\n<hr style=\"background-color: #cccccc; height: 1px; border: medium none initial;\">\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">I created a .htaccess file, but the server gives 500 error &#8211; Internal Erorr<\/p>\n<p style=\"margin: 0px; padding: 0px 0px 15px 0px;\">Syntax error or the file is in the wrong format.<br \/>\nSee question #2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is .htaccess for? By typing the address into your browser, you get the files that the browser displays on your computer. The web server controls which files are shown to you and how they are shown (forwarded). The most popular servers are two: IIS and Apache. Like any program, a web server has certain&#8230;<\/p>\n","protected":false},"author":4,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","ghostkit_customizer_options":"","ghostkit_custom_css":"","ghostkit_custom_js_head":"","ghostkit_custom_js_foot":"","ghostkit_typography":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"ht-kb-category":[10669],"ht-kb-tag":[],"class_list":["post-36844","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting-en"],"taxonomy_info":{"ht_kb_category":[{"value":10669,"label":"Hosting"}]},"featured_image_src_large":[],"author_info":{"display_name":"\u041e\u043b\u0435\u0433 \u041f\u043e\u043a\u043e\u0442\u0438\u043b\u043e","author_link":"https:\/\/tuthost.ua\/en\/author\/oleg-tuthost-com\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/36844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/comments?post=36844"}],"version-history":[{"count":1,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/36844\/revisions"}],"predecessor-version":[{"id":48828,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb\/36844\/revisions\/48828"}],"wp:attachment":[{"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/media?parent=36844"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb-category?post=36844"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/tuthost.ua\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=36844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}