{"id":31136,"date":"2021-08-13T18:38:39","date_gmt":"2021-08-13T11:38:39","guid":{"rendered":"https:\/\/wiki.tino.org\/staging\/?p=31136"},"modified":"2021-11-23T16:25:04","modified_gmt":"2021-11-23T09:25:04","slug":"wp-config-php-o-dau","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/wp-config-php-o-dau\/","title":{"rendered":"wp-config.php \u1edf \u0111\u00e2u? C\u00e1ch t\u00ecm wp-config.php ra sao?"},"content":{"rendered":"\n<p><strong>B\u1ea1n \u0111ang th\u1ef1c hi\u1ec7n theo m\u1ed9t s\u1ed1 b\u00e0i vi\u1ebft h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh WordPress v\u00e0 c\u00f3 ph\u1ea7n h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh wp-config.php. Nh\u01b0ng wp-config.php \u1edf \u0111\u00e2u? C\u00e1ch t\u00ecm wp-config.php ra sao? H\u1ecd l\u1ea1i kh\u00f4ng h\u01b0\u1edbng d\u1eabn b\u1ea1n. H\u00e3y \u0111\u1ec3 Tino Group gi\u00fap b\u1ea1n bi\u1ebft wp-config.php \u1edf \u0111\u00e2u? C\u00e1ch t\u00ecm v\u00e0 m\u1edf wp-config.php \u0111\u01a1n gi\u1ea3n nh\u1ea5t nh\u00e9!<\/strong><\/p>\n\n\n\n<h2 id=\"wp-config.php_\u1edf_\u0111\u00e2u?\"><a id=\"post-31136-_vh6mpxkphwdo\"><\/a><strong>wp-config.php \u1edf \u0111\u00e2u?<\/strong><\/h2>\n\n\n\n<h3 id=\"wp-config.php_l\u00e0_g\u00ec?\"><a id=\"post-31136-_1npt6bzdhewk\"><\/a><strong>wp-config.php l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n<p>wp-config.php l\u00e0 m\u1ed9t trong nh\u1eefng t\u1ec7p c\u1ed1t l\u00f5i nh\u1ea5t c\u1ee7a <a href=\"https:\/\/tino.vn\/blog\/wordpress-la-gi\/\" target=\"_blank\" rel=\"noreferrer noopener\">n\u1ec1n t\u1ea3ng WordPress<\/a> ch\u1ee9a nh\u1eefng th\u00f4ng tin c\u1ef1c k\u1ef3 quan tr\u1ecdng nh\u01b0: <a href=\"https:\/\/tino.vn\/blog\/database-la-gi\/\" target=\"_blank\" rel=\"noreferrer noopener\">c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/a>, t\u00ean m\u00e1y ch\u1ee7, username v\u00e0 m\u1eadt kh\u1ea9u ng\u01b0\u1eddi d\u00f9ng.<\/p>\n\n\n\n<p>Nh\u1eefng th\u00f4ng tin n\u00e0y s\u1ebd gi\u00fap WordPress c\u00f3 th\u1ec3 giao ti\u1ebfp \u0111\u01b0\u1ee3c v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u nh\u1eb1m \u0111\u1ec3 l\u01b0u tr\u1eef v\u00e0 truy xu\u1ea5t d\u1eef li\u1ec7u v\u00ed d\u1ee5 nh\u01b0: n\u1ed9i dung b\u00e0i \u0111\u0103ng, c\u00e1c ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 th\u00eam, c\u00e1c c\u00e0i \u0111\u1eb7t v\u00e0 c\u1ea5u h\u00ecnh tr\u00ean trang\u2026<\/p>\n\n\n\n<p>N\u1ebfu b\u1ea1n c\u00e0i t\u1ef1 c\u00e0i WordPress tr\u00ean Hosting, b\u1ea1n s\u1ebd th\u1ea5y nh\u1eefng th\u00f4ng tin WordPress y\u00eau c\u1ea7u \u0111\u1ec3 c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 WordPress nh\u01b0 trong \u1ea3nh d\u01b0\u1edbi. Nh\u1eefng th\u00f4ng tin trong \u1ea3nh c\u0169ng ch\u00ednh l\u00e0 nh\u1eefng d\u1eef li\u1ec7u c\u01a1 b\u1ea3n nh\u1ea5t trong t\u1ec7p WordPress.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-553.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31143\" width=\"721\" height=\"518\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-553.png 773w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-553-300x215.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-553-768x551.png 768w\" sizes=\"(max-width: 721px) 100vw, 721px\" \/><\/figure><\/div>\n\n\n\n<p>Kh\u00f4ng gi\u1ed1ng nh\u01b0 c\u00e1c t\u1ec7p kh\u00e1c trong g\u00f3i WordPress.org b\u1ea1n t\u1ea3i v\u1ec1, wp-config.php \u0111\u01b0\u1ee3c t\u1ea1o ra trong l\u00fac b\u1ea1n c\u00e0i \u0111\u1eb7t WordPress.<\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong> trong h\u1ea7u h\u1ebft c\u00e1c tr\u01b0\u1eddng h\u1ee3p, b\u1ea1n kh\u00f4ng n\u00ean thay \u0111\u1ed5i c\u00e1c th\u00f4ng tin trong t\u1ec7p n\u1ebfu kh\u00f4ng mu\u1ed1n g\u1eb7p ph\u1ea3i l\u1ed7i: \u201cerror establishing a database connection\u201d. N\u1ebfu l\u1ee1 may b\u1ea1n g\u1eb7p ph\u1ea3i l\u1ed7i, Tino Group c\u0169ng \u0111\u00e3 c\u00f3 b\u00e0i vi\u1ebft <a href=\"https:\/\/tino.vn\/blog\/fix-loi-error-establishing-a-database-connection\/\" target=\"_blank\" rel=\"noreferrer noopener\">5 c\u00e1ch fix l\u1ed7i \u201cerror establishing a database connection\u201d hi\u1ec7u qu\u1ea3<\/a> h\u1ed7 tr\u1ee3 b\u1ea1n g\u1ee1 l\u1ed7i \u0111\u1ea5y!<\/p>\n\n\n\n<h3 id=\"V\u1ecb_tr\u00ed_c\u1ee7a_wp-config.php_\u1edf_\u0111\u00e2u?\"><a id=\"post-31136-_91i4yittqmfw\"><\/a><strong>V\u1ecb tr\u00ed c\u1ee7a wp-config.php \u1edf \u0111\u00e2u?<\/strong><\/h3>\n\n\n\n<p>Th\u00f4ng th\u01b0\u1eddng, b\u1ea1n c\u00f3 th\u1ec3 t\u00ecm th\u1ea5y wp-config.php ngay trong th\u01b0 m\u1ee5c g\u1ed1c <strong>Root <\/strong>hay th\u00f4ng d\u1ee5ng h\u01a1n v\u1edbi c\u00e1i t\u00ean th\u01b0 m\u1ee5c <strong>\/public_html.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-556.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31146\" width=\"714\" height=\"353\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-556.png 1428w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-556-300x148.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-556-1024x506.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-556-768x379.png 768w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/figure><\/div>\n\n\n\n<h2 id=\"2_c\u00e1ch_t\u00ecm_v\u00e0_ch\u1ec9nh_s\u1eeda_wp-config.php_trong_WordPress\"><a id=\"post-31136-_wku4nz8f2fuk\"><\/a><strong>2 c\u00e1ch t\u00ecm v\u00e0 ch\u1ec9nh s\u1eeda wp-config.php trong WordPress<\/strong><\/h2>\n\n\n\n<h3 id=\"S\u1eed_d\u1ee5ng_FTP_\u0111\u1ec3_t\u00ecm_wp-config.php\"><a id=\"post-31136-_a2dx81cudbe\"><\/a><strong>S\u1eed d\u1ee5ng FTP \u0111\u1ec3 t\u00ecm wp-config.php<\/strong><\/h3>\n\n\n\n<h4 id=\"C\u00e1c_y\u00eau_c\u1ea7u_khi_s\u1eed_d\u1ee5ng_FTP_\u0111\u1ec3_t\u00ecm_wp-config.php\"><a id=\"post-31136-_kmfb7qbhzdsb\"><\/a><strong>C\u00e1c y\u00eau c\u1ea7u khi s\u1eed d\u1ee5ng FTP \u0111\u1ec3 t\u00ecm wp-config.php<\/strong><\/h4>\n\n\n\n<p>\u0110\u1ec3 c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng ph\u01b0\u01a1ng ph\u00e1p n\u00e0y, b\u1ea1n s\u1ebd c\u1ea7n ph\u1ea3i c\u00f3 v\u00e0 ph\u1ea3i chu\u1ea9n b\u1ecb m\u1ed9t s\u1ed1 th\u1ee9, bao g\u1ed3m:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>C\u00e1c th\u00f4ng tin \u0111\u0103ng nh\u1eadp FTP<\/strong> do nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 Hosting c\u1ee7a b\u1ea1n.<\/li><li><strong>Ph\u1ea7n m\u1ec1m \u0111\u1ec3 h\u1ed7 tr\u1ee3 FTP<\/strong>. Trong ph\u1ea7n n\u00e0y, Tino Group khuy\u1ebfn kh\u00edch b\u1ea1n s\u1eed d\u1ee5ng Filezilla v\u00ec ph\u1ea7n m\u1ec1m n\u00e0y mi\u1ec5n ph\u00ed v\u00e0 d\u1ec5 s\u1eed d\u1ee5ng.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-559.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31149\" width=\"755\" height=\"425\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-559.png 830w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-559-300x169.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-559-768x432.png 768w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/figure><\/div>\n\n\n\n<h4 id=\"C\u00e1ch_\u0111\u1ec3_t\u00ecm_wp-config.php_b\u1eb1ng_FTP\"><a id=\"post-31136-_jm5li0shjp30\"><\/a><strong>C\u00e1ch \u0111\u1ec3 t\u00ecm wp-config.php b\u1eb1ng FTP<\/strong><\/h4>\n\n\n\n<p>\u0110\u1ec3 s\u1eed d\u1ee5ng \u0111\u01b0\u1ee3c ph\u01b0\u01a1ng ph\u00e1p n\u00e0y, tr\u01b0\u1edbc ti\u00ean b\u1ea1n c\u1ea7n ph\u1ea3i t\u1ea3i ph\u1ea7n m\u1ec1m Filezilla v\u1ec1. B\u1ea1n c\u00f3 th\u1ec3 t\u1ea3i ngay <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">t\u1ea1i \u0111\u00e2y<\/a>.<\/p>\n\n\n\n<p>Sau khi t\u1ea3i v\u1ec1, b\u1ea1n ti\u1ebfn h\u00e0nh gi\u1ea3i n\u00e9n v\u00e0 c\u00e0i \u0111\u1eb7t ph\u1ea7n m\u1ec1m Filezilla.<\/p>\n\n\n\n<p>Nh\u01b0 v\u1ea7y l\u00e0 ch\u01b0a xong \u0111\u00e2u, ti\u1ebfp theo, b\u1ea1n s\u1ebd ph\u1ea3i c\u1ea5u h\u00ecnh \u0111\u01b0\u1eddng d\u1eabn t\u1eeb Filezilla \u0111\u1ebfn Hosting c\u1ee7a m\u00ecnh b\u1eb1ng c\u00e1ch:<\/p>\n\n\n\n<p>M\u1edf ch\u01b0\u01a1ng tr\u00ecnh <strong>Filezilla <\/strong>l\u00ean <strong>=&gt; File =&gt; Site Manager =&gt; <\/strong>t\u1ea1i m\u1ee5c <strong>My Sites<\/strong> b\u1ea1n ch\u1ecdn t\u1ea1o m\u1edbi <strong>New Site<\/strong> v\u00e0 nh\u1eadp t\u00ean trang c\u1ee7a b\u1ea1n v\u00e0o.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-94.jpeg\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31152\" width=\"683\" height=\"384\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-94.jpeg 1280w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-94-300x169.jpeg 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-94-1024x576.jpeg 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-94-768x432.jpeg 768w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/><\/figure><\/div>\n\n\n\n<p>C\u00e1c th\u00f4ng tin \u1edf ph\u00eda c\u1eeda s\u1ed5 b\u00ean tr\u00e1i b\u1ea1n s\u1ebd b\u1eaft bu\u1ed9c ph\u1ea3i nh\u1eadp bao g\u1ed3m:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Host<\/strong>: t\u00ean mi\u1ec1n trang web c\u1ee7a b\u1ea1n ho\u1eb7c \u0111\u1ecba ch\u1ec9 IP.<\/li><li><strong>Port<\/strong>: th\u00f4ng th\u01b0\u1eddng s\u1ebd l\u00e0: <strong>80 <\/strong>ho\u1eb7c <strong>2222 <\/strong>t\u00f9y theo t\u1eebng nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 Hosting b\u1ea1n ch\u1ecdn.<\/li><li><strong>Protocol<\/strong>: \u0111\u00e2y l\u00e0 ph\u01b0\u01a1ng th\u1ee9c \u0111\u1ec3 t\u1ea3i l\u00ean bao g\u1ed3m: <strong>FTP <\/strong>ho\u1eb7c <strong>SFTP, <\/strong>t\u00f9y theo y\u00eau c\u1ea7u c\u1ee7a nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 Hosting m\u00e0 b\u1ea1n ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c.<\/li><li>T\u1ea1i ph\u1ea7n <strong>User, Password,<\/strong> \u0111\u00e2y l\u00e0 ph\u1ea7n th\u00f4ng tin t\u00ean \u0111\u0103ng nh\u1eadp v\u00e0 m\u1eadt kh\u1ea9u FTP do nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 Hosting g\u1eedi b\u1ea1n.<\/li><li><strong>Logon Type<\/strong>: trong \u0111i\u1ec1u ki\u1ec7n th\u00f4ng th\u01b0\u1eddng, t\u1ed1t nh\u1ea5t l\u00e0 b\u1ea1n ch\u1ecdn <strong>Normal<\/strong>.<\/li><\/ul>\n\n\n\n<p>Sau khi ho\u00e0n t\u1ea5t, b\u1ea1n s\u1ebd \u0111\u1ee3i m\u1ed9t v\u00e0i gi\u00e2y ho\u1eb7c l\u00e2u h\u01a1n t\u00f9y theo \u0111\u01b0\u1eddng truy\u1ec1n m\u1ea1ng c\u1ee7a b\u1ea1n. Khi b\u1ea1n th\u1ea5y \u1ea3nh gi\u1ed1ng nh\u01b0 b\u00ean d\u01b0\u1edbi hi\u1ec7n l\u00ean, ch\u00fac m\u1eebng, b\u1ea1n \u0111\u00e3 k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng r\u1ed3i \u0111\u1ea5y!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-95.jpeg\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31153\" width=\"775\" height=\"436\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-95.jpeg 1280w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-95-300x169.jpeg 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-95-1024x576.jpeg 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-95-768x432.jpeg 768w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><\/figure><\/div>\n\n\n\n<p>Trong qu\u00e1 tr\u00ecnh th\u1ef1c hi\u1ec7n, n\u1ebfu b\u1ea1n \u0111ang th\u1ef1c hi\u1ec7n tr\u00ean m\u00e1y t\u00ednh c\u1ee7a m\u00ecnh, b\u1ea1n c\u00f3 th\u1ec3 click ch\u1ecdn v\u00e0o m\u1ee5c: \u201c<strong>Always trust certificate for future sessions<\/strong>\u201d \u0111\u1ec3 c\u00e1c l\u1ea7n k\u1ebft n\u1ed1i sau kh\u00f4ng ph\u1ea3i \u0111\u0103ng nh\u1eadp th\u1ee7 c\u00f4ng nh\u01b0 hi\u1ec7n t\u1ea1i. Giai \u0111o\u1ea1n \u0111\u0103ng nh\u1eadp s\u1ebd \u0111\u01b0\u1ee3c t\u1ef1 \u0111\u1ed9ng l\u01b0\u1ee3c b\u1edbt v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n k\u1ebft n\u1ed1i ngay l\u1eadp t\u1ee9c.<\/p>\n\n\n\n<p>Ngay sau khi k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd th\u1ea5y \u0111\u01b0\u1ee3c \u0111\u01b0a v\u00e0o trong th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a WordPress. N\u1ebfu kh\u00f4ng, b\u1ea1n nh\u1ea5p \u0111\u00fap v\u00e0o file <strong>public_html<\/strong> v\u00e0 b\u1ea1n s\u1ebd t\u00ecm th\u1ea5y file <strong>wp-config.php<\/strong> ngay trong \u0111\u1ea5y th\u00f4i!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-562.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31154\" width=\"750\" height=\"374\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-562.png 1500w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-562-300x150.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-562-1024x511.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-562-768x383.png 768w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n\n<h3 id=\"S\u1eed_d\u1ee5ng_cPanel\"><a id=\"post-31136-_p0ul65x09yxr\"><\/a><strong>S\u1eed d\u1ee5ng cPanel<\/strong><\/h3>\n\n\n\n<h4 id=\"C\u00e1c_y\u00eau_c\u1ea7u_khi_s\u1eed_d\u1ee5ng_cPanel_\u0111\u1ec3_t\u00ecm_wp-config.php\"><a id=\"post-31136-_v294v0l5eng3\"><\/a><strong>C\u00e1c y\u00eau c\u1ea7u khi s\u1eed d\u1ee5ng cPanel \u0111\u1ec3 t\u00ecm wp-config.php<\/strong><\/h4>\n\n\n\n<p><strong>Hosting c\u1ee7a b\u1ea1n c\u1ea7n ph\u1ea3i c\u00f3 d\u1ecbch v\u1ee5 cPanel<\/strong> \u0111\u1ec3 qu\u1ea3n l\u00fd trang web.<\/p>\n\n\n\n<p>B\u1eadt m\u00ed: TinoHost c\u00f3 cung c\u1ea5p mi\u1ec5n ph\u00ed c\u00e1c b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n website th\u00f4ng d\u1ee5ng nh\u01b0 cPanel v\u00e0 c\u1ea3 Directadmin cho b\u1ea1n ch\u1ecdn \u0111\u1ea5y!<\/p>\n\n\n\n<h4 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1ch_t\u00ecm_wp-config.php_b\u1eb1ng_cPanel\"><a id=\"post-31136-_18bsenf8ht51\"><\/a><strong>H\u01b0\u1edbng d\u1eabn c\u00e1ch t\u00ecm wp-config.php b\u1eb1ng cPanel<\/strong><\/h4>\n\n\n\n<p>\u0110\u1ec3 t\u00ecm wp-config.php b\u1eb1ng cPanel, tr\u01b0\u1edbc ti\u00ean b\u1ea1n s\u1ebd c\u1ea7n ph\u1ea3i \u0111\u0103ng nh\u1eadp v\u00e0o cPanel tr\u00ean Hosting c\u1ee7a b\u1ea1n tr\u01b0\u1edbc.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"751\" height=\"540\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-563.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31155\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-563.png 751w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-563-300x216.png 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/figure><\/div>\n\n\n\n<p>Sau khi \u0111\u0103ng nh\u1eadp v\u00e0o xong, b\u1ea1n ch\u1ec9 c\u1ea7n t\u00ecm \u0111\u1ebfn m\u1ee5c <strong>Files =&gt; File Manager<\/strong>. M\u1ed7i nh\u00e0 cung c\u1ea5p s\u1ebd c\u00f3 giao di\u1ec7n h\u01a1i kh\u00e1c nhau (n\u1ebfu h\u1ecd \u0111\u00e3 t\u00f9y bi\u1ebfn l\u1ea1i b\u1ea3n cPanel), nh\u01b0ng \u0111\u1eebng lo l\u1eafng, t\u00ean c\u1ee7a ch\u00fang \u0111\u1ec1u gi\u1ed1ng nhau b\u1ea1n nh\u00e9!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-564.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31156\" width=\"679\" height=\"442\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-564.png 1255w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-564-300x196.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-564-1024x667.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-564-768x501.png 768w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/figure><\/div>\n\n\n\n<p>Ti\u1ebfp theo, trang s\u1ebd chuy\u1ec3n qua giao di\u1ec7n <strong>File Manager <\/strong>v\u00e0 b\u1ea1n s\u1ebd t\u00ecm, nh\u1ea5p v\u00e0o th\u01b0 m\u1ee5c <strong>public_html<\/strong>. Ngay l\u1eadp t\u1ee9c \u1edf c\u1eeda s\u1ed5 b\u00ean ph\u1ea3i b\u1ea1n s\u1ebd th\u1ea5y file <strong>wp-config.php<\/strong> c\u1ea7n t\u00ecm.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-565.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31157\" width=\"816\" height=\"540\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-565.png 1158w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-565-300x199.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-565-1024x678.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-565-768x509.png 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n\n<h2 id=\"C\u00e1ch_ch\u1ec9nh_s\u1eeda_wp-config.php_c\u01a1_b\u1ea3n\"><a id=\"post-31136-_bzljkyh7jevg\"><\/a><strong>C\u00e1ch ch\u1ec9nh s\u1eeda wp-config.php c\u01a1 b\u1ea3n<\/strong><\/h2>\n\n\n\n<p>Trong h\u1ea7u h\u1ebft c\u00e1c tr\u01b0\u1eddng h\u1ee3p, b\u1ea1n s\u1ebd kh\u00f4ng n\u00ean ch\u1ec9nh s\u1eeda wp-config.php n\u1ebfu kh\u00f4ng c\u1ea7n thi\u1ebft. Tuy nhi\u00ean, b\u1ea1n t\u00ecm \u0111\u1ebfn b\u00e0i vi\u1ebft n\u00e0y, \u0111\u1ed3ng ngh\u0129a v\u1edbi vi\u1ec7c b\u1ea1n \u0111ang c\u1ea7n s\u1eeda l\u1ed7i g\u00ec \u0111\u00f3 trong wp-config.php.<\/p>\n\n\n\n<p>V\u00ec th\u1ebf, Tino Group s\u1ebd gi\u1ea3i th\u00edch c\u01a1 b\u1ea3n c\u00e1c n\u1ed9i dung trong file wp-config.php \u0111\u1ec3 b\u1ea1n n\u1eafm v\u00e0 tr\u00e1nh tr\u01b0\u1eddng h\u1ee3p l\u1ed7i kh\u00f4ng \u0111\u00e1ng c\u00f3 x\u1ea3y ra nh\u00e9!<\/p>\n\n\n\n<h3 id=\"N\u1ed9i_dung_m\u1eb7c_\u0111\u1ecbnh_c\u1ee7a_wp-config.php\"><a id=\"post-31136-_t71dqhervyao\"><\/a><strong>N\u1ed9i dung m\u1eb7c \u0111\u1ecbnh c\u1ee7a wp-config.php<\/strong><\/h3>\n\n\n\n<p>Sau khi c\u1ea5u h\u00ecnh xong, ph\u1ea7n n\u1ed9i dung m\u1eb7c \u0111\u1ecbnh c\u1ee7a wp-config.php s\u1ebd nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ ** MySQL settings - You can get this info from your web host ** \/\/\n\/** T\u00ean c\u01a1 s\u1edf d\u1eef li\u1ec7u cho WordPress *\/\ndefine('DB_NAME', 'database_name_here');\n\/** MySQL database username *\/\ndefine('DB_USER', 'username_here');\n\/** MySQL database password *\/\ndefine('DB_PASSWORD', 'password_here');\n\/** MySQL hostname *\/\ndefine('DB_HOST', 'localhost');\n\/** Database Charset to use in creating database tables. *\/\ndefine('DB_CHARSET', 'utf8');\n\/** The Database Collate type. Don't change this if in doubt. *\/\ndefine('DB_COLLATE', '');\ndefine('AUTH_KEY', 'put your unique phrase here');\ndefine('SECURE_AUTH_KEY', 'put your unique phrase here');\ndefine('LOGGED_IN_KEY', 'put your unique phrase here');\ndefine('NONCE_KEY', 'put your unique phrase here');\ndefine('AUTH_SALT', 'put your unique phrase here');\ndefine('SECURE_AUTH_SALT', 'put your unique phrase here');\ndefine('LOGGED_IN_SALT', 'put your unique phrase here');\ndefine('NONCE_SALT', 'put your unique phrase here');\n$table_prefix = 'wp_';\n\/* That's all, stop editing! Happy blogging. *\/<\/code><\/pre>\n\n\n\n<p>Khi b\u1ea1n s\u1eed d\u1ee5ng nhi\u1ec1u v\u00e0 c\u1ea5u h\u00ecnh nhi\u1ec1u th\u00f4ng tin kh\u00e1c trong WordPress, n\u1ed9i dung trong wp-config.php s\u1ebd b\u1eaft \u0111\u1ea7u d\u1ea7n nhi\u1ec1u h\u01a1n. Trong tr\u01b0\u1eddng h\u1ee3p b\u1ea1n v\u1eabn ch\u01b0a ngh\u0129 ra \u0111\u01b0\u1ee3c wp-config.php ra sao, b\u1ea1n c\u00f3 th\u1ec3 xem th\u00eam ph\u1ea7n code <a href=\"https:\/\/gist.github.com\/stevenfewings\/4260560\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">m\u1eabu wp-config.php<\/a> tr\u00ean Github.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"740\" height=\"504\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-566.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31158\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-566.png 740w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-566-300x204.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-566-260x176.png 260w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/figure><\/div>\n\n\n\n<p>Trong \u0111\u00f3, ch\u00fang ta s\u1ebd c\u1ea7n quan t\u00e2m \u0111\u1ebfn 4 n\u1ed9i dung quan tr\u1ecdng nh\u1ea5t trong file wp-config.php bao g\u1ed3m:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>C\u1ea5u h\u00ecnh c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/li><li>Keys and salts<\/li><li>Ti\u1ec1n t\u1ed1 c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/li><li>B\u1eadt t\u1eaft ch\u1ebf \u0111\u1ed9 debug &#8211; g\u1ee1 l\u1ed7i<\/li><\/ul>\n\n\n\n<h3 id=\"Gi\u1ea3i_th\u00edch_v\u1ec1_4_n\u1ed9i_dung_quan_tr\u1ecdng\"><a id=\"post-31136-_5d5qjgpi080s\"><\/a><strong>Gi\u1ea3i th\u00edch v\u1ec1 4 n\u1ed9i dung quan tr\u1ecdng<\/strong><\/h3>\n\n\n\n<h4 id=\"C\u1ea5u_h\u00ecnh_c\u01a1_s\u1edf_d\u1eef_li\u1ec7u\"><a id=\"post-31136-_tvi61has0yt\"><\/a><strong>C\u1ea5u h\u00ecnh c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/strong><\/h4>\n\n\n\n<p>Ngay ph\u1ea7n \u0111\u1ea7u c\u1ee7a file d\u01b0\u1edbi ph\u1ea7n ch\u1eef MySQL Settings ch\u00ednh l\u00e0 nh\u1eefng n\u1ed9i dung v\u1ec1: MySQL host, t\u00ean c\u1ee7a c\u01a1 s\u1edf d\u1eef li\u1ec7u, t\u00ean v\u00e0 m\u1eadt kh\u1ea9u \u0111\u0103ng nh\u1eadp v\u00e0o c\u01a1 s\u1edf d\u1eef li\u1ec7u s\u1ebd \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb b\u00ean trong \u0111o\u1ea1n code n\u00e0y.<\/p>\n\n\n\n<p>Nh\u1eefng th\u00f4ng tin n\u00e0y r\u1ea5t quan tr\u1ecdng v\u00e0 c\u1ea7n thi\u1ebft \u0111\u1ec3 b\u1ea1n c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 WordPress \u0111\u1ea5y!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"612\" height=\"300\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-567.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31159\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-567.png 612w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-567-300x147.png 300w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/figure><\/div>\n\n\n\n<h4 id=\"Keys_and_salts\"><a id=\"post-31136-_6tunqvovd9u0\"><\/a><strong>Keys and salts<\/strong><\/h4>\n\n\n\n<p>Keys and salts l\u00e0 c\u00e1c kh\u00f3a x\u00e1c th\u1ef1c gi\u00fap c\u1ea3i thi\u1ec7n v\u00e0 gia t\u0103ng m\u1ee9c \u0111\u1ed9 b\u1ea3o m\u1eadt cho trang WordPress c\u1ee7a b\u1ea1n. C\u00e1c kh\u00f3a n\u00e0y \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a r\u1ea5t cao cho c\u1ea3 sessions v\u00e0 cookies \u0111\u01b0\u1ee3c t\u1ea1o ra b\u1edfi WordPress.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"529\" height=\"141\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-568.png\" alt=\"wp-config-php-o-dau\" class=\"wp-image-31160\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-568.png 529w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/08\/word-image-568-300x80.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/figure><\/div>\n\n\n\n<h4 id=\"Ti\u1ec1n_t\u1ed1_c\u01a1_s\u1edf_d\u1eef_li\u1ec7u\"><a id=\"post-31136-_tihs05nby9mv\"><\/a><strong>Ti\u1ec1n t\u1ed1 c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/strong><\/h4>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c ti\u1ec1n t\u1ed1 n\u00e0y nh\u1eb1m gia t\u0103ng b\u1ea3o m\u1eadt cho trang WordPress c\u1ee7a b\u1ea1n \u0111\u1ea5y! Th\u00f4ng th\u01b0\u1eddng, c\u00e1c ti\u1ec1n t\u1ed1 \u0111\u01b0\u1ee3c m\u1eb7c \u0111\u1ecbnh l\u00e0 \u201cwp_\u201d tuy nhi\u00ean, th\u1ee9 g\u00ec ph\u1ed5 bi\u1ebfn qu\u00e1 c\u0169ng kh\u00f4ng t\u1ed1t, \u0111\u1eb7c bi\u1ec7t l\u00e0 r\u1ea5t nhi\u1ec1u hacker \u0111ang \u201cnh\u0103m nhe\u201d hack v\u00e0o trang web c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p>V\u00ec th\u1ebf, b\u1ea1n c\u00f3 th\u1ec3 chuy\u1ec3n \u0111\u1ed5i t\u1eeb:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$table_prefix = 'wp_';\ntr\u1edf th\u00e0nh:\n$table_prefix = 'meomeomeo_';<\/code><\/pre>\n\n\n\n<p>\u0110\u1ec3 tr\u00e1nh t\u00ecnh tr\u1ea1ng b\u1ecb \u0111o\u00e1n t\u00ean t\u1ec7p v\u00e0 b\u1ecb hack v\u00e0o trang web b\u1ea1n nh\u00e9!<\/p>\n\n\n\n<h4 id=\"B\u1eadt_t\u1eaft_ch\u1ebf_\u0111\u1ed9_debug_&#8211;_g\u1ee1_l\u1ed7i\"><a id=\"post-31136-_v89uq691uidd\"><\/a><strong>B\u1eadt t\u1eaft ch\u1ebf \u0111\u1ed9 debug &#8211; g\u1ee1 l\u1ed7i<\/strong><\/h4>\n\n\n\n<p>Cu\u1ed1i c\u00f9ng, ch\u1ebf \u0111\u1ed9 debug &#8211; g\u1ee1 l\u1ed7i th\u01b0\u1eddng s\u1ebd b\u1ecb t\u1eaft. Ch\u1ec9 khi n\u00e0o b\u1ea1n \u0111\u00e3 t\u00ecm hi\u1ec3u \u0111\u1ee7 s\u00e2u v\u1ec1 ki\u1ebfn th\u1ee9c s\u1eed d\u1ee5ng, ki\u1ebfn th\u1ee9c code,&#8230; B\u1ea1n s\u1ebd b\u1eadt ch\u1ebf \u0111\u1ed9 debug l\u00ean sau v\u00e0 tr\u00e1nh g\u1eb7p ph\u1ea3i t\u00ecnh tr\u1ea1ng s\u1eadp trang V:<\/p>\n\n\n\n<p>Ch\u1ebf \u0111\u1ed9 n\u00e0y g\u00f3i g\u1ecdn trong 1 c\u00e2u:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('WP_DEBUG', false); \u0111\u1ec3 t\u1eaft ch\u1ebf \u0111\u1ed9 debug<\/code><\/pre>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 b\u1eadt l\u00ean l\u1ea1i b\u1eb1ng c\u00e1ch thay \u0111\u1ed5i ch\u1eef <strong>false <\/strong>th\u00e0nh <strong>true<\/strong>.<\/p>\n\n\n\n<p>Qua b\u00e0i vi\u1ebft, Tino Group \u0111\u00e3 gi\u00fap b\u1ea1n bi\u1ebft \u0111\u01b0\u1ee3c v\u1ecb tr\u00ed c\u1ee7a wp-config.php \u1edf \u0111\u00e2u c\u0169ng nh\u01b0 2 c\u00e1ch t\u00ecm v\u00e0 ch\u1ec9nh s\u1eeda wp-config.php. Cu\u1ed1i c\u00f9ng, Tino Group ch\u00fac b\u1ea1n s\u1ebd s\u1eeda l\u1ed7i th\u00e0nh c\u00f4ng v\u00e0 kh\u00f4ng g\u1eb7p ph\u1ea3i c\u00e1c l\u1ed7i v\u1ec1 WordPress n\u1eefa nh\u00e9!<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p_v\u1ec1_wp-config.php\"><a id=\"post-31136-_3ck7qx3glklt\"><\/a><strong>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 wp-config.php<\/strong><\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_th\u00eam_code_t\u00f9y_bi\u1ebft_v\u00e0o_\u0111\u00e2u_trong_wp-config.php?\">N\u00ean th\u00eam code t\u00f9y bi\u1ebft v\u00e0o \u0111\u00e2u trong wp-config.php?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>T\u1ed1t nh\u1ea5t, b\u1ea1n n\u00ean th\u00eam code v\u00e0o ph\u00eda d\u01b0\u1edbi d\u00f2ng:<strong> \/* That&#8217;s all, stop editing! Happy blogging. *\/.<\/strong> \u0110i\u1ec1u n\u00e0y s\u1ebd gi\u00fap b\u1ea1n v\u00e0 nh\u1eefng ng\u01b0\u1eddi kh\u00e1c c\u00f3 th\u1ec3 ph\u00e2n bi\u1ec7t \u0111\u01b0\u1ee3c \u0111\u00e2u l\u00e0 code \u0111\u01b0\u1ee3c WordPress t\u1ea1o v\u00e0 \u0111\u00e2u l\u00e0 code t\u00f9y bi\u1ebfn.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00e1ch_thay_\u0111\u1ed5i_URL_WordPress_b\u1eb1ng_wp-config.php_ra_sao?\">C\u00e1ch thay \u0111\u1ed5i URL WordPress b\u1eb1ng wp-config.php ra sao?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i tr\u1ef1c ti\u1ebfp trong WordPress Dashboard n\u1ebfu c\u00f3. Trong tr\u01b0\u1eddng h\u1ee3p kh\u00f4ng th\u1ec3 thay \u0111\u1ed5i, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh trong <strong>wp-config.php <\/strong>nh\u01b0 sau:<\/p>\n\n\n\n<p><strong>define(&#8216;WP_HOME&#8217;,&#8217;https:\/\/tenmiencuaban.com&#8217;);<\/strong><\/p>\n\n\n\n<p><strong>define(&#8216;WP_SITEURL&#8217;,&#8217;https:\/\/tenmiencuaban.com&#8217;);<\/strong><\/p>\n\n\n\n<p>B\u1ea1n ch\u1ec9 c\u1ea7n thay \u0111\u1ed5i tenmiencuaban sao cho \u0111\u00fang v\u1edbi t\u00ean mi\u1ec1n c\u1ee7a b\u1ea1n l\u00e0 \u0111\u01b0\u1ee3c.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00e1ch_c\u1ea5u_h\u00ecnh_\u0111\u1ec3_ng\u0103n_WordPress_t\u1ef1_update_b\u1eb1ng_wp-config.php_ra_sao?\">C\u00e1ch c\u1ea5u h\u00ecnh \u0111\u1ec3 ng\u0103n WordPress t\u1ef1 update b\u1eb1ng wp-config.php ra sao?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 th\u00eam m\u1ed9t d\u00f2ng code duy nh\u1ea5t nh\u01b0 sau v\u00e0o t\u1ec7p<strong> wp-config.php<\/strong> v\u00e0 trang WordPress c\u1ee7a b\u1ea1n s\u1ebd kh\u00f4ng bao gi\u1edd t\u1ef1 update n\u1eefa:<\/p>\n\n\n\n<p><strong>define( &#8216;WP_AUTO_UPDATE_CORE&#8217;, false );<\/strong><\/p>\n\n\n\n<p>T\u1ea5t nhi\u00ean, b\u1ea1n n\u00ean th\u01b0\u1eddng xuy\u00ean xem x\u00e9t vi\u1ec7c update \u0111\u1ec3 gia t\u0103ng t\u00ednh b\u1ea3o m\u1eadt cho trang WordPress nh\u00e9!<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u00e0m_sao_\u0111\u1ec3_gi\u1edbi_h\u1ea1n_t\u0103ng_b\u1ed9_nh\u1edb_cho_WordPress?\">L\u00e0m sao \u0111\u1ec3 gi\u1edbi h\u1ea1n t\u0103ng b\u1ed9 nh\u1edb cho WordPress?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Trong m\u1ed9t v\u00e0i tr\u01b0\u1eddng h\u1ee3p, h\u00e0nh \u0111\u1ed9ng ho\u1eb7c m\u1ed9t s\u1ed1 plugin s\u1ebd y\u00eau c\u1ea7u b\u1ea1n t\u0103ng th\u00eam b\u1ed9 nh\u1edb \u0111\u1ec3 ch\u00fang c\u00f3 th\u1ec3 ho\u1ea1t \u0111\u1ed9ng t\u1ed1t nh\u1ea5t. B\u1ea1n ch\u1ec9 c\u1ea7n <strong>m\u1edf file wp-config.php<\/strong> l\u00ean v\u00e0 th\u00eam d\u00f2ng code n\u00e0y v\u00e0o:<\/p>\n\n\n\n<p><strong>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8216;<\/strong>{s\u1ed1 dung l\u01b0\u1ee3ng b\u1ed9 nh\u1edb mu\u1ed1n t\u0103ng}<strong>M&#8217;);<\/strong><\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean th\u00eam code t\u00f9y bi\u1ebft v\u00e0o \u0111\u00e2u trong wp-config.php?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>T\u1ed1t nh\u1ea5t, b\u1ea1n n\u00ean th\u00eam code v\u00e0o ph\u00eda d\u01b0\u1edbi d\u00f2ng:<strong> \/* That's all, stop editing! Happy blogging. *\/.<\/strong> \u0110i\u1ec1u n\u00e0y s\u1ebd gi\u00fap b\u1ea1n v\u00e0 nh\u1eefng ng\u01b0\u1eddi kh\u00e1c c\u00f3 th\u1ec3 ph\u00e2n bi\u1ec7t \u0111\u01b0\u1ee3c \u0111\u00e2u l\u00e0 code \u0111\u01b0\u1ee3c WordPress t\u1ea1o v\u00e0 \u0111\u00e2u l\u00e0 code t\u00f9y bi\u1ebfn.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00e1ch thay \u0111\u1ed5i URL WordPress b\u1eb1ng wp-config.php ra sao?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>B\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i tr\u1ef1c ti\u1ebfp trong WordPress Dashboard n\u1ebfu c\u00f3. Trong tr\u01b0\u1eddng h\u1ee3p kh\u00f4ng th\u1ec3 thay \u0111\u1ed5i, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh trong <strong>wp-config.php <\/strong>nh\u01b0 sau:<\/p><p><strong>define('WP_HOME','https:\/\/tenmiencuaban.com');<\/strong><\/p><p><strong>define('WP_SITEURL','https:\/\/tenmiencuaban.com');<\/strong><\/p><p>B\u1ea1n ch\u1ec9 c\u1ea7n thay \u0111\u1ed5i tenmiencuaban sao cho \u0111\u00fang v\u1edbi t\u00ean mi\u1ec1n c\u1ee7a b\u1ea1n l\u00e0 \u0111\u01b0\u1ee3c.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00e1ch c\u1ea5u h\u00ecnh \u0111\u1ec3 ng\u0103n WordPress t\u1ef1 update b\u1eb1ng wp-config.php ra sao?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>B\u1ea1n c\u00f3 th\u1ec3 th\u00eam m\u1ed9t d\u00f2ng code duy nh\u1ea5t nh\u01b0 sau v\u00e0o t\u1ec7p<strong> wp-config.php<\/strong> v\u00e0 trang WordPress c\u1ee7a b\u1ea1n s\u1ebd kh\u00f4ng bao gi\u1edd t\u1ef1 update n\u1eefa:<\/p><p><strong>define( 'WP_AUTO_UPDATE_CORE', false );<\/strong><\/p><p>T\u1ea5t nhi\u00ean, b\u1ea1n n\u00ean th\u01b0\u1eddng xuy\u00ean xem x\u00e9t vi\u1ec7c update \u0111\u1ec3 gia t\u0103ng t\u00ednh b\u1ea3o m\u1eadt cho trang WordPress nh\u00e9!<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u00e0m sao \u0111\u1ec3 gi\u1edbi h\u1ea1n t\u0103ng b\u1ed9 nh\u1edb cho WordPress?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Trong m\u1ed9t v\u00e0i tr\u01b0\u1eddng h\u1ee3p, h\u00e0nh \u0111\u1ed9ng ho\u1eb7c m\u1ed9t s\u1ed1 plugin s\u1ebd y\u00eau c\u1ea7u b\u1ea1n t\u0103ng th\u00eam b\u1ed9 nh\u1edb \u0111\u1ec3 ch\u00fang c\u00f3 th\u1ec3 ho\u1ea1t \u0111\u1ed9ng t\u1ed1t nh\u1ea5t. B\u1ea1n ch\u1ec9 c\u1ea7n <strong>m\u1edf file wp-config.php<\/strong> l\u00ean v\u00e0 th\u00eam d\u00f2ng code n\u00e0y v\u00e0o:<\/p><p><strong>define('WP_MEMORY_LIMIT', '<\/strong>{s\u1ed1 dung l\u01b0\u1ee3ng b\u1ed9 nh\u1edb mu\u1ed1n t\u0103ng}<strong>M');<\/strong><\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>B\u1ea1n \u0111ang th\u1ef1c hi\u1ec7n theo m\u1ed9t s\u1ed1 b\u00e0i vi\u1ebft h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh WordPress v\u00e0 c\u00f3 ph\u1ea7n h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh wp-config.php. Nh\u01b0ng wp-config.php \u1edf \u0111\u00e2u? C\u00e1ch t\u00ecm wp-config.php ra sao? H\u1ecd l\u1ea1i kh\u00f4ng h\u01b0\u1edbng d\u1eabn b\u1ea1n. H\u00e3y \u0111\u1ec3 Tino Group gi\u00fap b\u1ea1n bi\u1ebft wp-config.php \u1edf \u0111\u00e2u? C\u00e1ch t\u00ecm v\u00e0 m\u1edf wp-config.php \u0111\u01a1n gi\u1ea3n nh\u1ea5t [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":31140,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5404],"tags":[6170],"class_list":["post-31136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webmasters","tag-thao-tac-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/31136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"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=31136"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/31136\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/31140"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=31136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=31136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=31136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}