{"id":4333,"date":"2020-02-28T14:59:43","date_gmt":"2020-02-28T07:59:43","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=4333"},"modified":"2020-03-30T08:55:30","modified_gmt":"2020-03-30T01:55:30","slug":"huong-dan-fix-loi-404-tai-trang-con-doi-voi-wordpress","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/huong-dan-fix-loi-404-tai-trang-con-doi-voi-wordpress\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn Fix l\u1ed7i 404 t\u1ea1i trang con \u0111\u1ed1i v\u1edbi WordPress"},"content":{"rendered":"<div><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/gdhLOA1DEcI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<div class=\"line number1 index0 alt2\">Th\u01b0\u1eddng l\u1ed7i n\u00e0y li\u00ean quan \u0111\u1ebfn vi\u1ec7c c\u1ea5u h\u00ecnh \u0111i\u1ec1u h\u01b0\u1edbng url \u0111\u1ed1i v\u1edbi file .htaccess, c\u00f3 th\u1ec3 l\u00e0 b\u1ea1n thi\u1ebfu ho\u1eb7c c\u1ea5u h\u00ecnh sai.<\/div>\n<div>C\u00e1ch \u0111\u01a1n gi\u1ea3n nh\u1ea5t l\u00e0 b\u1ea1n truy c\u1eadp wp-admin sau \u0111\u00f3 t\u00ecm t\u1edbi ph\u1ea7n\u00a0\u00a0<strong>Settings \u00bb Permalinks<\/strong>,\u00a0 cu\u1ed1i c\u00f9ng b\u1ea1n nh\u1ea5n thay \u0111\u1ed5i.<\/div>\n<div>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-37284\" title=\"Update permalink settings\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/02\/updatepermalinks.png\" alt=\"Update permalink settings\" width=\"520\" height=\"367\" \/><\/p>\n<p>Vi\u1ec7c l\u00e0m tr\u00ean s\u1ebd c\u1eadp nh\u1eadt c\u00e0i \u0111\u1eb7t permalinks c\u1ee7a b\u1ea1n. Trong h\u1ea7u h\u1ebft c\u00e1c tr\u01b0\u1eddng h\u1ee3p, gi\u1ea3i ph\u00e1p n\u00e0y kh\u1eafc ph\u1ee5c l\u1ed7i 404 b\u00e0i vi\u1ebft WordPress. Tuy nhi\u00ean, n\u1ebfu n\u00f3 kh\u00f4ng ho\u1ea1t \u0111\u1ed9ng v\u1edbi b\u1ea1n, th\u00ec c\u00f3 l\u1ebd b\u1ea1n c\u1ea7n c\u1eadp nh\u1eadt t\u1ec7p .htaccess c\u1ee7a m\u00ecnh theo c\u00e1ch th\u1ee7 c\u00f4ng.<\/p>\n<\/div>\n<div>Tr\u00ean cPanel b\u1ea1n truy c\u1eadp\u00a0<strong>filemanger:<\/strong><\/div>\n<div><!-- copy and paste. Modify height and width if desired. --> <img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/03\/02.28.2020-14.54.png\" alt=\"\" title=\"\"><\/div>\n<div><\/div>\n<div>Sau \u0111\u00f3 t\u00ecm t\u1edbi th\u01b0 m\u1ee5c c\u1ee7a website:<\/div>\n<div><\/div>\n<div><!-- copy and paste. Modify height and width if desired. --> <img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/03\/02.28.2020-14.56.png\" alt=\"\" title=\"\"><\/div>\n<div><\/div>\n<div>B\u1ea1n b\u1eadt hi\u1ec3n th\u1ecb file \u1ea9n t\u1ea1i \u0111\u00e2y:<\/div>\n<div><\/div>\n<div><!-- copy and paste. Modify height and width if desired. --> <img decoding=\"async\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/03\/02.28.2020-14.54.png\" alt=\"\" title=\"\"><\/div>\n<div><\/div>\n<div>Ti\u1ebfp theo b\u1ea1n s\u1eeda file <strong>.htaccess<\/strong> ho\u1eb7c t\u1ea1o m\u1edbi file<strong> .htaccess<\/strong> v\u1edbi n\u1ed9i dung nh\u01b0 sau:<\/div>\n<div><\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\"># BEGIN WordPress\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteBase \/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/index.php [L]\r\n&lt;\/IfModule&gt;\r\n# END WordPress<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Cu\u1ed1i c\u00f9ng b\u1ea1n l\u01b0u l\u1ea1i file v\u00e0 ki\u1ec3m tra l\u1ea1i trang.<\/p>\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Th\u01b0\u1eddng l\u1ed7i n\u00e0y li\u00ean quan \u0111\u1ebfn vi\u1ec7c c\u1ea5u h\u00ecnh \u0111i\u1ec1u h\u01b0\u1edbng url \u0111\u1ed1i v\u1edbi file .htaccess, c\u00f3 th\u1ec3 l\u00e0 b\u1ea1n thi\u1ebfu ho\u1eb7c c\u1ea5u h\u00ecnh sai. C\u00e1ch \u0111\u01a1n gi\u1ea3n nh\u1ea5t l\u00e0 b\u1ea1n truy c\u1eadp wp-admin sau \u0111\u00f3 t\u00ecm t\u1edbi ph\u1ea7n\u00a0\u00a0Settings \u00bb Permalinks,\u00a0 cu\u1ed1i c\u00f9ng b\u1ea1n nh\u1ea5n thay \u0111\u1ed5i. Vi\u1ec7c l\u00e0m tr\u00ean s\u1ebd c\u1eadp nh\u1eadt c\u00e0i \u0111\u1eb7t [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":16424,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[5154],"class_list":["post-4333","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/4333","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=4333"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/4333\/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=4333"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=4333"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=4333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}