{"id":5615,"date":"2020-05-25T14:56:42","date_gmt":"2020-05-25T07:56:42","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=5615"},"modified":"2020-05-25T14:56:42","modified_gmt":"2020-05-25T07:56:42","slug":"cach-tang-dung-luong-tai-len-tep-tin-tren-website","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/cach-tang-dung-luong-tai-len-tep-tin-tren-website\/","title":{"rendered":"C\u00e1ch t\u0103ng dung l\u01b0\u1ee3ng t\u1ea3i l\u00ean t\u1ec7p tin tr\u00ean Website"},"content":{"rendered":"<h2 id=\"C\u00e1ch_t\u0103ng_dung_l\u01b0\u1ee3ng_t\u1ea3i_l\u00ean_t\u1ec7p_tin_tr\u00ean_Website\">C\u00e1ch t\u0103ng dung l\u01b0\u1ee3ng t\u1ea3i l\u00ean t\u1ec7p tin tr\u00ean Website<\/h2>\n<p>Trong qu\u00e1 tr\u00ecnh ho\u1ea1t \u0111\u1ed9ng v\u00e0 duy tr\u00ec website c\u1ee7a b\u1ea1n, b\u1ea1n ch\u1eafc h\u1eb3n c\u00f3 th\u1ec3 g\u1eb7p v\u1ea5n \u0111\u1ec1 v\u1edbi vi\u1ec7c b\u1ecb gi\u1edbi h\u1ea1n dung l\u01b0\u1ee3ng m\u00e0 b\u1ea1n c\u00f3 th\u1ec3 t\u1ea3i l\u00ean tr\u00ean Website c\u1ee7a m\u00ecnh.<\/p>\n<p>Gi\u1ea3 s\u1eed b\u1ea1n c\u00f3 d\u1eef li\u1ec7u l\u00e0 500Mb tuy nhi\u00ean Website c\u1ee7a b\u1ea1n hi\u1ec7n ch\u1ec9 cho ph\u00e9p t\u1ea3i l\u00ean t\u1ed1i \u0111a l\u00e0 256MB \u0111i\u1ec1u n\u00e0y s\u1ebd khi\u1ebfn b\u1ea1n kh\u00f4ng t\u1ea3i l\u00ean \u0111\u01b0\u1ee3c t\u1ec7p tin n\u00e0y v\u00e0 c\u0169ng kh\u00f4ng c\u00f3 c\u00e1ch n\u00e0o kh\u00e1c \u0111\u1ec3 \u0111\u01b0a t\u1ec7p tin n\u00e0y l\u00ean tr\u1ef1c tuy\u1ebfn ho\u1eb7c \u0111\u1ec3 c\u00f3 th\u1ec3 c\u00e0i t\u1ec7p tin n\u00e0y (V\u00ed d\u1ee5 nh\u01b0 Themes WordPress c\u00f3 dung l\u01b0\u1ee3ng cao ch\u1eb3ng h\u1ea1n.)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5574\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.20.45.png\" alt=\"\" width=\"1165\" height=\"310\" title=\"\"><\/p>\n<h2 id=\"C\u00e1ch_1_:_T\u0103ng_gi\u1edbi_h\u1ea1n_t\u1ea3i_l\u00ean_tr\u00ean_Hosting_cPanel.\">C\u00e1ch 1 : T\u0103ng gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean tr\u00ean Hosting cPanel.<\/h2>\n<p>\u0110\u1ed1i v\u1edbi vi\u1ec7c s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 cPanel b\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp v\u00e0o ph\u1ea7n ch\u1ecdn Slect PHP Version \u0111\u1ec3 th\u1ef1c hi\u1ec7n thao t\u00e1c \u0111\u1ebfn ph\u1ea7n Options c\u1ee7a PHP<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5575\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.26.21.png\" alt=\"\" width=\"1375\" height=\"187\" title=\"\"><\/p>\n<p>T\u01b0\u01a1ng \u1ee9ng v\u1edbi version PHP m\u00e0 b\u1ea1n \u0111ang s\u1eed d\u1ee5ng, v\u00ed d\u1ee5 \u1edf h\u00ecnh d\u01b0\u1edbi \u0111\u00e2y l\u00e0 m\u1ed9t b\u1ea3n ch\u01b0a \u0111\u01b0\u1ee3c thay \u0111\u1ed5i c\u00f3 dung l\u01b0\u1ee3ng th\u1ea5p.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5576\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.30.43.png\" alt=\"\" width=\"780\" height=\"641\" title=\"\"><\/p>\n<p>v\u00e0 th\u00f4ng tin h\u00ecnh d\u01b0\u1edbi \u0111\u00e2y bi\u1ec3u th\u1ecb c\u00e1c th\u00f4ng tin m\u00e0 m\u00ecnh \u0111\u00e3 thay \u0111\u1ed5i, b\u1ea1n ch\u1ec9 c\u1ea7n truy c\u1eadp v\u00e0o ph\u1ea7n t\u01b0\u01a1ng \u1ee9ng v\u00e0 nh\u1ea5n ch\u1ecdn c\u00e1c m\u1ee9c thay \u0111\u1ed5i m\u1ee9c t\u1ea3i l\u00ean v\u00e0 h\u1ec7 th\u1ed1ng s\u1ebd t\u1ef1 \u0111\u1ed9ng l\u01b0u l\u1ea1i khi b\u1ea1n ho\u00e0n t\u1ea5t thao t\u00e1c.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5578\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.31.34.png\" alt=\"\" width=\"779\" height=\"690\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"C\u00e1ch_2_:_T\u0103ng_gi\u1edbi_h\u1ea1n_t\u1ea3i_l\u00ean_tr\u00ean_Hosting_Direct_Admin.\">C\u00e1ch 2 : T\u0103ng gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean tr\u00ean Hosting Direct Admin.<\/h2>\n<p>Tr\u01b0\u1eddng h\u1ee3p b\u1ea1n s\u1eed d\u1ee5ng giao di\u1ec7n kh\u00e1c nh\u01b0 l\u00e0 Direct Admin cho Hosting hay VPS th\u00ec b\u1ea1n c\u00f3 th\u1ec3 l\u00e0m theo h\u01b0\u1edbng d\u1eabn sau v\u00ec b\u1ea1n c\u0169ng s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o v\u1ec1 Max File Size cho c\u00e1c gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5581\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.37.57.png\" alt=\"\" width=\"742\" height=\"438\" title=\"\"><\/p>\n<p>\u0110\u1ec3 t\u0103ng l\u00ean th\u00ec b\u1ea1n truy c\u1eadp ph\u1ea7n Administrator Settings \u0111\u1ec3 ti\u1ebfn h\u00e0nh v\u00e0o c\u00e0i \u0111\u1eb7t (N\u1eb1m t\u1ea1i ph\u1ea7n Admin Level)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5579\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.32.43.png\" alt=\"\" width=\"973\" height=\"517\" title=\"\"><\/p>\n<p>Sau \u0111\u00f3 b\u1ea1n truy c\u1eadp ph\u1ea7n Server Settings v\u00e0 b\u1ea1n ki\u1ec3m tra t\u1ea1i ph\u1ea7m Max request \/ upload size v\u00e0 thay \u0111\u1ed5i th\u00f4ng s\u1ed1 n\u00e0y v\u00e0 nh\u1ea5n l\u01b0u l\u1ea1i \u0111\u1ec3 ho\u00e0n t\u1ea5t.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5580\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-25-at-13.33.22.png\" alt=\"\" width=\"1895\" height=\"764\" title=\"\"><\/p>\n<h2 id=\"C\u00e1ch_3_:_T\u0103ng_gi\u1edbi_h\u1ea1n_t\u1ea3i_l\u00ean_tr\u00ean_WordPress_v\u1edbi_wp-config.php.\">C\u00e1ch 3 : T\u0103ng gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean tr\u00ean WordPress v\u1edbi wp-config.php.<\/h2>\n<p>N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng WordPress b\u1ea1n c\u00f3 th\u1ec3 ch\u1ec9nh s\u1eeda trong t\u1ec7p tin wp-config.php b\u1eb1ng c\u00e1ch th\u00eam m\u00e3 sau v\u00e0o sau m\u00e3 m\u1edf &lt;?php , t\u1ec7p tin n\u00e0y n\u1eb1m \u1edf th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a d\u1eef li\u1ec7u (public_html ho\u1eb7c yourdomain.com)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define('WP_MEMORY_LIMIT', '512M');\r\ndefine('UPLOAD_MAX_FILESIZE', '512M');\r\ndefine('POSt_MAX_SIZE', '512M');\r\ndefine('MAX_EXECUTION_TIME', '300');\r\n<\/pre>\n<h2 id=\"C\u00e1ch_4_:_T\u0103ng_gi\u1edbi_h\u1ea1n_t\u1ea3i_l\u00ean_tr\u00ean_WordPress_v\u1edbi_file_functions.php.\">C\u00e1ch 4 : T\u0103ng gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean tr\u00ean WordPress v\u1edbi file functions.php.<\/h2>\n<p>N\u1ebfu b\u1ea1n kh\u00f4ng mu\u1ed1n th\u00eam v\u1edbi wp-config.php th\u00ec b\u1ea1n c\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn v\u1edbi functions.php c\u00f3 t\u1ea1i th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a d\u1eef li\u1ec7u, m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p b\u1ea1n c\u00f3 th\u1ec3 thao t\u00e1c t\u1ec7p tin n\u00e0y trong t\u1ec7p Themes m\u00e0 b\u1ea1n \u0111ang s\u1eed d\u1ee5ng. L\u01b0u \u00fd thao t\u00e1c n\u00e0y kh\u00e1 nh\u1ea1y c\u1ea3m v\u00e0 th\u01b0\u1eddng hay g\u1eb7p l\u1ed7i n\u00ean b\u1ea1n nh\u1edb Backup tr\u01b0\u1edbc khi thao t\u00e1c h\u01b0\u1edbng d\u1eabn n\u00e0y.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">@ini_set( 'upload_max_size' , '512M' );\r\n@ini_set( 'post_max_size', '512M');\r\n@ini_set( 'max_execution_time', '300' );<\/pre>\n<h2 id=\"C\u00e1ch_5_:_T\u0103ng_gi\u1edbi_h\u1ea1n_t\u1ea3i_l\u00ean_tr\u00ean_WordPress_v\u1edbi_file_.htaccess.\">C\u00e1ch 5 : T\u0103ng gi\u1edbi h\u1ea1n t\u1ea3i l\u00ean tr\u00ean WordPress v\u1edbi file .htaccess.<\/h2>\n<p>Tr\u01b0\u1eddng h\u1ee3p b\u1ea1n s\u1eed d\u1ee5ng WordPress b\u1ea1n c\u0169ng c\u00f3 th\u1ec3 s\u1eeda trong t\u1ec7p tin .htaccess t\u1ec7p n\u00e0y th\u01b0\u1eddng b\u1ecb \u1ea9n \u0111i do l\u00e0 file h\u1ec7 th\u1ed1ng n\u00ean b\u1ea1n c\u00f3 th\u1ec3 tu\u1ef3 ch\u1ecdn c\u00e0i \u0111\u1eb7t =&gt; hi\u1ec3n th\u1ecb file \u1ea9n tr\u00ean tr\u00ecnh qu\u1ea3n l\u00fd file n\u1ebfu kh\u00f4ng th\u1ea5y Files n\u00e0y, b\u1ea1n ch\u1ec9 c\u1ea7n m\u1edf l\u00ean ch\u1ec9nh s\u1eeda v\u00e0 \u0111i\u1ec1n ph\u00eda d\u01b0\u1edbi c\u00f9ng c\u1ee7a t\u1ec7p tin n\u00e0y v\u00e0 l\u01b0u l\u1ea1i.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">php_value upload_max_filesize 512M\r\nphp_value post_max_size 512M\r\nphp_value max_execution_time 300\r\nphp_value max_input_time 300<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u00e1ch t\u0103ng dung l\u01b0\u1ee3ng t\u1ea3i l\u00ean t\u1ec7p tin tr\u00ean Website Trong qu\u00e1 tr\u00ecnh ho\u1ea1t \u0111\u1ed9ng v\u00e0 duy tr\u00ec website c\u1ee7a b\u1ea1n, b\u1ea1n ch\u1eafc h\u1eb3n c\u00f3 th\u1ec3 g\u1eb7p v\u1ea5n \u0111\u1ec1 v\u1edbi vi\u1ec7c b\u1ecb gi\u1edbi h\u1ea1n dung l\u01b0\u1ee3ng m\u00e0 b\u1ea1n c\u00f3 th\u1ec3 t\u1ea3i l\u00ean tr\u00ean Website c\u1ee7a m\u00ecnh. Gi\u1ea3 s\u1eed b\u1ea1n c\u00f3 d\u1eef li\u1ec7u l\u00e0 500Mb tuy [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":16424,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[5167],"class_list":["post-5615","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-cau-hoi-chung-ve-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/5615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=5615"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/5615\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/16424"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=5615"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=5615"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=5615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}