{"id":2660,"date":"2020-11-14T11:34:23","date_gmt":"2020-11-14T04:34:23","guid":{"rendered":"https:\/\/danhgiawp.com\/?p=2660"},"modified":"2021-01-05T16:36:31","modified_gmt":"2021-01-05T09:36:31","slug":"tang-toc-wordpress","status":"publish","type":"post","link":"https:\/\/danhgiawp.com\/tang-toc-wordpress\/","title":{"rendered":"10+ k\u1ef9 thu\u1eadt t\u0103ng t\u1ed1c WordPress (Checklist 2020)"},"content":{"rendered":"\n
C\u00f4ng vi\u1ec7c t\u1ed1i \u01b0u v\u00e0 t\u0103ng t\u1ed1c WordPress<\/mark><\/strong> l\u00e0 v\u1ea5n \u0111\u1ec1 kh\u00f4ng nhi\u1ec1u b\u1ea1n quan t\u00e2m. M\u00ecnh lu\u00f4n t\u00ecm v\u00e0 th\u1eed \u0111\u1ec3 xem l\u00e0m th\u1ec3 n\u00e0o \u0111\u1ec3 site m\u1ea1nh m\u1ebd h\u01a1n, t\u1ea3i trang nhanh h\u01a1n.<\/p>\n\n\n\n \u0110\u00f3 l\u00e0 l\u00fd do b\u00e0i n\u00e0y xu\u1ea5t hi\u1ec7n trong blog c\u1ee7a m\u00ecnh.<\/p>\n\n\n\n C\u00f3 nhi\u1ec1u b\u00e0i vi\u1ebft n\u00f3i v\u1ec1 t\u1ed1c \u0111\u1ed9 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn qu\u00e1 tr\u00ecnh x\u1ebfp h\u1ea1ng trong c\u00f4ng c\u1ee5 t\u00ecm ki\u1ebfm Google.<\/p>\n\n\n\n V\u00ec v\u1eady b\u1ea1n n\u00ean c\u00e2n nh\u1eafc v\u1ec1 vi\u1ec7c t\u1ed1i \u01b0u v\u1ec1 t\u1ed1c \u0111\u1ed9 khi m\u00e0 site c\u1ee7a b\u1ea1n kh\u00f4ng th\u1eadt s\u1ef1 mang l\u1ea1i tr\u1ea3i nghi\u1ec7m, \u00edt nh\u1ea5t l\u00e0 cho ch\u00ednh b\u1ea1n.<\/p>\n\n\n\n M\u1edbi \u0111\u00e2y, Google x\u00e1c nh\u1eadn<\/a> r\u1eb1ng, c\u00e1c t\u00edn hi\u1ec7u v\u1ec1 tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng tr\u00ean trang web \u0111\u01b0\u1ee3c \u0111\u01b0a v\u00e0o ti\u00eau ch\u00ed x\u1ebfp h\u1ea1ng website v\u00e0o 5\/2021.<\/p>\n\n\n\n Ngh\u0129a l\u00e0 t\u0103ng t\u1ed1c \u0111\u1ed9 cho website ngay t\u1eeb b\u00e2y gi\u1edd \u0111\u01b0\u1ee3c \u01b0u ti\u00ean trong qu\u00e1 tr\u00ecnh x\u00e2y d\u1ef1ng v\u00e0 ph\u00e1t tri\u1ec3n website c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n Contents<\/p> CMS WordPress l\u00e0 m\u00e3 ngu\u1ed3n m\u1edf ph\u1ed5 bi\u1ebfn nh\u1ea5t hi\u1ec7n nay. Ban \u0111\u1ea7u n\u00f3 sinh ra \u0111\u1ec3 ph\u1ee5c v\u1ee5 cho blog th\u00f4i.<\/p>\n\n\n\n D\u1ea7n sau n\u00e0y ph\u00e1t tri\u1ec3n m\u1ea1nh m\u1ebd h\u01a1n v\u1edbi nhi\u1ec1u thi\u1ebft l\u1eadp gi\u00fap nh\u00e0 thi\u1ebft k\u1ebf c\u00f3 th\u1ec3 l\u00e0m cho m\u1ecdi website \u0111\u1ec1u \u0111\u01b0\u1ee3c.<\/p>\n\n\n\n C\u00f3 nhi\u1ec1u l\u00fd do b\u1ea1n ph\u1ea3i \u0111\u00e1nh \u0111\u1ed5i \u0111\u1ec3 c\u00f3 \u0111\u01b0\u1ee3c 1 trang web WordPress \u0111\u1eb9p, d\u1ec5 qu\u1ea3n l\u00fd \u0111\u00f3 l\u00e0 v\u1ec1 hi\u1ec7u su\u1ea5t.<\/p>\n\n\n\n Hi\u1ec7n nay v\u1edbi nhi\u1ec1u c\u00e1ch \u0111\u1ec3 c\u1ea5u h\u00ecnh kh\u00e1c nhau, WordPress c\u1ee7a b\u1ea1n c\u00f3 th\u1ec3 ch\u1ea1y ch\u1eadm n\u1ebfu kh\u00f4ng c\u00f3 c\u00e1ch thi\u1ebft l\u1eadp ph\u00f9 h\u1ee3p.<\/p>\n\n\n\n Trang web c\u1ee7a b\u1ea1n ch\u1ea1y ch\u1eadm \u0111\u1ed3ng ngh\u0129a v\u1edbi vi\u1ec7c b\u1ea1n s\u1ebd m\u1ea5t kh\u00e1ch h\u00e0ng v\u1ec1 tay \u0111\u1ed1i th\u1ee7, m\u1ea5t l\u01b0\u1ee3ng truy c\u1eadp SEO khi Google gi\u1ea3m x\u1ebfp h\u1ea1ng website c\u1ee7a b\u1ea1n xu\u1ed1ng.<\/p>\n\n\n\n B\u1ea1n h\u00e3y \u0111\u1eb7t m\u00ecnh v\u00e0o v\u1ecb tr\u00ed kh\u00e1ch h\u00e0ng, website c\u1ee7a b\u1ea1n ch\u1ea1y h\u01a1n 3 gi\u00e2y th\u00ec b\u1ea1n c\u00f2n \u0111\u1ee7 ki\u00ean nh\u1eabn \u0111\u1ec3 \u0111\u1ee3i th\u00eam 2 gi\u00e2y \u0111\u1ec3 n\u00f3 ho\u00e0n th\u00e0nh t\u1ea3i trang hay kh\u00f4ng.<\/p>\n\n\n\n M\u00ecnh ngh\u0129 b\u1ea1n s\u1ebd back v\u00e0 t\u00ecm 1 trang web kh\u00e1c \u0111\u1ec3 v\u00e0o.<\/p>\n\n\n\n C\u00e1 nh\u00e2n m\u00ecnh lu\u00f4n t\u1ed1i \u01b0u cho site nhanh nh\u1ea5t c\u00f3 th\u1ec3, d\u01b0\u1edbi 2 gi\u00e2y ho\u1eb7c th\u1eadm ch\u00ed d\u01b0\u1edbi 1 gi\u00e2y l\u00e0 c\u00e1ch t\u1ed1i \u01b0u t\u1ed1t nh\u1ea5t d\u00e0nh cho m\u1ecdi website WordPress hi\u1ec7n nay.<\/p>\n\n\n\n \u0110\u1eb7c bi\u1ec7t b\u1ea1n n\u00ean ch\u00fa \u00fd \u0111\u1ebfn hi\u1ec7u su\u1ea5t website cho di \u0111\u1ed9ng b\u1edfi Google x\u00e1c nh\u1eadn l\u00e0 h\u1ecd \u01b0u ti\u00ean x\u1ebfp h\u1ea1ng c\u00e1c website cho di \u0111\u1ed9ng nhi\u1ec1u h\u01a1n.<\/p>\n\n\n\n B\u00e2y gi\u1edd b\u1ea1n c\u1ea7n ki\u1ec3m tra hi\u1ec7u su\u1ea5t website c\u1ee7a b\u1ea1n nh\u01b0 th\u1ebf n\u00e0o r\u1ed3i. H\u00e3y ki\u1ec3m tra tr\u00ean nhi\u1ec1u c\u00f4ng c\u1ee5 kh\u00e1c nhau.<\/p>\n\n\n\n M\u00ecnh \u0111\u1ec1 xu\u1ea5t 3 c\u00f4ng c\u1ee5 n\u00e0y \u0111\u1ec3 b\u1ea1n ki\u1ec3m tra tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u: GTmetrix<\/a>, PageSpeed Insights<\/a>, Pingdom Website Speed Test<\/a>.<\/p>\n\n\n\n \u0110\u1ec3 qu\u00e1 tr\u00ecnh ki\u1ec3m tra ch\u00ednh x\u00e1c nh\u1ea5t, b\u1ea1n n\u00ean ki\u1ec3m tra 3 c\u00f4ng c\u1ee5 n\u00e0y v\u1edbi \u00edt nh\u1ea5t 3 l\u1ea7n th\u1eed nghi\u1ec7m nh\u00e9.<\/p>\n\n\n\n Ngo\u00e0i ra trong qu\u00e1 tr\u00ecnh thi\u1ebft l\u1eadp b\u1ea1n n\u00ean x\u00f3a cache website v\u00e0 \u0111\u1ee3i website c\u1ee7a b\u1ea1n t\u1ea1o cache xong ki\u1ec3m tra l\u1ea1i nh\u00e9.<\/p>\n\n\n\n M\u00ecnh \u00e1p d\u1ee5ng nh\u1eefng k\u1ef9 thu\u1eadt t\u0103ng t\u1ed1c WordPress cho ch\u00ednh site c\u1ee7a m\u00ecnh \u0111\u00f3 l\u00e0 danhgiawp.<\/p>\n\n\n\n Ngo\u00e0i ra, t\u1ea5t c\u1ea3 c\u00e1c site kh\u00e1c c\u0169ng \u0111\u01b0\u1ee3c t\u1ed1i \u01b0u t\u01b0\u01a1ng t\u1ef1 v\u00e0 hi\u1ec7u su\u1ea5t \u0111\u01b0\u1ee3c c\u1ea3i thi\u1ec7n r\u1ea5t \u0111\u00e1ng k\u1ec3.<\/p>\n\n\n\n T\u1eebng b\u01b0\u1edbc m\u00ecnh cho b\u1ea1n bi\u1ebft m\u00ecnh \u0111\u00e3 l\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 \u0111\u1ea1t \u0111\u01b0\u1ee3c hi\u1ec7u su\u1ea5t cao nh\u1ea5t. B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 tham kh\u1ea3o c\u00e1c c\u00e0i \u0111\u1eb7t c\u1ee7a m\u00ecnh \u0111\u1ec3 t\u1ed1i \u01b0u, \u0111\u1ec3 t\u0103ng t\u1ed1c WordPress c\u1ee7a b\u1ea1n ngay.<\/p>\n\n\n\n D\u01b0\u1edbi \u0111\u00e2y l\u00e0 to\u00e0n b\u1ed9 quy tr\u00ecnh t\u1ed1i \u01b0u v\u00e0 t\u0103ng t\u1ed1c WordPress c\u1ee7a m\u00ecnh:<\/p>\n\n\n\n Hosting \u1ea3nh h\u01b0\u1edfng tr\u1ef1c ti\u1ebfp \u0111\u1ebfn hi\u1ec7u su\u1ea5t c\u1ee7a website b\u1ea1n. N\u1ebfu nh\u01b0 kh\u00f4ng c\u00f3 s\u1ef1 l\u1ef1a ch\u1ecdn \u0111\u00fang th\u00ec t\u1ea5t y\u1ebfu, site c\u1ee7a b\u1ea1n ch\u1eafc ch\u1eafn s\u1ebd ch\u1eadm.<\/p>\n\n\n\n M\u00ecnh \u0111\u00e3 t\u1eebng d\u00f9ng r\u1ea5t nhi\u1ec1u share hosting r\u1ed3i, n\u01b0\u1edbc ngo\u00e0i c\u00f3, trong n\u01b0\u1edbc c\u00f3. M\u00ecnh c\u00f3 nh\u1eefng tr\u1ea3i nghi\u1ec7m v\u00e0 h\u00e0i l\u00f2ng v\u1edbi d\u1ecbch v\u1ee5.<\/p>\n\n\n\n Nh\u01b0ng v\u1ec1 sau, website m\u00ecnh b\u1ecb downtime nhi\u1ec1u, t\u1ea3i trang ch\u1eadm n\u00ean m\u00ecnh t\u00ecm ki\u1ebfm 1 hosting ch\u1ea5t l\u01b0\u1ee3ng h\u01a1n.<\/p>\n\n\n\n Nhi\u1ec1u b\u1ea1n m\u1edbi b\u1eaft \u0111\u1ea7u th\u01b0\u1eddng ch\u1ecdn share hosting v\u1edbi gi\u00e1 kh\u00e1 r\u1ebb, v\u00e0i ch\u1ee5c ng\u00e0n 1 th\u00e1ng. Ngh\u0129a l\u00e0 b\u1ea1n s\u1ebd d\u00f9ng hosting d\u00f9ng chung v\u1edbi nhi\u1ec1u website kh\u00e1c.<\/p>\n\n\n\n D\u00f9 hosting d\u00f9ng chung n\u00e0y c\u00f3 t\u00ean l\u00e0 KH\u00d4NG GI\u1edaI H\u1ea0N<\/strong> th\u00ec \u0111\u00f3 l\u00e0 l\u1eddi m\u1eddi ch\u00e0o qu\u1ea3ng c\u00e1o m\u00e0 th\u00f4i. V\u00ec v\u1eady share hosting \u0111\u1ed1i v\u1edbi m\u00ecnh l\u00e0 \u0111i\u1ec1u kh\u00f4ng m\u1ea5y th\u00edch th\u00fa l\u1eafm.<\/p>\n\n\n\n Th\u1eadt s\u1ef1 n\u1ebfu b\u1ea1n mong mu\u1ed1n site ph\u00e1t tri\u1ec3n th\u00ec nghi\u00eam t\u00fac 1 ch\u00fat b\u1ea1n n\u00ean t\u00ecm hosting t\u1ed1t h\u01a1n. M\u00ecnh \u01b0u ti\u00ean b\u1ea1n ch\u1ecdn Managed WordPress hosting<\/strong>, trong \u0111\u00f3 c\u00f3 Cloudways<\/a>.<\/p>\n\n\n\n Cloudways \u0111\u01b0\u1ee3c m\u00ecnh d\u00f9ng cho blog n\u00e0y, hi\u1ec7u su\u1ea5t \u0111\u01b0\u1ee3c c\u1ea3i thi\u1ec7n \u0111\u00e1ng k\u1ec3 t\u1eeb khi m\u00ecnh chuy\u1ec3n t\u1eeb share hosting qua.<\/p>\n\n\n\n Nh\u01b0 b\u1ea1n th\u1ea5y, site c\u1ee7a m\u00ecnh t\u1eeb l\u00fac d\u00f9ng share hosting kh\u00f4ng th\u1ec3 t\u1ed1i \u01b0u \u0111\u01b0\u1ee3c t\u1ed1c \u0111\u1ed9 nh\u01b0 b\u00e2y gi\u1edd.<\/p>\n\n\n\n N\u00f3i th\u00eam v\u1ec1 Cloudways 1 ch\u00fat, Cloudways s\u1eed d\u1ee5ng n\u1ec1n t\u1ea3ng cloud server c\u1ee7a Digital Ocean, Vultr, Linode, Amazon Web Services v\u00e0 Google Cloud Platform.<\/p>\n\n\n\n \u0110\u00e2y l\u00e0 cloud hosting \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd v\u00e0 t\u1ed1i \u01b0u b\u1edfi Cloudways \u0111\u01b0\u1ee3c r\u1ea5t nhi\u1ec1u kh\u00e1ch h\u00e0ng \u0111\u00e1nh gi\u00e1 cao \u0111\u1ec3 t\u0103ng t\u1ed1c website \u0111\u1ea1t hi\u1ec7u su\u1ea5t cao nh\u1ea5t.<\/p>\n\n\n\n B\u1ea1n c\u00f3 th\u1ec3 xem chi ti\u1ebft b\u00e0i \u0111\u00e1nh gi\u00e1 Cloudways<\/a> \u0111\u1ec3 t\u00ecm hi\u1ec3u th\u00eam.<\/p>\n\n\n\n Vi\u1ec7c s\u1eed d\u1ee5ng theme WordPress l\u00e0 v\u1ea5n \u0111\u1ec1 th\u1ee9 2 m\u00ecnh \u0111\u1eb7t ra khi nh\u1eafc \u0111\u1ebfn hi\u1ec7u su\u1ea5t c\u1ee7a website.<\/p>\n\n\n\n Theme \u0111\u01b0\u1ee3c x\u00e2y d\u1ef1ng nh\u1eb1m \u0111\u00e1p \u1ee9ng c\u00e1c y\u00eau c\u1ea7u v\u1ec1 ch\u1ee9c n\u0103ng cho website.<\/p>\n\n\n\n V\u00ec v\u1eady n\u1ebfu b\u1ea1n ch\u1ecdn 1 theme \u0111\u00e1p \u1ee9ng cho b\u1ea1n c\u00e1c y\u00eau c\u1ea7u \u0111\u00f3 m\u00e0 qu\u00ean \u0111i v\u1ea5n \u0111\u1ec1 hi\u1ec7u su\u1ea5t th\u00ec vi\u1ec7c site c\u1ee7a b\u1ea1n t\u1ea3i ch\u1eadm l\u00e0 \u0111i\u1ec1u kh\u00f4ng tr\u00e1nh kh\u1ecfi.<\/p>\n\n\n\n GeneratePress<\/a> l\u00e0 theme m\u00ecnh \u01b0u ti\u00ean h\u00e0ng \u0111\u1ea7u, m\u00ecnh d\u00f9ng cho \u0111\u1ee7 th\u1ec3 lo\u1ea1i site ch\u1ec9 v\u1edbi theme n\u00e0y. D\u00f9 b\u1ea1n l\u00e0m blog, site b\u00e1n h\u00e0ng th\u00ec GeneratePress \u0111\u1ec1u \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c c\u1ea3.<\/p>\n\n\n\n Th\u1eadm ch\u00ed m\u00ecnh chuy\u1ec3n theme t\u1eeb Thrive Themes sang d\u00f9ng GeneratePress m\u00ecnh \u0111\u00e3 gi\u1ea3m ngay g\u1ea7n 1 gi\u00e2y t\u1ea3i trang xu\u1ed1ng c\u00f2n kho\u1ea3ng 500ms m\u00e0 th\u00f4i.<\/p>\n\n\n\n \u0110\u00e2y l\u00e0 l\u1ea7n chuy\u1ec3n \u0111\u1ed5i theme t\u1ed1t nh\u1ea5t c\u1ee7a m\u00ecnh, h\u1ea1nh ph\u00fac kh\u00f4ng g\u00ec b\u1eb1ng khi test c\u00e1c c\u00f4ng c\u1ee5 hi\u1ec7u su\u1ea5t \u0111\u1ec1u cho k\u1ebft qu\u1ea3 \u0111\u00e1ng kinh ng\u1ea1c.<\/p>\n\n\n\n Xem chi ti\u1ebft b\u00e0i \u0111\u00e1nh gi\u00e1 GeneratePress<\/a> c\u1ee7a m\u00ecnh \u0111\u1ec3 c\u00f3 g\u00f3c nh\u00ecn to\u00e0n di\u1ec7n h\u01a1n v\u1ec1 theme ch\u1ea5t l\u01b0\u1ee3ng n\u00e0y.<\/p>\n\n\n\n CloudFlare<\/a> l\u00e0 d\u1ecbch v\u1ee5 CDN mi\u1ec5n ph\u00ed<\/mark><\/strong> m\u00ecnh \u0111ang s\u1eed d\u1ee5ng. N\u00f3 s\u1eed d\u1ee5ng l\u1edbp proxy trung gian c\u00f3 h\u1ed7 tr\u1ee3 CDN \u0111\u1ebfn domain. B\u1ea1n ch\u1ec9 c\u1ea7n b\u1eadt \u0111\u00e1m m\u00e2y m\u00e0u v\u00e0ng l\u00e0 d\u00f9ng \u0111\u01b0\u1ee3c r\u1ed3i.<\/p>\n\n\n\n Tuy nhi\u00ean, CloudFlare kh\u00e1c v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 CDN kh\u00e1c, n\u00f3 kh\u00f4ng c\u1ea7n vi\u1ebft l\u1ea1i CDN, URL site b\u1ea1n gi\u1eef nguy\u00ean.<\/p>\n\n\n\n M\u1ed9t v\u00e0i tips cho b\u1ea1n \u0111\u1ec3 t\u1ed1i \u01b0u plugin t\u1ed1i h\u01a1n:<\/strong><\/p>\n\n\n\n Plugin WordPress c\u0169ng l\u00e0 th\u1ee9 g\u00e2y ch\u1eadm trang web c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n \u0110i\u1ec1u c\u1ea7n l\u00e0m b\u00e2y gi\u1edd l\u00e0 h\u00e3y ki\u1ec3m tra l\u1ea1i to\u00e0n b\u1ed9 plugin xem c\u00e1i n\u00e0o th\u1eadt s\u1ef1 c\u1ea7n h\u00e3y gi\u1eef l\u1ea1i, c\u00f2n kh\u00f4ng c\u1ea7n th\u00ec h\u1ee7y k\u00edch ho\u1ea1t ho\u1eb7c th\u1eadm ch\u00ed x\u00f3a ch\u00fang ngay \u0111i \u0111\u1ec3 t\u0103ng t\u1ed1c site c\u1ee7a b\u1ea1n l\u00ean.<\/p>\n\n\n\n Xem x\u00e9t gi\u1eef hay h\u1ee7y k\u00edch ho\u1ea1t plugin theo 2 y\u00eau c\u1ea7u sau \u0111\u00e2y:<\/p>\n\n\n\n Tr\u01b0\u1edbc khi x\u00f3a c\u00e1c plugin tr\u00ean site, b\u1ea1n c\u1ea7n ng\u1eebng k\u00edch ho\u1ea1t tr\u01b0\u1edbc, sau \u0111\u00f3 xem site c\u00f3 l\u1ed7i g\u00ec kh\u00f4ng, n\u1ebfu kh\u00f4ng x\u00f3a lu\u00f4n plugin \u0111\u00f3.<\/p>\n\n\n\n Trong qu\u00e1 tr\u00ecnh t\u1ed1i \u01b0u h\u00f3a l\u1ea1i cho blog danhgiawp, m\u00ecnh \u0111\u00e3 xo\u00e1 g\u1ea7n 10 plugin r\u1ed3i. V\u00ed d\u1ee5 c\u00e1c plugin t\u1ea1o m\u1ee5c l\u1ee5c, plugin t\u1ea1o thanh th\u00f4ng b\u00e1o \u0111\u1ec1u b\u1ecb m\u00ecnh lo\u1ea1i b\u1ecf ngay.<\/p>\n\n\n\n D\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e1c plugin m\u00ecnh lo\u1ea1i b\u1ecf:<\/p>\n\n\n\n B\u1ea1n c\u00f3 th\u1ec3 xem th\u00eam c\u00e1c c\u00f4ng c\u1ee5<\/a> m\u00ecnh s\u1eed d\u1ee5ng cho blog.<\/p>\n\n\n\n Th\u1eadt thi\u1ebfu s\u00f3t n\u1ebfu nh\u01b0 b\u1ea1n ch\u1ec9 x\u00f3a plugin m\u00e0 kh\u00f4ng x\u00f3a ho\u00e0n to\u00e0n d\u1eef li\u1ec7u m\u00e0 plugin \u0111\u00f3 \u0111\u1ec3 l\u1ea1i. \u0110i\u1ec1u n\u00e0y l\u00e0m cho database c\u1ee7a b\u1ea1n ng\u00e0y m\u1ed9t ph\u00ecnh to ra.<\/p>\n\n\n\n M\u1ed9t plugin \u0111\u01b0\u1ee3c ph\u00e1t tri\u1ec3n b\u1edfi nh\u00e0 thi\u1ebft k\u1ebf c\u00f3 t\u00e2m th\u00ec c\u00f3 ch\u00ednh s\u00e1ch g\u1ee1 b\u1ecf ho\u00e0n to\u00e0n d\u1eef li\u1ec7u plugin ra kh\u1ecfi website c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n C\u00f2n m\u1ed9t v\u00e0i plugin sau khi b\u1ea1n x\u00f3a \u0111i th\u00ec v\u1eabn \u0111\u1ec3 l\u1ea1i d\u1eef li\u1ec7u trong database c\u1ee7a b\u1ea1n th\u00ec d\u00f9ng 2 c\u00e1ch b\u00ean d\u01b0\u1edbi:<\/p>\n\n\n\n Nh\u01b0ng tr\u01b0\u1edbc khi t\u00e1c \u0111\u1ed9ng \u0111\u1ebfn database, h\u00e3y sao l\u01b0u d\u1eef li\u1ec7u website c\u1ee7a b\u1ea1n b\u1eb1ng plugin UpdraftPlus<\/a>.<\/p>\n\n\n\n P\/s: Plugin Advanced Database Cleaner<\/a> l\u00e0 l\u1ef1a ch\u1ecdn thay th\u1ebf.<\/p>\n\n\n\n T\u1ed1i \u01b0u h\u00f3a database, disk l\u00e0 \u0111i\u1ec1u b\u1ea1n n\u00ean l\u00e0m th\u01b0\u1eddng xuy\u00ean, ngay c\u1ea3 khi b\u1ea1n \u0111\u01a1n thu\u1ea7n ch\u1ec9 vi\u1ebft b\u00e0i r\u1ed3i \u0111\u0103ng l\u00ean blog.<\/p>\n\n\n\n B\u1ea1n kh\u00f4ng thi\u1ebft l\u1eadp c\u00e1c c\u00e0i \u0111\u1eb7t \u0111\u00fang th\u00ec vi\u1ec7c b\u1ea1n \u0111\u1ec3 l\u1ea1i r\u00e1c tr\u00ean database, disk c\u1ee7a b\u1ea1n r\u1ea5t l\u00e0 nhi\u1ec1u theo th\u1eddi gian.<\/p>\n\n\n\n M\u00ecnh khuy\u00ean b\u1ea1n m\u1ed7i l\u1ea7n t\u00e1c \u0111\u1ed9ng \u0111\u1ebfn n\u00f3 h\u00e3y backup m\u1ed9t l\u1ea7n.<\/p>\n\n\n\n S\u1eed d\u1ee5ng plugin UpdraftPlus<\/a> \u0111\u1ec3 backup, n\u1ebfu b\u1ea1n c\u00f3 d\u00f9ng hosting Cloudways th\u00ec v\u00e0o trang qu\u1ea3n tr\u1ecb backup cho nhanh m\u00e0 kh\u00f4ng c\u1ea7n plugin.<\/p>\n\n\n\n Storage engine l\u00e0 thu\u1eadt ng\u1eef b\u1ea1n n\u00ean n\u1eafm b\u1eaft khi b\u1eaft \u0111\u1ea7u t\u1ed1i \u01b0u table database. B\u1ea1n n\u00ean ki\u1ec3m tra xem storage engine trong table database c\u1ee7a b\u1ea1n thu\u1ed9c lo\u1ea1i n\u00e0o \u0111\u1ec3 t\u1ed1i \u01b0u t\u1ed1t h\u01a1n.<\/p>\n\n\n\n Nhi\u1ec1u t\u00e0i li\u1ec7u c\u00f3 \u0111\u1ec1 c\u1eadp \u0111\u1ebfn MyISAM v\u00e0 InnoDB, trong \u0111\u00f3 InnoDB \u0111\u01b0\u1ee3c \u0111\u00e1nh gi\u00e1 cao h\u01a1n, nhanh h\u01a1n.<\/p>\n\n\n\n V\u00ec v\u1eady h\u00e3y chuy\u1ec3n ngay t\u1eeb MyISAM qua InnoDB n\u1ebfu xu\u1ea5t hi\u1ec7n MyISAM trong table.<\/p>\n\n\n\n Table \u0110a s\u1ed1 khi b\u1ea1n c\u00e0i v\u00e0o xong g\u1ee1 nh\u01b0ng v\u1eabn c\u00f2n ch\u1ee9a trong b\u1ea3ng n\u00e0y ch\u01b0a \u0111\u01b0\u1ee3c l\u00e0m s\u1ea1ch.<\/p>\n\n\n\n \u0110\u1ea7u ti\u00ean b\u1ea1n ki\u1ec3m tra xem d\u1eef li\u1ec7u autoload c\u00f3 plugin, theme n\u00e0o kh\u00f4ng s\u1eed d\u1ee5ng m\u00e0 n\u00f3 v\u1eabn autoload kh\u00f4ng. N\u1ebfu c\u00f3 b\u1ea1n c\u1ea7n x\u00f3a \u0111\u1ec3 t\u1ed1c \u0111\u1ed9 website kh\u00f4ng b\u1ecb ch\u1eadm.<\/p>\n\n\n\n S\u1eed d\u1ee5ng truy v\u1ea5n n\u00e0y trong phpMyadmin c\u1ee7a b\u1ea1n \u0111\u1ec3 ki\u1ec3m tra:<\/p>\n\n\n\n K\u1ebft qu\u1ea3 tr\u1ea3 v\u1ec1 autoload_size \u0111\u01b0\u1ee3c t\u00ednh theo byte, c\u1ee9 1024 byte = 1KB, 1024KB = 1M. N\u1ebfu k\u1ebft qu\u1ea3 tr\u1ea3 v\u1ec1 d\u01b0\u1edbi 1M th\u00ec n\u00f3 kh\u00f4ng l\u1edbn, tr\u00ean con s\u1ed1 n\u00e0y th\u00ec b\u1ea1n n\u00ean t\u1ed1i \u01b0u h\u00f3a n\u00f3.<\/p>\n\n\n\n Table B\u1ea1n d\u1ec5 d\u00e0ng truy v\u1ea5n v\u00e0 x\u00f3a n\u00f3 v\u1edbi 2 d\u00f2ng l\u1ec7nh n\u00e0y:<\/p>\n\n\n\n V\u1edbi WordPress, m\u1ed7i khi b\u1ea1n ch\u1ec9nh s\u1eeda th\u00ec n\u00f3 s\u1ebd t\u1ef1 \u0111\u1ed9ng l\u01b0u c\u00e1c b\u1ea3n s\u1eeda \u0111\u1ed5i b\u00e0i vi\u1ebft. Tuy n\u00f3 c\u00f3 \u00edch \u0111\u1ed1i v\u1edbi qu\u1ea3n tr\u1ecb vi\u00ean nh\u01b0ng m\u00ecnh cho r\u1eb1ng database c\u1ee7a b\u1ea1n s\u1ebd ng\u00e0y c\u00e0ng ph\u00ecnh to n\u1ebfu kh\u00f4ng d\u1ecdn d\u1eb9p n\u00f3 th\u01b0\u1eddng xuy\u00ean.<\/p>\n\n\n\n Vi\u1ec7c c\u1ee7a b\u1ea1n l\u00e0 d\u1ecdn d\u1eb9p n\u00f3 \u0111\u1ec1u \u0111\u1eb7n v\u00e0 gi\u1edbi h\u1ea1n b\u1ea3n s\u1eeda \u0111\u1ed5i v\u1eeba gi\u00fap b\u1ea1n t\u1ed1i \u01b0u v\u1eeba l\u01b0u gi\u1eef l\u1ea1i c\u00e1c b\u1ea3n s\u1eeda \u0111\u1ed5i n\u1ebfu c\u1ea7n.<\/p>\n\n\n\n M\u1ed9t s\u1ed1 plugin l\u00e0m \u0111\u01b0\u1ee3c vi\u1ec7c n\u00e0y \u0111\u00f3 l\u00e0 Perfmatters<\/a>, n\u00f3 c\u00f3 th\u1ec3 gi\u1edbi h\u1ea1n c\u00e1c b\u1ea3n ch\u1ec9nh s\u1eeda 0-30 b\u1ea3n. Ngo\u00e0i ra plugin mi\u1ec5n ph\u00ed WP-Optimize<\/a>.<\/p>\n\n\n\n X\u00f3a h\u00ecnh \u1ea3nh kh\u00f4ng s\u1eed d\u1ee5ng l\u00e0 c\u00e1ch \u0111\u1ec3 t\u1ed1i \u01b0u dung l\u01b0\u1ee3ng hosting c\u1ee7a b\u1ea1n. \u0110\u00e2y c\u0169ng l\u00e0 c\u00e1ch \u0111\u1ec3 b\u1ea1n qu\u1ea3n l\u00fd h\u00ecnh \u1ea3nh c\u1ee7a m\u00ecnh d\u1ec5 d\u00e0ng h\u01a1n.<\/p>\n\n\n\n Theo th\u1eddi gian, qua nhi\u1ec1u l\u1ea7n c\u1eadp nh\u1eadt l\u1ea1i n\u1ed9i dung h\u00ecnh \u1ea3nh c\u00f3 th\u1ec3 b\u1ecb thay th\u1ebf cho ph\u00f9 h\u1ee3p. N\u00ean c\u00e1c h\u00ecnh \u1ea3nh c\u0169 v\u1eabn c\u00f2n \u0111\u1ecdng l\u1ea1i trong hosting c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n \u0110\u1ec3 x\u00f3a h\u00ecnh \u1ea3nh c\u0169 kh\u00f4ng s\u1eed d\u1ee5ng, m\u00ecnh d\u00f9ng plugin Media Cleaner<\/a>. N\u00f3 c\u00f3 kh\u1ea3 n\u0103ng x\u00f3a s\u1ea1ch c\u00e1c h\u00ecnh \u1ea3nh kh\u00f4ng c\u00f3 trong b\u00e0i vi\u1ebft, k\u1ec3 c\u1ea3 c\u00e1c phi\u00ean b\u1ea3n thu nh\u1ecf c\u1ee7a h\u00ecnh \u1ea3nh.<\/p>\n\n\n\n C\u00e1c b\u1ea3n nh\u00e1p t\u1ef1 \u0111\u1ed9ng l\u01b0u, c\u00e1c comment spam, expired transients v\u00e0 nhi\u1ec1u lo\u1ea1i th\u00f9ng r\u00e1c b\u1ea1n c\u1ea7n l\u00e0m s\u1ea1ch ngay \u0111\u1ec3 t\u1ed1i \u01b0u database. Nh\u1eefng th\u1ee9 n\u00e0y c\u00f3 th\u1ec3 g\u00f3p ph\u1ea7n l\u00e0m to c\u01a1 s\u1edf d\u1eef li\u1ec7u WordPress.<\/p>\n\n\n\n M\u1ed9t l\u1ea7n n\u1eefa m\u00ecnh nh\u1eafc \u0111\u1ebfn 2 plugin Perfmatters v\u00e0 WP-Optimize<\/a>. B\u1ea1n c\u00f3 th\u1ec3 thi\u1ebft l\u1eadp t\u1ed1i \u01b0u h\u00f3a t\u1ef1 \u0111\u1ed9ng v\u1edbi l\u1ecbch tr\u00ecnh \u0111\u1eb7t s\u1eb5n theo ng\u00e0y, tu\u1ea7n ho\u1eb7c th\u00e1ng.<\/p>\n\n\n\n H\u00ecnh \u1ea3nh l\u00e0 th\u1ee9 g\u00e2y n\u1eb7ng website nh\u1ea5t, n\u1ebfu kh\u00f4ng t\u1ed1i \u01b0u b\u1ea1n s\u1ebd th\u1ea5y site n\u1eb7ng khi h\u00ecnh \u1ea3nh nhi\u1ec1u v\u00e0 dung l\u01b0\u1ee3ng l\u1edbn.<\/p>\n\n\n\n \u0110\u1ec3 t\u1ed1i \u01b0u b\u1ea1n c\u1ea7n n\u00e9n h\u00ecnh \u1ea3nh xu\u1ed1ng th\u1ea5p nh\u01b0ng v\u1eabn gi\u1eef \u0111\u01b0\u1ee3c ch\u1ea5t l\u01b0\u1ee3ng h\u00ecnh \u1ea3nh. \u0110\u00e2y l\u00e0 \u0111i\u1ec1u m\u00ecnh th\u01b0\u1eddng l\u00e0m m\u1ed7i khi \u0111\u0103ng b\u00e0i.<\/p>\n\n\n\n \u0110\u1ed1i v\u1edbi m\u00ecnh, plugin Imagify<\/a> l\u00e0 s\u1ef1 l\u1ef1a ch\u1ecdn tuy\u1ec7t v\u1eddi, ngo\u00e0i ra b\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn ShortPixel<\/a> c\u0169ng \u0111\u01b0\u1ee3c.<\/p>\n\n\n\n Hai plugin n\u00e0y n\u00e9n h\u00ecnh \u1ea3nh r\u1ea5t t\u1ed1t, ch\u1ea5t l\u01b0\u1ee3ng h\u00ecnh \u1ea3nh v\u1eabn gi\u1eef trong khi dung l\u01b0\u1ee3ng \u0111\u01b0\u1ee3c n\u00e9n nh\u1ecf l\u1ea1i.<\/p>\n\n\n\n B\u00ean c\u1ea1nh \u0111\u00f3, \u0111\u1ecbnh d\u1ea1ng \u0110\u1ecbnh d\u1ea1ng n\u00e0y \u0111\u01b0\u1ee3c Google ph\u00e1t tri\u1ec3n nh\u01b0ng tr\u00ean tr\u00ecnh duy\u1ec7t Safari ch\u01b0a h\u1ed7 tr\u1ee3. Nh\u01b0ng b\u1ea1n y\u00ean t\u00e2m, khi d\u00f9ng M\u1ed9t \u0111i\u1ec3m \u0111\u00e1ng ch\u00fa \u00fd v\u1ec1 M\u00ecnh c\u00f3 xem th\u1eed 1 h\u00ecnh \u1ea3nh Tin vui l\u00e0 Imagify c\u00f3 h\u1ed7 tr\u1ee3 b\u1ea1n chuy\u1ec3n sang H\u1ea7u nh\u01b0 khi nh\u1eafc \u0111\u1ebfn t\u0103ng t\u1ed1c WordPress th\u00ec ngh\u0129 ngay \u0111\u1ebfn plugin cache. Kho WordPress c\u00f3 r\u1ea5t nhi\u1ec1u plugin cache gi\u00fap b\u1ea1n t\u0103ng t\u1ed1c website r\u1ea5t nhi\u1ec1u. B\u1ea1n c\u00f3 th\u1ec3 t\u00ecm ki\u1ebfm v\u1edbi t\u1eeb kh\u00f3a cache tr\u00ean website WordPress th\u00ec c\u00f3 r\u1ea5t nhi\u1ec1u.<\/p>\n\n\n\n Tuy nhi\u00ean b\u1ea1n c\u00f3 d\u00f9ng hosting Cloudways th\u00ec m\u00ecnh khuy\u00ean b\u1ea1n c\u00e0i plugin Breeze<\/a>. \u0110\u00e2y l\u00e0 plugin mi\u1ec5n ph\u00ed \u0111\u01b0\u1ee3c Cloudways ph\u00e1t tri\u1ec3n n\u00ean t\u01b0\u01a1ng th\u00edch khi s\u1eed d\u1ee5ng c\u00f9ng hosting c\u1ee7a h\u1ecd.<\/p>\n\n\n\n Danhgiawp.com m\u00ecnh kh\u00f4ng d\u00f9ng plugin cache.<\/strong> Cache Varnish \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p t\u1ef1 \u0111\u1ed9ng \u1edf c\u1ea5p m\u00e1y ch\u1ee7 c\u1ee7a Cloudways, gi\u00fap t\u0103ng t\u1ed1c website nhanh h\u01a1n. V\u00ec v\u1eady m\u00ecnh m\u1edbi khuy\u00ean b\u1ea1n d\u00f9ng Cloudways \u0111\u1ec3 t\u0103ng t\u1ed1c website WordPress.<\/p>\n\n\n\nV\u00ec sao m\u00ecnh kh\u00f4ng th\u00edch website WordPress ch\u1eadm<\/span><\/h2>\n\n\n\n
T\u0103ng t\u1ed1c WordPress cho site danhgiawp<\/span><\/h2>\n\n\n\n
<\/figure>\n\n\n\n
1. Ch\u1ecdn hosting WordPress ch\u1ea5t l\u01b0\u1ee3ng cao<\/span><\/h2>\n\n\n\n
2. S\u1eed d\u1ee5ng theme WordPress nh\u1eb9<\/span><\/h2>\n\n\n\n
3. S\u1eed d\u1ee5ng CDN<\/span><\/h2>\n\n\n\n
4. T\u1ed1i \u01b0u plugin WordPress<\/span><\/h2>\n\n\n\n
H\u1ee7y k\u00edch ho\u1ea1t\/x\u00f3a plugin kh\u00f4ng c\u1ea7n thi\u1ebft<\/span><\/h3>\n\n\n\n
X\u00f3a ho\u00e0n to\u00e0n d\u1eef li\u1ec7u plugin<\/span><\/h3>\n\n\n\n
C\u1ea9n th\u1eadn, khi d\u00f9ng plugin n\u00e0y c\u00f3 th\u1ec3 khi\u1ebfn b\u1ea1n x\u00f3a nh\u1ea7m. M\u1ed9t l\u1ea7n n\u1eefa m\u00ecnh khuy\u00ean b\u1ea1n sao l\u01b0u Database tr\u01b0\u1edbc khi x\u00f3a.
Khi b\u1ea1n d\u00f9ng xong plugin WP-Optimize h\u00e3y t\u1eaft n\u00f3 \u0111i, khi n\u00e0o c\u1ea7n b\u1eadt l\u00ean d\u00f9ng ti\u1ebfp.<\/li><\/ul>\n\n\n\n5. T\u1ed1i \u01b0u database – disk<\/span><\/h2>\n\n\n\n
T\u1ed1i \u01b0u table database<\/span><\/h3>\n\n\n\n
T\u1ed1i \u01b0u b\u1ea3ng
wp_options<\/code><\/span><\/h3>\n\n\n\n
wp_options<\/code> l\u00e0 th\u1ee9 m\u00e0 m\u00ecnh th\u1ea5y c\u00f3 nhi\u1ec1u r\u00e1c nh\u1ea5t. C\u00e1c thi\u1ebft l\u1eadp theme, plugin \u0111\u1ec1u \u0111\u01b0\u1ee3c l\u01b0u trong \u0111\u00e2y.<\/p>\n\n\n\n
SELECT SUM(LENGTH(option_value)) as autoload_size FROM wp_options WHERE autoload='yes';<\/pre>\n\n\n\n
T\u1ed1i \u01b0u b\u1ea3ng
wp_postmeta<\/code><\/span><\/h3>\n\n\n\n
wp_postmeta<\/code> c\u0169ng l\u00e0 b\u1ea3ng m\u00e0 b\u1ea1n c\u1ea7n t\u1ed1i \u01b0u. Trong b\u1ea3ng n\u00e0y c\u00f3 h\u00e0ng tr\u0103m h\u00e0ng th\u1eadm ch\u00ed c\u1ea3 ng\u00e0n h\u00e0ng b\u1ea1n c\u1ea7n x\u00f3a b\u1ecf b\u1edbt khi m\u00e0 c\u00e1c plugin, c\u00e1c theme b\u1ea1n c\u00e0i m\u00e0 x\u00f3a b\u1ecf tr\u01b0\u1edbc \u0111\u00f3.<\/p>\n\n\n\n
SELECT * FROM
wp_postmeta<\/code> WHERE meta_key LIKE '%seo%';<\/pre>\n\n\n\n
DELETE FROM
wp_postmeta<\/code> WHERE meta_key LIKE '%seo%';<\/pre>\n\n\n\n
seo<\/code> b\u1eb1ng key t\u00ecm ki\u1ebfm b\u1ea1n c\u1ea7n<\/li>
wpw4<\/code> b\u1eb1ng ti\u1ec1n t\u1ed1i trong database c\u1ee7a b\u1ea1n ch\u1eb3ng h\u1ea1n
wp_<\/code><\/li>
B\u1ea3n s\u1eeda \u0111\u1ed5i b\u00e0i vi\u1ebft<\/span><\/h3>\n\n\n\n
X\u00f3a h\u00ecnh \u1ea3nh c\u0169 kh\u00f4ng s\u1eed d\u1ee5ng<\/span><\/h3>\n\n\n\n
X\u00f3a b\u1ea3n nh\u00e1p t\u1ef1 \u0111\u1ed9ng, comment spam, th\u00f9ng r\u00e1c<\/span><\/h3>\n\n\n\n
6. T\u1ed1i \u01b0u h\u00ecnh \u1ea3nh<\/span><\/h2>\n\n\n\n
.webp<\/code> l\u00e0 th\u1ee9 b\u1ea1n n\u00ean ch\u00fa \u00fd khi t\u1ed1i \u01b0u h\u00ecnh \u1ea3nh cho website.<\/p>\n\n\n\n
.webp<\/code>, Safari s\u1ebd load v\u1edbi \u0111\u1ecbnh d\u1ea1ng m\u1eb7c \u0111\u1ecbnh m\u00e0 h\u00ecnh \u1ea3nh c\u00f3. C\u00f2n tr\u00ecnh duy\u1ec7t n\u00e0o h\u1ed7 tr\u1ee3 th\u00ec s\u1ebd t\u1ef1 \u0111\u1ed9ng th\u00eam v\u00e0o.<\/p>\n\n\n\n
.webp<\/code> \u0111\u00f3 l\u00e0 k\u00edch th\u01b0\u1edfng \u1ea3nh s\u1ebd gi\u1ea3m \u0111i \u0111\u00e1ng k\u1ec3.<\/p>\n\n\n\n
.jpg<\/code> v\u1edbi dung l\u01b0\u1ee3ng 53kb, trong khi
.webp<\/code> ch\u1ec9 c\u00f3 13kb. Dung l\u01b0\u1ee3ng \u1ea3nh \u0111\u01b0\u1ee3c gi\u1ea3m 75.5%<\/strong><\/mark>, \u0111\u00e2y l\u00e0 m\u1ee9c t\u1ed1i \u01b0u r\u1ea5t t\u1ed1t.<\/p>\n\n\n\n
.webp<\/code> m\u1ed9t c\u00e1ch d\u1ec5 d\u00e0ng.<\/p>\n\n\n\n
7. S\u1eed d\u1ee5ng plugin cache<\/span><\/h2>\n\n\n\n