{"id":4380,"date":"2020-03-03T16:38:16","date_gmt":"2020-03-03T09:38:16","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=4380"},"modified":"2020-03-04T17:03:04","modified_gmt":"2020-03-04T10:03:04","slug":"huong-dan-fix-loi-website-wordpress-chuyen-huong-qua-nhieu-lan-error-too-many-redirects","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/huong-dan-fix-loi-website-wordpress-chuyen-huong-qua-nhieu-lan-error-too-many-redirects\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i website WordPress chuy\u1ec3n h\u01b0\u1edbng qu\u00e1 nhi\u1ec1u l\u1ea7n &#8211; Error Too Many Redirects"},"content":{"rendered":"<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/fLoRBX9ELcw\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br \/>\nVi\u1ec7c b\u1ea1n truy c\u1eadp kh\u00f4ng \u0111\u01b0\u1ee3c website v\u00e0 nh\u1eadn \u0111\u01b0\u1ee3c tin nh\u1eafn b\u00e1o website chuy\u1ec3n h\u01b0\u1edbng qu\u00e1 nhi\u1ec1u l\u1ea7n (\u00a0Too Many Redirects) . Th\u01b0\u1eddng nguy\u00ean nh\u00e2n v\u1ea5n \u0111\u1ec1 n\u00e0y do \u0111\u01b0\u1eddng d\u1eabn tr\u00ean url website l\u1ed7i ho\u1eb7c l\u00e0 b\u1ea1n c\u1ea5u h\u00ecnh chuy\u1ec3n h\u01b0\u1edbng sai tr\u00ean Hosting\/VPS .<\/p>\n<p>\u0110\u1ea7u ti\u00ean b\u1ea1n truy c\u1eadp\u00a0 filemanager ho\u1eb7c truy c\u1eadp folder ch\u1ee9a website v\u1edbi FTP\u00a0 v\u00e0 s\u1eeda file wp-config.php. B\u1ea1n th\u00eam d\u00f2ng sau \u1edf \u0111\u1ea7u file sau \u0111o\u1ea1n m\u1edf <strong>&lt;?php .<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define('WP_HOME','http:\/\/example.com');\r\ndefine('WP_SITEURL','http:\/\/example.com');<\/pre>\n<p>B\u1ea1n nh\u1edb thay example.com th\u00e0nh t\u00ean website c\u1ee7a b\u1ea1n, c\u0169ng nh\u01b0 n\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng www. th\u00ec b\u1ea1n th\u00eam v\u00e0o cho \u0111\u00fang \u0111\u1ecbnh d\u1ea1ng.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">define('WP_HOME','http:\/\/www.example.com'); \r\ndefine('WP_SITEURL','http:\/\/www.example.com');<\/pre>\n<p>B\u1ea1n truy c\u1eadp v\u00e0 hosting \/VPS xem m\u00ecnh c\u00f3 c\u1ea5u h\u00ecnh redirect hay kh\u00f4ng b\u1ea1n t\u1eaft \u0111i.Tr\u00e1nh \u0111\u1ec3 redirect t\u1eeb domain c\u1ee7a b\u1ea1n t\u1edbi ch\u00ednh domain \u0111\u00f3, \u0111i\u1ec1u n\u00e0y d\u1eabn t\u1edbi v\u00f2ng l\u1eb7p v\u00f4 h\u1ea1n.<\/p>\n<p>Tr\u00ean cPanel b\u1ea1n truy c\u1eadp qu\u1ea3n l\u00fd c\u1ea5u h\u00ecnh chuy\u1ec3n h\u01b0\u1edbng v\u1edbi c\u00f4ng c\u1ee5 nh\u01b0 h\u00ecnh \u1ea3nh sau:<\/p>\n<p><a href=\"https:\/\/www.screencast.com\/t\/fc1Cvmi0erRw\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/content.screencast.com\/users\/JohnGrayWorld\/folders\/Snagit\/media\/0714696e-a2a9-4f45-9889-a3eec93e0169\/03.03.2020-16.36.png?source=oembed\" alt=\"03.03.2020-16.36.46\" width=\"500\" height=\"173\" title=\"\"><\/a><\/p>\n<p>Sau khi ch\u1ec9nh s\u1eeda xong, b\u1ea1n truy c\u1eadp \u1ea9n danh ho\u1eb7c 4g v\u1edbi smartphone \u0111\u1ec3 tr\u00e1nh cache v\u00e0 ki\u1ec3m tra l\u1ea1i ..<\/p>\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vi\u1ec7c b\u1ea1n truy c\u1eadp kh\u00f4ng \u0111\u01b0\u1ee3c website v\u00e0 nh\u1eadn \u0111\u01b0\u1ee3c tin nh\u1eafn b\u00e1o website chuy\u1ec3n h\u01b0\u1edbng qu\u00e1 nhi\u1ec1u l\u1ea7n (\u00a0Too Many Redirects) . Th\u01b0\u1eddng nguy\u00ean nh\u00e2n v\u1ea5n \u0111\u1ec1 n\u00e0y do \u0111\u01b0\u1eddng d\u1eabn tr\u00ean url website l\u1ed7i ho\u1eb7c l\u00e0 b\u1ea1n c\u1ea5u h\u00ecnh chuy\u1ec3n h\u01b0\u1edbng sai tr\u00ean Hosting\/VPS . \u0110\u1ea7u ti\u00ean b\u1ea1n truy c\u1eadp\u00a0 filemanager ho\u1eb7c truy [&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-4380","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\/4380","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=4380"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/4380\/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=4380"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=4380"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=4380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}