{"id":1164,"date":"2022-08-05T16:29:25","date_gmt":"2022-08-05T09:29:25","guid":{"rendered":"https:\/\/workingin.cloud\/?p=1164"},"modified":"2024-04-13T15:42:41","modified_gmt":"2024-04-13T08:42:41","slug":"tim-hieu-file-htaccess","status":"publish","type":"post","link":"https:\/\/123.guong.com.vn\/?p=1164","title":{"rendered":"T\u00ecm hi\u1ec3u file .htaccess"},"content":{"rendered":"\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >N\u1ed9i dung ch&iacute;nh<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/123.guong.com.vn\/?p=1164\/#htaccess_la_gi\" title=\"htaccess l\u00e0 g\u00ec\">htaccess l\u00e0 g\u00ec<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/123.guong.com.vn\/?p=1164\/#Vi_du_co_ban_ve_htaccess\" title=\"V\u00ed d\u1ee5 c\u01a1 b\u1ea3n v\u1ec1 htaccess\">V\u00ed d\u1ee5 c\u01a1 b\u1ea3n v\u1ec1 htaccess<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/123.guong.com.vn\/?p=1164\/#Flag_trong_htaccess\" title=\"Flag trong htaccess\">Flag trong htaccess<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/123.guong.com.vn\/?p=1164\/#Dau_goi_sua_tam_thao_duoc\" title=\"D\u1ea7u g\u1ed9i, s\u1eefa t\u1eafm th\u1ea3o d\u01b0\u1ee3c\">D\u1ea7u g\u1ed9i, s\u1eefa t\u1eafm th\u1ea3o d\u01b0\u1ee3c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/123.guong.com.vn\/?p=1164\/#Tim_kiem_ten_mien_dep\" title=\"T\u00ecm ki\u1ebfm t\u00ean mi\u1ec1n \u0111\u1eb9p\">T\u00ecm ki\u1ebfm t\u00ean mi\u1ec1n \u0111\u1eb9p<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"bHead\"><span class=\"ez-toc-section\" id=\"htaccess_la_gi\"><\/span>htaccess l\u00e0 g\u00ec<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><code>.htaccess<\/code> (<strong>h<\/strong>yper<strong>t<\/strong>ext <strong>access<\/strong>) l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (Web Server) ch\u1ea1y Apache.<\/p>\r\n<p><code>.htaccess<\/code> r\u1ea5t m\u1ea1nh m\u1ebd, ki\u1ec3m so\u00e1t c\u1ea5u h\u00ecnh c\u1ea5p cao c\u1ee7a trang web. N\u00f3 th\u1ef1c hi\u1ec7n c\u00e1c thay \u0111\u1ed5i c\u1ea5u h\u00ecnh trang web c\u1ee7a m\u00ecnh m\u00e0 kh\u00f4ng c\u1ea7n ph\u1ea3i ch\u1ec9nh s\u1eeda file c\u1ea5u h\u00ecnh server.<\/p>\r\n<p><code>.htaccess<\/code> c\u00f3 th\u1ec3 b\u1eadt\/t\u1eaft c\u00e1c t\u00ednh n\u0103ng m\u00e0 m\u00e1y ch\u1ee7 ch\u1ea1y Apache cung c\u1ea5p, c\u00f3 th\u1ec3 l\u00e0: chuy\u1ec3n h\u01b0\u1edbng URL, r\u00fat ng\u1eafn URL, ki\u1ec3m so\u00e1t truy c\u1eadp (cho ph\u00e9p hay ng\u0103n ch\u1eb7n, &#8230;), &#8230;<\/p>\r\n<p><code>.htaccess<\/code> kh\u00f4ng ph\u1ea3i l\u00e0 \u0111\u1ecbnh d\u1ea1ng file m\u00e0 l\u00e0 m\u1ed9t t\u00ean file, v\u00e0 kh\u00f4ng n\u00ean thay \u0111\u1ed5i th\u00e0nh t\u00ean kh\u00e1c.<\/p>\r\n<p><code>.htaccess<\/code> c\u00f3 ph\u1ea1m vi \u1ea3nh h\u01b0\u1edfng v\u1edbi to\u00e0n b\u1ed9 file\/th\u01b0 m\u1ee5c b\u00ean trong th\u01b0 m\u1ee5c ch\u1ee9a n\u00f3, v\u1edbi nh\u1eefng th\u01b0 m\u1ee5c b\u00ean ngo\u00e0i n\u1ebfu mu\u1ed1n b\u1ecb \u1ea3nh h\u01b0\u1edfng th\u00ec b\u1ea1n ph\u1ea3i khai b\u00e1o.<\/p>\r\n<p>C\u00f3 th\u1ec3 t\u1ea1o file n\u00e0y b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng c\u00e1c c\u00f4ng c\u1ee5 editor sau \u0111\u00f3 save l\u1ea1i v\u1edbi t\u00ean file <code>.htaccess<\/code><\/p>\r\n<p>Ph\u1ea3i th\u1eadn tr\u1ecdng khi thay \u0111\u1ed5i n\u1ed9i dung file .htaccess, n\u1ebfu sai n\u00f3 s\u1ebd \u1ea3nh h\u01b0\u1edfng to\u00e0n b\u1ed9 trang web, ho\u1eb7c b\u00e1o l\u1ed7i.<\/p>\r\n<p>Khi thao t\u00e1c v\u1edbi <code>.htaccess<\/code>, n\u1ebfu ch\u1ec9nh code m\u00e0 n\u1ed9i dung kh\u00f4ng th\u1ea5y \u0111\u01b0\u1ee3c c\u1eadp nh\u1eadt m\u1edbi, th\u00ec n\u00ean clear cache ho\u1eb7c test b\u1eb1ng tr\u00ecnh duy\u1ec7t kh\u00e1c, ho\u1eb7c tr\u00ecnh duy\u1ec7t \u1ea9n danh.<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Vi_du_co_ban_ve_htaccess\"><\/span>V\u00ed d\u1ee5 c\u01a1 b\u1ea3n v\u1ec1 htaccess<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">order allow,deny\r\ndeny from 210.165.23.15\r\nallow from all<\/pre>\r\n<p>\u0110o\u1ea1n code tr\u00ean \u0111\u01b0\u1ee3c hi\u1ec3u l\u00e0 cho ph\u00e9p t\u1ea5t c\u1ea3 truy c\u1eadp, tr\u1eeb ip 210.165.23.15<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Flag_trong_htaccess\"><\/span>Flag trong htaccess<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>RewriteRule pattern target [Flag1,Flag2,Flag3]<\/p>\r\n<p>pattern: M\u1eabu c\u1ea7n x\u1eed l\u00fd target: M\u1ee5c ti\u00eau h\u01b0\u1edbng t\u1edbi<\/p>\r\n<p>Flag1,Flag2,Flag3 theo quy \u0111\u1ecbnh d\u01b0\u1edbi \u0111\u00e2y.<\/p>\r\n<p><strong>#<\/strong> &#8211; Comment\u00a0<em>(Vi\u1ebft comment)<\/em><\/p>\r\n<p><strong>[C]<\/strong> &#8211; Chain <em>(S\u1ebd th\u1ef1c thi rule c\u00f9ng l\u00fac v\u1edbi rule ti\u1ebfp theo n\u1ebfu match, ng\u01b0\u1ee3c l\u1ea1i s\u1ebd b\u1ecf qua rule ti\u1ebfp theo.)<\/em><\/p>\r\n<p><strong>[CO]<\/strong> &#8211; Cookie\u00a0<em>(Flag [C] hay [cookie] Cho ph\u00e9p x\u00e9t cookie t\u00f9y theo \u0111i\u1ec1u ki\u1ec7n RewriteRule.<br \/>\u0110o\u1ea1n code sau s\u1ebd set cookie cho trang web theo \u0111\u01b0\u1eddng d\u1eabn t\u01b0\u01a1ng \u1ee9ng)<\/em><\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">RewriteEngine On RewriteRule \"^\/index\\.html\" \"-\" [CO=cookiename:yes:.example.com:1440:\/]<\/pre>\r\n<p><strong>[E]<\/strong> &#8211; Env\u00a0<em>(Flag [E] hay env Cho ph\u00e9p thi\u1ebft l\u1eadp cho bi\u1ebfn m\u00f4i tr\u01b0\u1eddng, c\u00f3 th\u1ec3 thi\u1ebft l\u1eadp tr\u1ef1c ti\u1ebfp v\u1edbi\u00a0<code>[E=bi\u1ebfn:gi\u00e1 tr\u1ecb]<\/code>\u00a0ho\u1eb7c\u00a0<code>[E=!bi\u1ebfn]<\/code>.<br \/>\u0110o\u1ea1n code sau s\u1ebd set bi\u1ebfn m\u00f4i tr\u01b0\u1eddng\u00a0<code>image<\/code>\u00a0v\u1edbi gi\u00e1 tr\u1ecb l\u00e0\u00a0<code>1<\/code> n\u1ebfu request URI l\u00e0 m\u1ed9t image, sau \u0111\u00f3 c\u00e1c bi\u1ebfn n\u00e0y s\u1ebd kh\u00f4ng \u0111\u01b0\u1ee3c d\u00f9ng trong access_log)<\/em><\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">RewriteRule \"\\.(png|gif|jpg)$\" \"-\" [E=image:1] CustomLog \"logs\/access_log\" combined env=!image<\/pre>\r\n<p>&nbsp;<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">RewriteRule \"(.*\\.(jpg|gif|png))$\" \"http:\/\/example.com$1\" [P,NC]<\/pre>\r\n<p>&nbsp;<\/p>\r\n\r\n<p>C\u00d3 TH\u1ec2 B\u1ea0N QUAN T\u00c2M<\/p>\r\n<h2 style=\"font-size: 20px;\"><span class=\"ez-toc-section\" id=\"Dau_goi_sua_tam_thao_duoc\"><\/span>D\u1ea7u g\u1ed9i, s\u1eefa t\u1eafm th\u1ea3o d\u01b0\u1ee3c<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<!-- shopee.com\/shopvut -->\r\n<p><a href=\"https:\/\/shopee.vn\/shopvut\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/oraetlabora.link\/wp-content\/uploads\/2022\/05\/oraetlabora-chamsocda.com_.vn_.jpg\" alt=\"d\u1ea7u g\u1ed9i th\u1ea3o d\u01b0\u1ee3c, s\u1eefa t\u1eafm th\u1ea3o d\u01b0\u1ee3c\" width=\"100%\" height=\"auto\" \/><\/a><\/p>\r\n<hr \/>\r\n<h2 style=\"font-size: 20px;\"><span class=\"ez-toc-section\" id=\"Tim_kiem_ten_mien_dep\"><\/span>T\u00ecm ki\u1ebfm t\u00ean mi\u1ec1n \u0111\u1eb9p<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<!-- perfectdomain -->\r\n<p><a href=\"https:\/\/perfectdomain.com\/?partnerid=87177&amp;type=banner\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/perfectdomain.com\/static\/img\/pdb\/780x90.jpg\" width=\"100%\" height=\"auto\" \/><\/a><\/p>\r\n<hr \/><!-- sedo -->\r\n<p><a href=\"https:\/\/sedo.com\/?language=us&amp;campaignId=332320\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" src=\"https:\/\/cdn.sedo.com\/c7r\/assets\/static\/images\/banner\/en\/Sedo_Banner_72890_02.jpg\" width=\"100%\" height=\"auto\" \/> <\/a><\/p>\r\n<hr \/><!-- namesilo -->\r\n<p><a href=\"https:\/\/www.namesilo.com\/?rid=b481231hx\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 0;\" src=\"https:\/\/www.namesilo.com\/affiliate\/banner_gen.php?aid=b481231hx&amp;bid=60\" width=\"100%\" height=\"auto\" \/><\/a><\/p>\r\n<hr \/>","protected":false},"excerpt":{"rendered":"<p>File .htaccess d\u00f9ng thay \u0111\u1ed5i c\u1ea5u h\u00ecnh m\u00e1y ch\u1ee7 ch\u1ea1y Apache. N\u00f3 \u1ea3nh h\u01b0\u1edfng to\u00e0n b\u1ed9 file\/th\u01b0 m\u1ee5c b\u00ean trong th\u01b0 m\u1ee5c ch\u1ee9a n\u00f3. htaccess vi\u1ebft t\u1eaft c\u1ee7a hypertext access<\/p>\n","protected":false},"author":1,"featured_media":1813,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[112],"tags":[142],"series":[],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.1 (Yoast SEO v22.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>T\u00ecm hi\u1ec3u file .htaccess<\/title>\n<meta name=\"description\" content=\"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"T\u00ecm hi\u1ec3u file .htaccess\" \/>\n<meta property=\"og:description\" content=\"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/123.guong.com.vn\/?p=1164\" \/>\n<meta property=\"og:site_name\" content=\"Ora Et Labora\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-05T09:29:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-13T08:42:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"245\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"OraEtLabora\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"OraEtLabora\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#article\",\"isPartOf\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164\"},\"author\":{\"name\":\"OraEtLabora\",\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577\"},\"headline\":\"T\u00ecm hi\u1ec3u file .htaccess\",\"datePublished\":\"2022-08-05T09:29:25+00:00\",\"dateModified\":\"2024-04-13T08:42:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164\"},\"wordCount\":574,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577\"},\"image\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#primaryimage\"},\"thumbnailUrl\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg\",\"keywords\":[\"htaccess\"],\"articleSection\":[\"PHP\/MySQL\"],\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/123.guong.com.vn\/?p=1164#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164\",\"url\":\"https:\/\/123.guong.com.vn\/?p=1164\",\"name\":\"T\u00ecm hi\u1ec3u file .htaccess\",\"isPartOf\":{\"@id\":\"https:\/\/123.guong.com.vn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#primaryimage\"},\"image\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#primaryimage\"},\"thumbnailUrl\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg\",\"datePublished\":\"2022-08-05T09:29:25+00:00\",\"dateModified\":\"2024-04-13T08:42:41+00:00\",\"description\":\"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.\",\"breadcrumb\":{\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/123.guong.com.vn\/?p=1164\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#primaryimage\",\"url\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg\",\"contentUrl\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg\",\"width\":350,\"height\":245,\"caption\":\"T\u00ecm hi\u1ec3u file .htaccess\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/123.guong.com.vn\/?p=1164#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/123.guong.com.vn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"L\u1eadp tr\u00ecnh\",\"item\":\"https:\/\/123.guong.com.vn\/?cat=102\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PHP\/MySQL\",\"item\":\"https:\/\/123.guong.com.vn\/?cat=112\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"T\u00ecm hi\u1ec3u file .htaccess\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/123.guong.com.vn\/#website\",\"url\":\"https:\/\/123.guong.com.vn\/\",\"name\":\"Ora Et Labora\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/123.guong.com.vn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"vi\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577\",\"name\":\"OraEtLabora\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2024\/04\/oraetlabora.png\",\"contentUrl\":\"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2024\/04\/oraetlabora.png\",\"width\":430,\"height\":430,\"caption\":\"OraEtLabora\"},\"logo\":{\"@id\":\"https:\/\/123.guong.com.vn\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"T\u00ecm hi\u1ec3u file .htaccess","description":"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"vi_VN","og_type":"article","og_title":"T\u00ecm hi\u1ec3u file .htaccess","og_description":"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.","og_url":"https:\/\/123.guong.com.vn\/?p=1164","og_site_name":"Ora Et Labora","article_published_time":"2022-08-05T09:29:25+00:00","article_modified_time":"2024-04-13T08:42:41+00:00","og_image":[{"width":350,"height":245,"url":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg","type":"image\/jpeg"}],"author":"OraEtLabora","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"OraEtLabora","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"4 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/123.guong.com.vn\/?p=1164#article","isPartOf":{"@id":"https:\/\/123.guong.com.vn\/?p=1164"},"author":{"name":"OraEtLabora","@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577"},"headline":"T\u00ecm hi\u1ec3u file .htaccess","datePublished":"2022-08-05T09:29:25+00:00","dateModified":"2024-04-13T08:42:41+00:00","mainEntityOfPage":{"@id":"https:\/\/123.guong.com.vn\/?p=1164"},"wordCount":574,"commentCount":0,"publisher":{"@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577"},"image":{"@id":"https:\/\/123.guong.com.vn\/?p=1164#primaryimage"},"thumbnailUrl":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg","keywords":["htaccess"],"articleSection":["PHP\/MySQL"],"inLanguage":"vi","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/123.guong.com.vn\/?p=1164#respond"]}]},{"@type":"WebPage","@id":"https:\/\/123.guong.com.vn\/?p=1164","url":"https:\/\/123.guong.com.vn\/?p=1164","name":"T\u00ecm hi\u1ec3u file .htaccess","isPartOf":{"@id":"https:\/\/123.guong.com.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/123.guong.com.vn\/?p=1164#primaryimage"},"image":{"@id":"https:\/\/123.guong.com.vn\/?p=1164#primaryimage"},"thumbnailUrl":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg","datePublished":"2022-08-05T09:29:25+00:00","dateModified":"2024-04-13T08:42:41+00:00","description":"htaccess l\u00e0 file d\u00f9ng \u0111\u1ec3 thay \u0111\u1ed5i c\u1ea5u h\u00ecnh tr\u00ean c\u00e1c m\u00e1y ch\u1ee7 (web server) ch\u1ea1y Apache, n\u00f3 vi\u1ebft t\u1eaft c\u1ee7a hypertext access.","breadcrumb":{"@id":"https:\/\/123.guong.com.vn\/?p=1164#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/123.guong.com.vn\/?p=1164"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/123.guong.com.vn\/?p=1164#primaryimage","url":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg","contentUrl":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2022\/08\/htaccess.jpg","width":350,"height":245,"caption":"T\u00ecm hi\u1ec3u file .htaccess"},{"@type":"BreadcrumbList","@id":"https:\/\/123.guong.com.vn\/?p=1164#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/123.guong.com.vn\/"},{"@type":"ListItem","position":2,"name":"L\u1eadp tr\u00ecnh","item":"https:\/\/123.guong.com.vn\/?cat=102"},{"@type":"ListItem","position":3,"name":"PHP\/MySQL","item":"https:\/\/123.guong.com.vn\/?cat=112"},{"@type":"ListItem","position":4,"name":"T\u00ecm hi\u1ec3u file .htaccess"}]},{"@type":"WebSite","@id":"https:\/\/123.guong.com.vn\/#website","url":"https:\/\/123.guong.com.vn\/","name":"Ora Et Labora","description":"","publisher":{"@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/123.guong.com.vn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"vi"},{"@type":["Person","Organization"],"@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/bbcd132a29afe5f5e0c65f4b780d9577","name":"OraEtLabora","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/image\/","url":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2024\/04\/oraetlabora.png","contentUrl":"https:\/\/123.guong.com.vn\/wp-content\/uploads\/2024\/04\/oraetlabora.png","width":430,"height":430,"caption":"OraEtLabora"},"logo":{"@id":"https:\/\/123.guong.com.vn\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1164"}],"collection":[{"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1164"}],"version-history":[{"count":12,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1164\/revisions"}],"predecessor-version":[{"id":1814,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1164\/revisions\/1814"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=\/wp\/v2\/media\/1813"}],"wp:attachment":[{"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1164"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/123.guong.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}