<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress - Hướng dẫn TENTEN</title>
	<atom:link href="https://help.tenten.vn/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.tenten.vn/category/wordpress/</link>
	<description>Tài liệu hỗ trợ khách hàng</description>
	<lastBuildDate>Mon, 20 Oct 2025 08:16:15 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://help.tenten.vn/wp-content/uploads/2023/09/favicontenten.png</url>
	<title>WordPress - Hướng dẫn TENTEN</title>
	<link>https://help.tenten.vn/category/wordpress/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hướng dẫn khắc phục lỗi Redis Object Cache không kết nối trong WordPress</title>
		<link>https://help.tenten.vn/huong-dan-khac-phuc-loi-redis-object-cache-khong-ket-noi-trong-wordpress/</link>
		
		<dc:creator><![CDATA[Hoàng Việt]]></dc:creator>
		<pubDate>Mon, 20 Oct 2025 08:13:24 +0000</pubDate>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Gen Hosting]]></category>
		<category><![CDATA[Kiến thức chung]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SecureWeb]]></category>
		<category><![CDATA[Seolover]]></category>
		<category><![CDATA[SSD Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hosting]]></category>
		<category><![CDATA[#Tenten]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[redis]]></category>
		<category><![CDATA[tăng tốc website]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=14433</guid>

					<description><![CDATA[<p>1. Giới thiệu Redis Object Cache là plugin phổ biến giúp tăng tốc độ WordPress bằng cách lưu trữ dữ liệu tạm trong bộ nhớ RAM, giảm tải cho MySQL và tăng tốc độ phản hồi của website.Tuy nhiên, nhiều người dùng gặp tình trạng plugin hiển thị lỗi: Redis is unreachable: Connection refused [tcp://127.0.0.1:6379]hoặc &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-khac-phuc-loi-redis-object-cache-khong-ket-noi-trong-wordpress/">Hướng dẫn khắc phục lỗi Redis Object Cache không kết nối trong WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 data-start="463" data-end="483">1. <strong data-start="469" data-end="483">Giới thiệu</strong></h2>
<p data-start="485" data-end="719">Redis Object Cache là plugin phổ biến giúp tăng tốc độ WordPress bằng cách lưu trữ dữ liệu tạm trong bộ nhớ RAM, giảm tải cho MySQL và tăng tốc độ phản hồi của website.<br data-start="653" data-end="656" />Tuy nhiên, nhiều người dùng gặp tình trạng plugin hiển thị lỗi:</p>
<blockquote data-start="721" data-end="844">
<ul>
<li data-start="723" data-end="844"><em data-start="725" data-end="790">Redis is unreachable: Connection refused [tcp://127.0.0.1:6379]</em><br data-start="790" data-end="793" />hoặc</li>
<li data-start="723" data-end="844"><em data-start="806" data-end="844">Redis is not enabled / not reachable</em></li>
</ul>
</blockquote>
<p data-start="846" data-end="879">mặc dù đã bật Redis trên hosting.</p>
<p data-start="881" data-end="1066">Bài viết này hướng dẫn chi tiết cách kiểm tra và cấu hình lại để Redis hoạt động ổn định <strong data-start="970" data-end="995">trên mọi loại hosting</strong>, bao gồm: <strong data-start="1006" data-end="1066">DirectAdmin, cPanel, Kusanagi, GenHosting,v.v.</strong></p>
<p data-start="881" data-end="1066"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14440" src="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_1.png" alt="" width="433" height="216" srcset="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_1.png 433w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_1-300x150.png 300w" sizes="auto, (max-width: 433px) 100vw, 433px" /></p>
<h2 data-start="1073" data-end="1105">2. <strong data-start="1079" data-end="1105">Nguyên nhân thường gặp</strong></h2>
<ol data-start="1107" data-end="1735">
<li data-start="1107" data-end="1360">
<p data-start="1110" data-end="1158"><strong data-start="1110" data-end="1156">Sai cấu hình kết nối Redis trong WordPress</strong></p>
<ul data-start="1162" data-end="1360">
<li data-start="1162" data-end="1285">
<p data-start="1164" data-end="1285">Plugin mặc định kết nối qua TCP (<code data-start="1197" data-end="1213">127.0.0.1:6379</code>), trong khi hosting lại cấu hình Redis qua <strong data-start="1257" data-end="1272">socket file</strong> (<code data-start="1274" data-end="1281">.sock</code>).</p>
</li>
<li data-start="1289" data-end="1360">
<p data-start="1291" data-end="1360">Điều này khiến WordPress không tìm thấy Redis dù server vẫn đang bật.</p>
</li>
</ul>
</li>
<li data-start="1362" data-end="1534">
<p data-start="1365" data-end="1405"><strong data-start="1365" data-end="1403">Chưa bật Redis Extension trong PHP</strong></p>
<ul data-start="1409" data-end="1534">
<li data-start="1409" data-end="1534">
<p data-start="1411" data-end="1534">Nếu module <code data-start="1422" data-end="1429">redis</code> chưa được bật trong <code data-start="1450" data-end="1470">Select PHP Version</code> (hoặc <code data-start="1477" data-end="1486">php.ini</code>), plugin sẽ không thể giao tiếp được với Redis.</p>
</li>
</ul>
</li>
<li data-start="1536" data-end="1735">
<p data-start="1539" data-end="1606"><strong data-start="1539" data-end="1604">Redis chạy nhưng chưa cấp quyền socket hoặc database ID trùng</strong></p>
<ul data-start="1610" data-end="1735">
<li data-start="1610" data-end="1735">
<p data-start="1612" data-end="1735">Một số hệ thống chia Redis instance riêng cho từng user, cần chỉ định đúng socket path và database riêng để tránh xung đột.</p>
</li>
</ul>
</li>
</ol>
<h2 data-start="1742" data-end="1778">3. <strong data-start="1748" data-end="1778">Cách kiểm tra và khắc phục</strong></h2>
<h3 data-start="1780" data-end="1836">&#x1f539; <strong data-start="1787" data-end="1836">Bước 1: Kiểm tra Redis có hoạt động hay không</strong></h3>
<ul>
<li data-start="1838" data-end="1889">
<p data-start="1840" data-end="1889">Đăng nhập <strong data-start="1850" data-end="1887">hosting (DirectAdmin hoặc cPanel)</strong></p>
</li>
<li data-start="1890" data-end="1939">
<p data-start="1892" data-end="1939">Tìm mục <strong data-start="1900" data-end="1909">Redis</strong> hoặc <strong data-start="1915" data-end="1937">Server Information</strong></p>
</li>
<li data-start="1942" data-end="2109">Nếu có hiển thị trạng thái:<br data-start="1969" data-end="1972" /><em data-start="1976" data-end="2008">-This account has Redis enabled</em> → Redis đang bật.<br data-start="2026" data-end="2029" /><em data-start="2033" data-end="2049">-Redis disabled</em> → Liên hệ kỹ thuật TenTen để kích hoạt Redis cho tài khoản.</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14439" src="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_2.png" alt="" width="887" height="344" srcset="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_2.png 887w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_2-300x116.png 300w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_2-768x298.png 768w" sizes="auto, (max-width: 887px) 100vw, 887px" /></p>
<h3 data-start="2116" data-end="2161">&#x1f539; <strong data-start="2123" data-end="2161">Bước 2: Mở file cấu hình WordPress</strong></h3>
<ol data-start="2163" data-end="2314">
<li data-start="2163" data-end="2208">
<p data-start="2166" data-end="2208">Đăng nhập <strong data-start="2176" data-end="2192">File Manager</strong> trên hosting.</p>
</li>
<li data-start="2209" data-end="2268">
<p data-start="2212" data-end="2238">Vào thư mục gốc website: <code class="whitespace-pre!">public_html/</code></p>
</li>
<li data-start="2269" data-end="2314">
<p data-start="2272" data-end="2314">Tìm và <strong data-start="2279" data-end="2313">chỉnh sửa file <code data-start="2296" data-end="2311">wp-config.php</code></strong>.</p>
</li>
</ol>
<h3 data-start="2321" data-end="2380">&#x1f539; <strong data-start="2328" data-end="2380">Bước 3: Sửa cấu hình Redis trong <code data-start="2363" data-end="2378">wp-config.php</code></strong></h3>
<p data-start="2382" data-end="2482"><strong data-start="2382" data-end="2482">Trường hợp 1 – Hosting dùng socket Redis (phổ biến nhất trên DirectAdmin, Kusanagi, GenHosting)</strong></p>
<blockquote>
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"><code class="whitespace-pre! language-php"><span class="hljs-comment">/* Redis configuration via UNIX socket */</span><br />
</code></div>
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_SCHEME'</span>, <span class="hljs-string">'unix'</span> );</code></div>
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_PATH'</span>, <span class="hljs-string">'/home/username/.redis/redis.sock'</span> );</code></div>
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_DATABASE'</span>, <span class="hljs-number">0</span> );</code></div>
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_CACHE'</span>, <span class="hljs-literal">true</span> );</code></div>
</blockquote>
<p data-start="2701" data-end="2710">&#x1f538; Lưu ý:</p>
<ul data-start="2713" data-end="2933">
<li data-start="2713" data-end="2786">
<p data-start="2715" data-end="2786">Thay <code data-start="2720" data-end="2730">username</code> bằng tên user của hosting (xem trong đường dẫn home).</p>
</li>
<li data-start="2789" data-end="2933">
<p data-start="2791" data-end="2827">Xóa hoặc comment các dòng cũ nếu có:</p>
<p data-start="2791" data-end="2827"><code class="whitespace-pre! language-php"><span class="hljs-comment">// define( 'WP_REDIS_HOST', '127.0.0.1' );<br />
</span></code><code class="whitespace-pre! language-php"><span class="hljs-comment">// define( 'WP_REDIS_PORT', 6379 );</span></code></li>
</ul>
<p data-start="2940" data-end="3030"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14438" src="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_3.png" alt="" width="664" height="491" srcset="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_3.png 664w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_3-300x222.png 300w" sizes="auto, (max-width: 664px) 100vw, 664px" /></p>
<p data-start="2940" data-end="3030"><strong data-start="2940" data-end="3030">Trường hợp 2 – Hosting cho phép kết nối TCP (như cPanel, Cloud VPS, Kusanagi tự quản):</strong></p>
<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary">
<blockquote>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_HOST'</span>, <span class="hljs-string">'127.0.0.1'</span> );</code></div>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_PORT'</span>, <span class="hljs-number">6379</span> );</code></div>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_REDIS_DATABASE'</span>, <span class="hljs-number">0</span> );</code></div>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-php"><span class="hljs-title function_ invoke__">define</span>( <span class="hljs-string">'WP_CACHE'</span>, <span class="hljs-literal">true</span> );<br />
</code></div>
</blockquote>
</div>
<p data-start="3180" data-end="3273">Nếu Redis cài trên server khác, thay <code data-start="3217" data-end="3228">127.0.0.1</code> bằng IP của Redis Server (ví dụ <code data-start="3261" data-end="3271">10.0.1.5</code>).</p>
<h3 data-start="3280" data-end="3338"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14437" src="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_4.png" alt="" width="621" height="478" srcset="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_4.png 621w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_4-300x231.png 300w" sizes="auto, (max-width: 621px) 100vw, 621px" /></h3>
<h3 data-start="3280" data-end="3338">&#x1f539; <strong data-start="3287" data-end="3338">Bước 4: Kích hoạt lại plugin Redis Object Cache</strong></h3>
<ul data-start="3340" data-end="3522">
<li data-start="3340" data-end="3404">
<p data-start="3342" data-end="3404">Đăng nhập <strong data-start="3352" data-end="3402">WordPress Admin → Cài đặt → Redis Object Cache</strong></p>
</li>
<li data-start="3405" data-end="3473">
<p data-start="3407" data-end="3473">Nếu trước đó đang bật, chọn <strong data-start="3435" data-end="3446">Disable</strong> → <strong data-start="3449" data-end="3459">Enable</strong> để làm mới.</p>
</li>
<li data-start="3474" data-end="3522">
<p data-start="3476" data-end="3522">Khi kết nối thành công, giao diện sẽ hiển thị:</p>
</li>
</ul>
<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary">
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre!"><span class="hljs-section">Status: Connected  </span><br />
<span class="hljs-section">Filesystem: Writeable  </span><br />
<span class="hljs-section">Redis: Reachable</span><br />
</code></div>
</div>
<h2 data-start="3599" data-end="3645"><strong data-start="3605" data-end="3645">4. Các lỗi phổ biến và cách xử lý nhanh</strong></h2>
<div class="_tableContainer_1rjym_1">
<div class="group _tableWrapper_1rjym_13 flex w-fit flex-col-reverse" tabindex="-1">
<table class="w-fit min-w-(--thread-content-width)" data-start="3647" data-end="4283">
<thead data-start="3647" data-end="3691">
<tr data-start="3647" data-end="3691">
<th data-start="3647" data-end="3663" data-col-size="md">Thông báo lỗi</th>
<th data-start="3663" data-end="3677" data-col-size="sm">Nguyên nhân</th>
<th data-start="3677" data-end="3691" data-col-size="md">Cách xử lý</th>
</tr>
</thead>
<tbody data-start="3739" data-end="4283">
<tr data-start="3739" data-end="3879">
<td data-start="3739" data-end="3787" data-col-size="md"><code data-start="3741" data-end="3786">Redis is unreachable [tcp://127.0.0.1:6379]</code></td>
<td data-col-size="sm" data-start="3787" data-end="3830">Redis chỉ chạy qua socket, không qua TCP</td>
<td data-col-size="md" data-start="3830" data-end="3879">Chuyển cấu hình sang <code data-start="3853" data-end="3877">WP_REDIS_SCHEME = unix</code></td>
</tr>
<tr data-start="3880" data-end="3988">
<td data-start="3880" data-end="3910" data-col-size="md"><code data-start="3882" data-end="3909">Redis extension not found</code></td>
<td data-col-size="sm" data-start="3910" data-end="3938">PHP chưa bật module redis</td>
<td data-col-size="md" data-start="3938" data-end="3988">Vào <strong data-start="3944" data-end="3986">Select PHP Version → tick redis → Save</strong></td>
</tr>
<tr data-start="3989" data-end="4096">
<td data-start="3989" data-end="4025" data-col-size="md"><code data-start="3991" data-end="4024">Permission denied on redis.sock</code></td>
<td data-col-size="sm" data-start="4025" data-end="4060">File socket không cấp quyền user</td>
<td data-col-size="md" data-start="4060" data-end="4096">Kiểm tra permission quyền của file</td>
</tr>
<tr data-start="4097" data-end="4188">
<td data-start="4097" data-end="4126" data-col-size="md"><code data-start="4099" data-end="4125">Object cache not enabled</code></td>
<td data-col-size="sm" data-start="4126" data-end="4156">Chưa bật cache trong plugin</td>
<td data-col-size="md" data-start="4156" data-end="4188">Nhấn <strong data-start="4163" data-end="4186">Enable Object Cache</strong></td>
</tr>
<tr data-start="4189" data-end="4283">
<td data-start="4189" data-end="4214" data-col-size="md"><code data-start="4191" data-end="4213">Too many connections</code></td>
<td data-col-size="sm" data-start="4214" data-end="4239">Redis giới hạn kết nối</td>
<td data-col-size="md" data-start="4239" data-end="4283">reset Redis instance</td>
</tr>
</tbody>
</table>
</div>
</div>
<h2 data-start="4290" data-end="4325">5. <strong data-start="4296" data-end="4325">Kết quả sau khi khắc phục</strong></h2>
<ul>
<li data-start="4327" data-end="4467"> Redis kết nối thành công (trạng thái Reachable)</li>
<li data-start="4327" data-end="4467"> Plugin hoạt động ổn định</li>
<li data-start="4327" data-end="4467"> Website tải nhanh hơn, giảm thời gian truy vấn database</li>
</ul>
<p data-start="4327" data-end="4467"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14436" src="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_5.png" alt="" width="549" height="298" srcset="https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_5.png 549w, https://help.tenten.vn/wp-content/uploads/2025/10/Screenshot_5-300x163.png 300w" sizes="auto, (max-width: 549px) 100vw, 549px" /></p>
<h2 data-start="4474" data-end="4492">6. <strong data-start="4480" data-end="4492">Tổng kết</strong></h2>
<ul data-start="4494" data-end="4869">
<li data-start="4494" data-end="4603">
<p data-start="4496" data-end="4603">Redis là công cụ cache mạnh mẽ giúp tối ưu WordPress, nhưng cần cấu hình đúng cách tùy theo loại hosting.</p>
</li>
<li data-start="4604" data-end="4712">
<p data-start="4606" data-end="4712">Nếu bạn sử dụng hosting tại <a href="https://tenten.vn/vi"><strong data-start="4634" data-end="4647">TenTen.vn</strong></a>, Redis luôn được cài sẵn và hỗ trợ kết nối qua socket an toàn.</p>
</li>
<li data-start="4713" data-end="4869">
<p data-start="4715" data-end="4869">Trong mọi trường hợp, nếu plugin Redis Object Cache vẫn không hoạt động, bạn có thể liên hệ <strong data-start="4807" data-end="4835">Phòng Kỹ thuật TenTen.vn</strong> ( Hỗ trợ kỹ thuật (24/7): <strong>(024) 73 020 555</strong> &#8211; <strong>kythuat@tenten.vn</strong> )để được hỗ trợ cấu hình chi tiết.</p>
</li>
</ul>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-khac-phuc-loi-redis-object-cache-khong-ket-noi-trong-wordpress/">Hướng dẫn khắc phục lỗi Redis Object Cache không kết nối trong WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Tăng tốc WordPress tự động với AccelerateWP trên Hosting WordPress</title>
		<link>https://help.tenten.vn/tang-toc-wordpress-tu-dong-voi-acceleratewp-tren-hosting-wordpress/</link>
		
		<dc:creator><![CDATA[Đỗ Danh Chiến]]></dc:creator>
		<pubDate>Mon, 07 Oct 2024 08:08:43 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hosting]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=14167</guid>

					<description><![CDATA[<p>AccelerateWP là gì? AccelerateWP là một tính năng được CloudLinux thêm vào ở phiên bản CloudLinuxOS Solo, CloudLinux OS Admin và CloudLinux OS Shared Pro . Tính năng này được tích hợp vào bảng điều khiển của hosting giúp người dùng có thể nhanh chóng tối ưu website WordPress của mình thông qua việc thiết &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/tang-toc-wordpress-tu-dong-voi-acceleratewp-tren-hosting-wordpress/">Tăng tốc WordPress tự động với AccelerateWP trên Hosting WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading"><span id="content-AccelerateWP-la-gi" class="penci-toc-section">AccelerateWP là gì?</span></h2>
<p><em><a href="https://www.cloudlinux.com/acceleratewp/" target="_blank" rel="noreferrer noopener nofollow">AccelerateWP</a></em> là một tính năng được CloudLinux thêm vào ở phiên bản CloudLinuxOS Solo, CloudLinux OS Admin và CloudLinux OS Shared Pro . Tính năng này được tích hợp vào bảng điều khiển của hosting giúp người dùng có thể nhanh chóng tối ưu website WordPress của mình thông qua việc thiết lập các kỹ thuật bộ nhớ đệm (cache) chỉ với vài cú click đơn giản.<img loading="lazy" decoding="async" class="alignnone size-full wp-image-14168" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600.png" alt="" width="1846" height="523" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600.png 1846w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600-300x85.png 300w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600-1024x290.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600-768x218.png 768w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-144600-1536x435.png 1536w" sizes="auto, (max-width: 1846px) 100vw, 1846px" /></p>
<p>Sau khi kích hoạt, nó sẽ tự động cài vào website WordPress một plugin tối ưu mang tên AccelerateWP và kích hoạt sử dụng. Plugin này sẽ không thể cài đặt theo cách thông thường mà chỉ có thể cài đặt thông qua tài khoản hosting được tích hợp tính năng này.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14174" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_4-1.png" alt="" width="1471" height="921" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_4-1.png 1471w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_4-1-300x188.png 300w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_4-1-1024x641.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_4-1-768x481.png 768w" sizes="auto, (max-width: 1471px) 100vw, 1471px" /></p>
<h2 class="wp-block-heading"><span id="content-Huong-dan-kich-hoat-AccelerateWP" class="penci-toc-section">Hướng dẫn kích hoạt AccelerateWP</span></h2>
<p>Trước khi sử dụng AccelerateWP, bạn cần lưu ý rằng nó chỉ hoạt động với một số điều kiện sau:</p>
<ul class="wp-block-list">
<li>Website đang không sử dụng bất kỳ plugin cache nào.</li>
<li>Bạn nên tắt tính năng AZ Redis trên hosting nếu có kích hoạt.</li>
<li>AccelerateWP không hỗ trợ WordPress Multisite.</li>
<li>Website bạn đang hoạt động và có thể truy cập được</li>
</ul>
<h3 class="wp-block-heading"><span id="content-Kich-hoat-AccelerateWP-mien-phi" class="penci-toc-section">Kích hoạt AccelerateWP miễn phí</span></h3>
<p>Để kích hoạt tính năng AccelerateWP miễn phí, bạn truy cập vào giao diện DirectAdmin của gói host và tìm tính năng AccelerateWP.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14169" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_1.png" alt="" width="1440" height="904" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_1.png 1440w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_1-300x188.png 300w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_1-1024x643.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_1-768x482.png 768w" sizes="auto, (max-width: 1440px) 100vw, 1440px" /></p>
<p>Sau đó nhấp nút thiết lập và bật tuỳ chọn AccelerateWP lên.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14170" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2.png" alt="" width="1791" height="572" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2.png 1791w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2-300x96.png 300w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2-1024x327.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2-768x245.png 768w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_2-1536x491.png 1536w" sizes="auto, (max-width: 1791px) 100vw, 1791px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14172" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_3.png" alt="" width="763" height="414" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_3.png 763w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot_3-300x163.png 300w" sizes="auto, (max-width: 763px) 100vw, 763px" /></p>
<p>Sau khi bật xong, bạn truy cập vào trang admin của website WordPress sẽ thấy thêm tính năng AccelerateWP tại mục Settings, bây giờ bạn có thể để nguyên để sử dụng bình thường mà không cần thiết lập gì thêm.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-14171" src="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936.png" alt="" width="1636" height="851" srcset="https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936.png 1636w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936-300x156.png 300w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936-1024x533.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936-768x399.png 768w, https://help.tenten.vn/wp-content/uploads/2024/10/Screenshot-2024-10-07-145936-1536x799.png 1536w" sizes="auto, (max-width: 1636px) 100vw, 1636px" /></p>
<p>Để kiểm tra website bạn đã truy cập nhanh hơn chưa, bạn có thể mở trình duyệt khác hoặc đăng xuất khỏi website và thử truy cập vào trang chủ website của mình nhé.</p>
<h2 class="wp-block-heading"><span id="content-Loi-ket" class="penci-toc-section">Lời kết</span></h2>
<p>Có thể thấy, việc tích hợp tính năng AccelerateWP vào hosting sẽ giúp người sử dụng website WordPress thuận tiện hơn trong việc tối ưu tốc độ website của mình giúp website trở nên chịu tải và tối ưu tốt hơn.</p>
<p>Chúc các bạn thao tác thành công !</p>
<div id="eJOY__extension_root" class="eJOY__extension_root_class" style="all: unset;"></div>
<p>Bài viết <a href="https://help.tenten.vn/tang-toc-wordpress-tu-dong-voi-acceleratewp-tren-hosting-wordpress/">Tăng tốc WordPress tự động với AccelerateWP trên Hosting WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hướng dẫn thay đổi phiên bản PHP trên DirectAdmin</title>
		<link>https://help.tenten.vn/huong-dan-thay-doi-phien-ban-php-tren-directadmin/</link>
		
		<dc:creator><![CDATA[Bùi Trung Dũng]]></dc:creator>
		<pubDate>Mon, 01 Apr 2024 01:10:07 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hosting]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13842</guid>

					<description><![CDATA[<p>Bài viết này Tenten sẽ hướng dẫn các bạn cách thực hiện thay đổi phiên bản PHP đang sử dụng trên DirectAdmin. Thay đổi phiên bản PHP Đăng nhập vào DirectAdmin sau đó chọn bên trong Extra Features chọn Select PHP version trong DirectAdmin. Để thay đổi phiên bản PHP,  hãy chọn phiên bản PHP &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-thay-doi-phien-ban-php-tren-directadmin/">Hướng dẫn thay đổi phiên bản PHP trên DirectAdmin</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Bài viết này Tenten sẽ hướng dẫn các bạn cách thực hiện thay đổi phiên bản PHP đang sử dụng trên DirectAdmin.</p>
<p><span style="font-size: 24pt;"><strong>Thay đổi phiên bản PHP</strong></span></p>
<p>Đăng nhập vào DirectAdmin sau đó chọn <span>bên trong Extra Features chọn Select PHP version trong DirectAdmin.</span></p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10.png" alt="" width="1886" height="899" class="alignnone wp-image-13847 size-full" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10.png 1886w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10-300x143.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10-1024x488.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10-768x366.png 768w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_10-1536x732.png 1536w" sizes="auto, (max-width: 1886px) 100vw, 1886px" /></p>
<p>Để thay đổi phiên bản PHP,  hãy chọn phiên bản PHP mong muốn trong danh sách bên phải <strong><span>Current PHP version. </span></strong><span>Khi bạn đã chọn được được phiên bản mong muốn, hãy nhấp vào <strong>Apply.</strong></span></p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14.png" alt="" width="1576" height="430" class="alignnone wp-image-13852 size-full" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14.png 1576w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14-300x82.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14-1024x279.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14-768x210.png 768w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_14-1536x419.png 1536w" sizes="auto, (max-width: 1576px) 100vw, 1576px" /></p>
<p>&nbsp;</p>
<p><span style="font-size: 24pt;"><strong>Thay đổi phiên bản PHP bằng .Htaccess</strong></span></p>
<p>Nếu trong hosting của bạn sử dụng nhiều web và mỗi website sử dụng một phiên bản PHP khác nhau thì bạn cũng có thể thay đổi phiên bản PHP bằng cách cấu hình trong file .htaccess</p>
<p>Để chỉnh sửa .htacess thì bạncos thể kết nối <span>FTP hoặc truy cập vào File manager.</span></p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15.png" alt="" width="1689" height="727" class="alignnone wp-image-13854 size-full" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15.png 1689w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15-300x129.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15-1024x441.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15-768x331.png 768w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_15-1536x661.png 1536w" sizes="auto, (max-width: 1689px) 100vw, 1689px" /></p>
<p>Sau đó quý khách vui lòng truy cập domain &gt; tên miền của quý khách &gt; public_html. Nhấp chuột vào .htaccess để chỉnh sửa file. Quý khách vui lòng copy đoạn mã này.</p>
<p><span><em><strong>AddHandler application/x-httpd-php54 .php </strong></em></span></p>
<p>trong đó: php54 là phiên bản quý khách cần thay đổi.</p>
<p>Trong bài viết này, tenten đã hướng dẫn quý khách thay đổi phiên bản php trong DirectAdmin.</p>
<p>Chúc quý khách thao tác thành công.</p>
<p>&nbsp;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-thay-doi-phien-ban-php-tren-directadmin/">Hướng dẫn thay đổi phiên bản PHP trên DirectAdmin</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hướng dẫn cài đặt chứng chỉ bảo mật SSL thủ công trên Hosting Secureweb</title>
		<link>https://help.tenten.vn/huong-dan-cai-dat-chung-chi-bao-mat-ssl-thu-cong-tren-hosting-secureweb/</link>
		
		<dc:creator><![CDATA[Hoàng Việt]]></dc:creator>
		<pubDate>Thu, 15 Feb 2024 08:32:57 +0000</pubDate>
				<category><![CDATA[SecureWeb]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[chứng chỉ bảo mật SSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[ssl free]]></category>
		<category><![CDATA[SSL TenTen]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13704</guid>

					<description><![CDATA[<p>Giới thiệu Chứng chỉ SSL (Secure Sockets Layer) là một phần quan trọng trong việc bảo vệ thông tin truyền tải giữa máy chủ và trình duyệt web của người dùng. Đặc biệt, nó mã hóa dữ liệu, ngăn chặn các cuộc tấn công giữa chừng và tạo sự tin cậy cho người sử dụng &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-cai-dat-chung-chi-bao-mat-ssl-thu-cong-tren-hosting-secureweb/">Hướng dẫn cài đặt chứng chỉ bảo mật SSL thủ công trên Hosting Secureweb</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><strong>Giới thiệu</strong></h1>
<p>Chứng chỉ SSL (Secure Sockets Layer) là một phần quan trọng trong việc bảo vệ thông tin truyền tải giữa máy chủ và trình duyệt web của người dùng. Đặc biệt, nó mã hóa dữ liệu, ngăn chặn các cuộc tấn công giữa chừng và tạo sự tin cậy cho người sử dụng về tính bảo mật của trang web.</p>
<p>Trong hướng dẫn này, chúng ta sẽ tập trung vào việc cài đặt chứng chỉ SSL thủ công trên SecureWeb Hosting. Quá trình này có thể là một chút phức tạp đối với người mới bắt đầu, nhưng sẽ cung cấp cho bạn kiến thức và kiểm soát chi tiết hơn về cách cài đặt và quản lý chứng chỉ SSL cho trang web của bạn.</p>
<h1><strong>Hướng dẫn cài đặt</strong></h1>
<ol>
<li><span>Trên Menu, chọn “Website Control” =&gt; “SSL Manager”</span></li>
<li><span>Chọn tên website muốn cài đặt SSL =&gt; Bấm chọn hình khiên màu xanh lá cây để cài và đợi đến khi hệ thống báo thành công.</span></li>
<li><span>Chọn “Check status” để xem trạng thái ssl.</span></li>
<li><span>Chọn biểu tượng khoá màu xanh dương để cài ssl với key có sẵn.</span></li>
<li><span>Chọn biểu tượng mở khoá màu đỏ để loại bỏ ssl</span></li>
</ol>
<p><img decoding="async" src="https://help.tenten.vn/wp-content/uploads/2021/05/cai-ssl.jpg" class="aligncenter" /></p>
<p><strong>Lưu ý: </strong>Ở đây chúng ta chọn vào biểu tượng khoá màu xanh dương để tiến hành cài đặt chứng chỉ bảo mật SSL thủ công.</p>
<p>1.Bước 1: Giao diện cài đặt chứng chỉ SSL thủ công sẽ như hình ảnh dưới đây.</p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_3.png" alt="" width="933" height="579" class="size-full wp-image-13706 aligncenter" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_3.png 933w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_3-300x186.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_3-768x477.png 768w" sizes="auto, (max-width: 933px) 100vw, 933px" /></p>
<p>2.Bước 2: Chọn vào ô dâu tích &#8220;Click edit key/crt&#8221; để có thể chỉnh sửa nội dung hoặc thêm dòng text của chứng chỉ bảo mật SSL.</p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_2.png" alt="" width="933" height="577" class="size-full wp-image-13705 aligncenter" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_2.png 933w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_2-300x186.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_2-768x475.png 768w" sizes="auto, (max-width: 933px) 100vw, 933px" /></p>
<p>3.Bước 3: Sao chép và dán chứng chỉ SSL có trong file cert SSL được cung cấp bởi các nhà phân phối SSL.</p>
<p><strong>-PRIVATE KET CERTIFICATE </strong>là nơi đặt khoá ( <strong>.key</strong> ) của chứng chỉ SSL.</p>
<p><strong>-CERTIFICARE CHAIN</strong> là nơi đặt chứng chỉ cert SSL <strong>.crt, .pem</strong> và <strong>CA bundle/Certificate Authority (CA) </strong>.</p>
<p>Lưu ý: <strong>CA bundle/Certificate Authority (CA) </strong>phải được đặt vào trong mục <strong>CERTIFICARE CHAIN </strong>và đặt sau cùng chứng chỉ cert <strong>.crt </strong>.</p>
<p><img loading="lazy" decoding="async" src="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_4.png" alt="" width="931" height="568" class="alignnone size-full wp-image-13707" srcset="https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_4.png 931w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_4-300x183.png 300w, https://help.tenten.vn/wp-content/uploads/2024/02/Screenshot_4-768x469.png 768w" sizes="auto, (max-width: 931px) 100vw, 931px" /></p>
<p>Sau khi gán xong chứng chỉ vào mục tương ứng, bạn hãy chọn <strong>Install</strong> để cài đặt chứng chỉ SSL cho tên miền.</p>
<h1><strong>Kết luận</strong></h1>
<p>Cài đặt chứng chỉ SSL thủ công trên SecureWeb Hosting là một quy trình quan trọng để bảo vệ dữ liệu của bạn và xây dựng lòng tin của người dùng. Mặc dù có thể đôi khi là một quá trình phức tạp, nhưng khi bạn làm theo các bước trong hướng dẫn này, bạn sẽ có kiến thức và kiểm soát rõ ràng hơn về việc cài đặt và quản lý chứng chỉ SSL cho trang web của mình. Hãy bắt đầu với việc chuẩn bị trước và tuân thủ các bước một cách cẩn thận để đảm bảo tính an toàn và tin cậy của trang web của bạn.</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-cai-dat-chung-chi-bao-mat-ssl-thu-cong-tren-hosting-secureweb/">Hướng dẫn cài đặt chứng chỉ bảo mật SSL thủ công trên Hosting Secureweb</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hướng dẫn cập nhật phiên bản WordPress</title>
		<link>https://help.tenten.vn/huong-dan-cap-nhat-phien-ban-wordpress/</link>
		
		<dc:creator><![CDATA[Bùi Trung Dũng]]></dc:creator>
		<pubDate>Thu, 01 Feb 2024 01:02:41 +0000</pubDate>
				<category><![CDATA[Kiến thức chung]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13673</guid>

					<description><![CDATA[<p>WordPress là một hệ thống quản lý nội dung phổ biến và mạnh mẽ, nhưng để đảm bảo rằng trang web của bạn luôn hoạt động ổn định và an toàn, việc cập nhật phiên bản WordPress thường rất quan trọng. Trong bài viết này, chúng ta sẽ tìm hiểu cách cập nhật phiên bản &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-cap-nhat-phien-ban-wordpress/">Hướng dẫn cập nhật phiên bản WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>WordPress là một hệ thống quản lý nội dung phổ biến và mạnh mẽ, nhưng để đảm bảo rằng trang web của bạn luôn hoạt động ổn định và an toàn, việc cập nhật phiên bản WordPress thường rất quan trọng. Trong bài viết này, chúng ta sẽ tìm hiểu cách cập nhật phiên bản WordPress một cách dễ dàng và an toàn.</p>
<h2 id="tai_sao_phai_cap_nhat_phien_ban_wordpress">Tại sao phải cập nhật phiên bản WordPress?</h2>
<p>Cập nhật phiên bản WordPress định kỳ giúp bảo vệ trang web của bạn khỏi các lỗ hổng bảo mật. Phiên bản mới thường bao gồm các bản vá cho các lỗi đã biết và cải thiện tính năng. Bằng cách cập nhật thường xuyên, bạn giảm nguy cơ bị tấn công bởi các hacker hoặc phần mềm độc hại.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-13675 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/quan-ly-hinh-anh-trong-wordpress.webp" alt="" width="1024" height="654" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/quan-ly-hinh-anh-trong-wordpress.webp 1024w, https://help.tenten.vn/wp-content/uploads/2024/01/quan-ly-hinh-anh-trong-wordpress-300x192.webp 300w, https://help.tenten.vn/wp-content/uploads/2024/01/quan-ly-hinh-anh-trong-wordpress-768x491.webp 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h2 id="tai_sao_phai_cap_nhat_phien_ban_wordpress">Lưu ý trước khi cập nhật</h2>
<p>Trước khi thực hiện cập nhật WordPress hay làm bất kỳ thay đổi nào, hãy lưu ý chuẩn bị cho các sự cố có thể xảy đến. Mặc dù lỗi có thể hiếm khi gặp, nhưng lúc nào bạn cũng cần có kế hoặc quay ngược lại, để đề phòng trường hợp site bị hỏng hoặc gặp vấn đề tải trang.</p>
<p>Vì thế việc đầu tiên bạn cần thực hiện là backup (sao lưu) WordPress.</p>
<p>Để kiểm tra lại xem cập nhật có thành công hay không, bạn có thể đăng xuất và đăng nhập lại và quay lại màn hình Cập nhật này.</p>
<h3 id="cap-nhat-phien-ban-wordpress-qua-admin-dashboard" class="ftwp-heading">Cập nhật phiên bản WordPress qua Admin Dashboard</h3>
<p>Cách đơn giản nhất trong tất cả các cách để WordPress update là sử dụng trang admin của WordPress. Bạn chỉ cần vài cú click chuột là cập nhật thành công.</p>
<p>Nếu có bản WordPress update core mới phát hành, WordPress sẽ hiện thông báo trên cùng của trang admin dashboard.</p>
<p><img decoding="async" src="https://wiki.matbao.net/wp-content/uploads/2019/03/update-wp-e1553148578293.png" /></p>
<p>Tại đây, bạn chỉ cần nhấn nút <strong>Update now </strong>(Cập nhật ngay) để bắt đầu.</p>
<p>WordPress sẽ đưa website vào trang thái bảo trì cho đến khi cập nhật xong.</p>
<p>Quá trình này sẽ bao gồm việc vô hiệu và kích hoạt lại plugin, rồi tải và cài đặt WordPress mới. Sau khi cập nhật thành công, WordPress sẽ chuyển bạn tới trang Update, nơi bạn có thể update theme và plugins.</p>
<p><img decoding="async" src="https://wiki.matbao.net/wp-content/uploads/2019/03/2-1-e1554179767381-1024x540.png" /></p>
<h2 id="cap_nhat_phien_ban_wordpress_qua_ftp">Cập nhật phiên bản WordPress qua FTP</h2>
<p>Nếu bạn không thể đăng nhập vào bảng điều khiển WordPress của mình vì lý do nào đó hoặc gặp sự cố về quyền, thì bạn có thể cập nhật phần mềm thông qua ứng dụng FTP.</p>
<ul>
<li>Tải xuống tệp <code>.zip</code> WordPress mới nhất  bằng cách truy cập vào đường link: <a href="https://wordpress.org/download/" target="_blank" rel="noopener nofollow">https://wordpress.org/download/</a>.</li>
<li>Giải nén tệp .zip và đăng nhập vào máy chủ của trang web của bạn qua FTP.</li>
<li>Điều hướng đến thư mục <strong>wp-content</strong> .</li>
<li>Nhấp chuột phải vào thư mục plugin và đổi tên nó thành “plugins.hold”. Điều này sẽ tạm thời vô hiệu hóa các plugin của bạn.</li>
<li>Xóa các thư mục <strong>wp – include</strong> và <strong>wp-admin</strong> .</li>
<li>Tải lên tất cả các tệp rời mới vào thư mục <strong>public_html</strong> của bạn .</li>
<li>Đổi tên tệp “<strong>plugins.hold</strong>” thành “<strong>plugins</strong>”.</li>
</ul>
<p>Để kiểm tra nó, hãy truy cập trang <code>/ wp-admin</code> của bạn. Bạn có thể sẽ được nhắc đăng nhập lại. Sau khi đăng nhập, bạn sẽ không thấy tùy chọn cập nhật cho lỗi WordPress trong trang tổng quan của mình.</p>
<h2 id="cap_nhat_phien_ban_wordpress_qua_ftp">Cập nhật phiên bản WordPress bằng plugins WP Downgrade</h2>
<p>Đầu tiên, Quý khách vui lòng truy cập Plugins -&gt; Add New Plugins sau đó tìm tìm plugins WP Downgrade và tiến hành cài đặt và kích hoạt plugins.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-13678 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24.png" alt="" width="1896" height="836" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24.png 1896w, https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24-300x132.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24-1024x452.png 1024w, https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24-768x339.png 768w, https://help.tenten.vn/wp-content/uploads/2024/01/Screenshot_24-1536x677.png 1536w" sizes="auto, (max-width: 1896px) 100vw, 1896px" /></p>
<p>Sau đó, hãy vô hiệu hoá tất cả các plugins đang sử dụng để tránh những xung đột có thể xảy ra trong quá trình hạ cấp. Tích chọn tất cả các plugins và chọn chế độ Deactive, sau cùng nhấn Apply để vô hiệu hoá tạm thời tất cả các plugin.</p>
<p><img loading="lazy" decoding="async" class="aligncenter" src="https://wiki.matbao.net/wp-content/uploads/2019/12/deactive-plugin.png" alt="" width="778" height="325" /></p>
<p>Tiếp theo, truy cập mục <strong>Setting</strong> &gt; <strong>WP Downgrade</strong>. Tại đây, bạn điền phiên bản cần hạ xuống tại mục <strong>WordPress Targer Version</strong> và nhấn <strong>Save Changes</strong> để lưu lại thiết lập.</p>
<p><img decoding="async" src="https://wiki.matbao.net/wp-content/uploads/2019/12/fill-the-wordpress-version-to-downgrade-800x318.png" /></p>
<p>Lúc này, một thông báo mới sẽ hiển thi, click vào <strong>Up-/Downgrade Core</strong> &gt; <strong>Re-install Now</strong> để bắt đầu quá trình cập nhật lại phiên bản WordPress thấp hơn</p>
<p><img decoding="async" src="https://wiki.matbao.net/wp-content/uploads/2019/12/click-button-up-downgare-core-1-800x317.png" /></p>
<p><img decoding="async" src="https://wiki.matbao.net/wp-content/uploads/2019/12/click-re-install-now-1-800x389.png" /></p>
<p>Bạn cần phải chờ khoảng vài phút để quá trình hạ cấp hoàn tất, sau khi hạ cấp xong, WordPress sẽ hiển thị thông tin của phiên bản hiện tại.</p>
<p>Cập nhật phiên bản WordPress là một bước quan trọng để duy trì tính bảo mật và tối ưu hóa trang web của bạn. Đảm bảo bạn tuân thủ các bước trong hướng dẫn này để tránh xung đột và đảm bảo trải nghiệm trang web suôn sẻ nhất. Hãy thường xuyên kiểm tra và cập nhật để tận hưởng những cải tiến mới nhất.</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-cap-nhat-phien-ban-wordpress/">Hướng dẫn cập nhật phiên bản WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>10 Lỗi thường gặp khi sử dụng website WordPress</title>
		<link>https://help.tenten.vn/10-loi-thuong-gap-khi-su-dung-website-wordpress/</link>
		
		<dc:creator><![CDATA[Trần Hiếu]]></dc:creator>
		<pubDate>Wed, 31 Jan 2024 04:19:53 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13657</guid>

					<description><![CDATA[<p>Lỗi 1. Fatal Error: Allowed Memory Size Of XXX Bytes Exhausted Lỗi này có thể xảy ra thường xuyên hoặc thỉnh thoảng khi bạn thực hiện tác vụ nào đó trong website. Khi gặp lỗi, nó sẽ trả về lỗi trắng trang kèm theo thông báo là “Fatal Error: Allowed Memory Size Of XXX Bytes Exhausted”. Nguyên nhân &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/10-loi-thuong-gap-khi-su-dung-website-wordpress/">10 Lỗi thường gặp khi sử dụng website WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3 id="ftoc-heading-1" class="ftwp-heading ftwp-heading">Lỗi 1. Fatal Error: Allowed Memory Size Of XXX Bytes Exhausted</h3>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone wp-image-13658 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/fix-WordPress-fatal-error-allowed-memory-2-1024x251-1.jpg" alt="" width="1024" height="251" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/fix-WordPress-fatal-error-allowed-memory-2-1024x251-1.jpg 1024w, https://help.tenten.vn/wp-content/uploads/2024/01/fix-WordPress-fatal-error-allowed-memory-2-1024x251-1-300x74.jpg 300w, https://help.tenten.vn/wp-content/uploads/2024/01/fix-WordPress-fatal-error-allowed-memory-2-1024x251-1-768x188.jpg 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>
<p>Lỗi này có thể xảy ra thường xuyên hoặc thỉnh thoảng khi bạn thực hiện tác vụ nào đó trong website. Khi gặp lỗi, nó sẽ trả về lỗi trắng trang kèm theo thông báo là “Fatal Error: Allowed Memory Size Of XXX Bytes Exhausted”.</p>
<h4 id="ftoc-heading-2" class="ftwp-heading ftwp-heading">Nguyên nhân &amp; Cách khắc phục:</h4>
<p>Nguyên dân xảy ra lỗi này là do bộ nhớ chung của máy chủ mà bạn được phép sử dụng không cung cấp đủ cho ứng dụng PHP để xử lý WordPress, rất hay gặp trên các host miễn phí và đôi lúc là cả trên host trả phí nếu website bạn có quá nhiều dữ liệu.</p>
<p>Trước tiên, hãy thử tự khắc phục bằng cách chèn đoạn sau đây vào file <strong>wp-config.php</strong>:</p>
<pre class="wp-block-preformatted prettyprinted"><code class="php plain prettyprinted"><span class="pln">define</span><span class="pun">(</span> </code><code class="php string prettyprinted"><span class="str">'WP_MAX_MEMORY_LIMIT'</span></code><code class="php plain prettyprinted"><span class="pun">,</span> </code><code class="php string prettyprinted"><span class="str">'512M'</span></code> <code class="php plain prettyprinted"><span class="pun">);</span></code></pre>
<p>Sau đó thêm vào .htaccess ở thư mục gốc nếu sử dụng Shared Host hoặc Apache.</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="pln">php_value memory_limit </span><span class="lit">512M</span></code></pre>
<p>Nếu vẫn không được thì thử tạo php.ini ở thư mục gốc của website và thêm:</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="pln">memory_limit</span><span class="pun">=</span><span class="lit">512M</span></code></pre>
<p>Nếu có thể, bạn hãy liên hệ với đội ngũ hỗ trợ kỹ thuật để họ xử lý giúp bạn vì trong  một số nhà cung cấp họ không cho phép bạn tự làm việc này.</p>
<h3 id="ftoc-heading-3" class="ftwp-heading ftwp-heading">Lỗi 2. Warning: Cannot Modify Header Information</h3>
<p>Thông thường sẽ có nhiều bạn trở nên hoảng hốt khi tự dưng website xuất hiện thêm thông báo <em>“Warning: Cannot modify header information – headers already sent by….</em>.” phía trên sau khi cập nhật WordPress, theme, plugin,….</p>
<h4 id="ftoc-heading-4" class="ftwp-heading ftwp-heading">Nguyên nhân &amp; Cách khắc phục:</h4>
<p>Đối với WordPress, nguyên nhân chính phổ biến nhất là file báo lỗi (xem trong đoạn báo lỗi) bị thừa một khoảng trắng trước ký tự <strong>&lt;?php</strong> ở đầu.</p>
<p>Do đó, hãy mở file bị lỗi ra và hãy chắc chắn rằng đầu file không chứa bất kỳ khoảng trắng nào. Và để cho chắc ăn, hãy chủ động thêm <strong>?&gt;</strong> ở cuối file.</p>
<p>Hoặc nếu có thể, bạn hãy tải file bị lỗi về và mở bằng <strong>Notepad++</strong>, sau đó chọn <strong>Encoding -&gt; UTF-8 without BOM</strong>.</p>
<h3 id="ftoc-heading-5" class="ftwp-heading ftwp-heading">Lỗi 3. “Briefly Unavailable For Scheduled Maintenance”</h3>
<p>Sau khi bấm nút update WordPress hoặc Theme/Plugin và bấm vào tác vụ khác có thể bạn sẽ gặp lỗi này.</p>
<h4 id="ftoc-heading-6" class="ftwp-heading ftwp-heading">Nguyên nhân &amp; Cách khắc phục:</h4>
<p>Khi update, WordPress sẽ tự động đưa website về trạng thái bảo trì để hệ thống tự động cập nhật làm xong việc của nó để tránh các phiền toái xảy ra. Vì thế, thông thường thì lỗi này sẽ tự động mất sau khoảng vài chục giây hoặc vài phút.</p>
<p>Trong vài trường hợp hiếm hoi, do quá trình update xảy ra lỗi nên WordPress không thể đưa website về trạng thái ban đầu nên sẽ hiển thị thông báo này gần như là mãi mãi. Lúc đó, hãy thử khắc phục bằng <strong>cách xóa file .maintenance</strong> ở thư mục gốc thông qua FTP. Lúc này mọi thứ sẽ bình thường trở lại.</p>
<h3 id="ftoc-heading-7" class="ftwp-heading ftwp-heading">Lỗi 4. Lỗi trắng trang</h3>
<p>Trắng trang không phải là lỗi, đó là một tính năng giúp website bạn bảo mật hơn khi xảy ra lỗi bên trong. Thông thường khi lỗi trình duyệt sẽ hiển thị lỗi ra kèm đường dẫn của tập tin bị lỗi hay nguyên nhân bị lỗi, điều này có thể sẽ nguy hiểm trong một vài trường hợp nếu kẻ xấu nhìn thấy, nên webserver sẽ không hiển thị ra và nó thành “lỗi” trắng trang.</p>
<h4 id="ftoc-heading-8" class="ftwp-heading ftwp-heading">Nguyên nhân &amp; Cách khắc phục:</h4>
<p>Các nguyên nhân phổ biến nhất là thường:</p>
<ul>
<li>Sửa file functions.php ở theme không đúng cách, sai cú pháp.</li>
<li>Plugins không tương thích với phiên bản WordPress hiện tại.</li>
<li>Themes bị viết sai cú pháp, hoặc sử dụng hàm không tồn tại.</li>
<li>….</li>
</ul>
<p>Do đó, nếu bị lỗi trắng trang thì hãy cố gắng nhớ lại xem mình đã táy máy những gì và quay lại đó sửa. Hoặc xem lỗi của website để biết nó lỗi ở đâu mà sửa.</p>
<p>Để hiển thị lỗi ra trình duyệt, bạn mở wp-config.php tìm <code class=" prettyprinted"><span class="pln">WP_DEBUG</span></code> và sửa <code class=" prettyprinted"><span class="kwd">false</span></code> thành <code class=" prettyprinted"><span class="kwd">true</span></code>. Đồng thời thêm ngay bên dưới nó:</p>
<pre class="wp-block-preformatted prettyprinted"><span class="pln">define</span><span class="pun">(</span> <span class="str">'WP_DEBUG_LOG'</span><span class="pun">,</span> <span class="kwd">true</span> <span class="pun">);</span><span class="pln">
define</span><span class="pun">(</span> <span class="str">'WP_DEBUG_DISPLAY'</span><span class="pun">,</span> <span class="kwd">true</span> <span class="pun">);</span></pre>
<p>Bây giờ hãy vào lại website xem đã hiển thị lỗi chưa. Nếu chưa thì vào thư mục wp-content và mở tập tin debug.log lên nhé.</p>
<p>Sau khi bạn đã sửa xong lỗi, nhớ sửa WP_DEBUG thành false và xóa 2 dòng vừa chèn vào.</p>
<h3 id="ftoc-heading-9" class="ftwp-heading ftwp-heading">Lỗi 5. Bị hỏi tài khoản FTP khi cài theme/plugin</h3>
<p>Nếu bạn gặp lỗi này khi cài plugin hay theme, thì điều đó có nghĩa là phân quyền thư mục trên host chưa đúng. Có nghĩa là PHP không thể ghi dữ liệu mới lên thư mục của website. Vì vậy bạn hãy chắc chắn các thư mục trên host đều CHMOD là 755, tập tin là 644.</p>
<p>Nếu bạn sử dụng Shared Host thì hãy liên hệ với nhà cung cấp để họ hỗ trợ phân quyền lại.</p>
<p>Nếu sử dụng VPS/máy chủ riêng thì hãy chắc chắn đã phân quyền thư mục để các user chạy PHP có thể tương tác vào. Ví dụ:</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="pln">chown </span><span class="pun">-</span><span class="pln">R apache</span><span class="pun">:</span><span class="pln">apache </span><span class="pun">/</span><span class="pln">path</span><span class="pun">/</span><span class="pln">domain</span><span class="pun">.</span><span class="pln">com</span></code></pre>
<p>Hoặc nếu là NGINX (CentOS):</p>
<pre class="wp-block-preformatted prettyprinted"><code class="bash functions prettyprinted"><span class="pln">chown</span></code> <code class="bash plain prettyprinted"><span class="pun">-</span><span class="pln">R nginx</span><span class="pun">:</span><span class="pln">nginx </span></code><code class="bash plain prettyprinted"><span class="pun"><span class="str">/</span></span><span class="pln"><span class="str">path</span></span><span class="pun"><span class="str">/</span></span><span class="pln">domain</span></code><code class="bash plain prettyprinted"><span class="pun">.</span><span class="pln">com</span></code></pre>
<p>Nếu dùng Ubuntu/Debian thì:</p>
<pre class="wp-block-preformatted prettyprinted"><code class="bash functions prettyprinted"><span class="pln">chown</span></code> <code class="bash plain prettyprinted"><span class="pun">-</span><span class="pln">R www</span><span class="pun">-</span><span class="pln">data</span><span class="pun">:</span><span class="pln">www</span><span class="pun">-</span><span class="pln">data </span></code><code class="bash plain prettyprinted"><span class="pun"><span class="str">/</span></span><span class="pln"><span class="str">path</span></span><span class="pun"><span class="str">/</span></span><span class="pln">domain</span></code><code class="bash plain prettyprinted"><span class="pun">.</span><span class="pln">com</span></code></pre>
<h3 id="ftoc-heading-10" class="ftwp-heading ftwp-heading">Lỗi 6. Error Establishing A Database Connection</h3>
<p>Lỗi này sẽ xuất hiện ở hai trường hợp:</p>
<ul>
<li>Thông tin database bạn nhập vào file wp-config.php bị sai.</li>
<li>MySQL đang bị quá tải không thể xử lý dữ liệu gửi đi và gửi về được, thường gặp ở các host yếu hoặc bị DDoS.</li>
<li>Dung lượng lưu trữ bị đầy nên MySQL không khởi động được.</li>
</ul>
<h3 id="ftoc-heading-11" class="ftwp-heading ftwp-heading">Lỗi 7. 404 Not Found khi vào xem bài viết</h3>
<p>Thông báo lỗi này có lẽ hầu như ai cũng biết đó là máy chủ không tìm được tập tin tương ứng với truy vấn người dùng ở trình duyệt. Trong WordPress, nhiều người sẽ mắc phải lỗi này khi vào xem bài viết hoặc một cái gì đó bất kỳ sau khi tùy chỉnh permalink.</p>
<p>Lý do xuất hiện lỗi là do cơ chế rewrite URL chưa được kích hoạt trên website bởi vì file .htaccess chưa chèn các quy tắt rewrite cho nó. Trước tiên bạn hãy vào <strong>Settings -&gt; Permalinks</strong> và ấn nút Save Changes (<em>Cài đặt -&gt; Đường dẫn tĩnh</em>). Nếu vẫn không được thì chèn đoạn sau vào tập tin .htaccess ở thư mục gốc của website.</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="typ">RewriteEngine</span> <span class="typ">On</span>
<span class="typ">RewriteBase</span> <span class="pun">/</span>
<span class="typ">RewriteRule</span> <span class="pun">^</span><span class="pln">index</span><span class="pun">.</span><span class="pln">php$ </span><span class="pun">-</span> <span class="pun">[</span><span class="pln">L</span><span class="pun">]</span>
<span class="typ">RewriteCond</span><span class="pln"> </span><span class="pun">%{</span><span class="pln">REQUEST_FILENAME</span><span class="pun">}</span><span class="pln"> </span><span class="pun">!-</span><span class="pln">f
</span><span class="typ">RewriteCond</span><span class="pln"> </span><span class="pun">%{</span><span class="pln">REQUEST_FILENAME</span><span class="pun">}</span><span class="pln"> </span><span class="pun">!-</span><span class="pln">d
</span><span class="typ">RewriteRule</span> <span class="pun">.</span> <span class="pun">/</span><span class="pln">index</span><span class="pun">.</span><span class="pln">php </span><span class="pun">[</span><span class="pln">L</span><span class="pun">]</span></code></pre>
<h3 id="ftoc-heading-12" class="ftwp-heading ftwp-heading">Lỗi 8. “unable to create directory wp-content/uploads…” khi upload ảnh</h3>
<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" class="alignnone wp-image-13660 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/wp-upload-image-error.png" alt="" width="557" height="324" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/wp-upload-image-error.png 557w, https://help.tenten.vn/wp-content/uploads/2024/01/wp-upload-image-error-300x175.png 300w" sizes="auto, (max-width: 557px) 100vw, 557px" /></figure>
</div>
<p>Có thể bạn đã từng đau đầu vì nó báo lỗi màu đỏ choét như thế mỗi khi upload ảnh lên bài viết. Lý do xuất hiện lỗi này là máy chủ không có quyền ghi dữ liệu để tiến hành tạo thư mục hoặc đăng một dữ liệu mới vào đó.</p>
<p>Để khắc phục, bạn có thể tiến hành CHMOD thư mục wp-content/uploads và tất cả các thư mục con bên trong của nó thành 755.</p>
<h3 id="ftoc-heading-13" class="ftwp-heading ftwp-heading">Lỗi 9. Stylesheet Is Missing</h3>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone wp-image-13661 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/stylesheet-missing-WordPress-error2-1.jpg" alt="" width="772" height="320" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/stylesheet-missing-WordPress-error2-1.jpg 772w, https://help.tenten.vn/wp-content/uploads/2024/01/stylesheet-missing-WordPress-error2-1-300x124.jpg 300w, https://help.tenten.vn/wp-content/uploads/2024/01/stylesheet-missing-WordPress-error2-1-768x318.jpg 768w" sizes="auto, (max-width: 772px) 100vw, 772px" /></figure>
</div>
<p>Đối với một số người dùng WordPress mới thì sẽ thường xuyên gặp lỗi này khi tải file theme từ internet về thay vì cài theme có trong thư viện.</p>
<p>Lỗi này có 2 nguyên nhân chính:</p>
<ul>
<li>File theme thiếu file style.css (hiếm gặp).</li>
<li>Theme bị nén sai cấu trúc. Bạn cài theme làm sao mà khi vào host, theme bạn phải có cấu trúc là /wp-content/themes/tên-theme/style.css</li>
</ul>
<h3 id="ftoc-heading-14" class="ftwp-heading ftwp-heading">Lỗi 10. PCLZIP_ERR_BAD_FORMAT (-10)</h3>
<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" class="alignnone wp-image-13662 size-full" src="https://help.tenten.vn/wp-content/uploads/2024/01/wptheme-rar-problem.jpg" alt="" width="750" height="126" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/wptheme-rar-problem.jpg 750w, https://help.tenten.vn/wp-content/uploads/2024/01/wptheme-rar-problem-300x50.jpg 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>
</div>
<p>ũng là một lỗi phổ biến liên quan khi upload theme từ máy tính lên. Nguyên nhân là do theme bạn upload lên là định dạng .rar chứ không phải .zip, WordPress chỉ chấp nhận file .zip mà thôi để nó tự động giải nén.</p>
<p>Cách khắc phục là hãy giải nén theme ra và <strong>nén lại thành .zip thay vì .rar</strong>.</p>
<h3 id="ftoc-heading-15" class="ftwp-heading ftwp-heading">Lỗi 11. Error: The uploaded file exceeds the upload_max_filesize</h3>
<p>Lỗi này thường xảy ra nếu bạn dùng Shared Host và sẽ gặp khi bạn upload tập tin gì đó trên host. Nguyên nhân là tập tin bạn tải lên vượt quá giới hạn dung lượng tải lên cho phép của PHP mà máy chủ của họ thiết lập.</p>
<p>Cách khắc phục là chèn đoạn sau vào tập tin .htaccess ở thư mục gốc trên host để tăng giới hạn lên 10MB.</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="pln">php_value upload_max_filesize </span><span class="lit">100M</span><span class="pun">&lt;</span><span class="pln">
php_value post_max_size </span><span class="lit">100M</span></code></pre>
<p>Hoặc nếu chèn vào .htaccess bị lỗi 500 thì hãy xóa đi và tạo php.ini trong thư mục gốc website rồi chèn:</p>
<pre class="wp-block-code prettyprinted"><code class=" prettyprinted"><span class="pln">upload_max_filesize </span><span class="pun">=</span> <span class="lit">100M</span><span class="pln">
post_max_size </span><span class="pun">=</span> <span class="lit">100M</span></code></pre>
<p><strong>Chúc các bạn thành công !</strong></p>
<p>Bài viết <a href="https://help.tenten.vn/10-loi-thuong-gap-khi-su-dung-website-wordpress/">10 Lỗi thường gặp khi sử dụng website WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sửa lỗi Publishing failed. You are probably offline wordpress</title>
		<link>https://help.tenten.vn/sua-loi-publishing-failed-you-are-probably-offline-wordpress/</link>
		
		<dc:creator><![CDATA[Trần Hiếu]]></dc:creator>
		<pubDate>Sat, 27 Jan 2024 09:44:11 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13615</guid>

					<description><![CDATA[<p>Để sửa lỗi này, chúng ta chỉ thêm dòng code dưới vào file wp-config.php là vấn đề sẽ được xử lý. define('FORCE_SSL_ADMIN', true); // in some setups HTTP_X_FORWARDED_PROTO might contain // a comma-separated list e.g. http,https // so check for https existence if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) $_SERVER['HTTPS']='on';</p>
<p>Bài viết <a href="https://help.tenten.vn/sua-loi-publishing-failed-you-are-probably-offline-wordpress/">Sửa lỗi Publishing failed. You are probably offline wordpress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Để sửa lỗi này, chúng ta chỉ thêm dòng code dưới vào file <strong>wp-config.php</strong> là vấn đề sẽ được xử lý.</p>
<p><code>define('FORCE_SSL_ADMIN', true);<br />
// in some setups HTTP_X_FORWARDED_PROTO might contain<br />
// a comma-separated list e.g. http,https<br />
// so check for https existence<br />
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)<br />
$_SERVER['HTTPS']='on';</code></p>
<p>Bài viết <a href="https://help.tenten.vn/sua-loi-publishing-failed-you-are-probably-offline-wordpress/">Sửa lỗi Publishing failed. You are probably offline wordpress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Tạo tài khoản Admin WordPress trên phpMyAdmin</title>
		<link>https://help.tenten.vn/tao-tai-khoan-admin-wordpress-tren-phpmyadmin/</link>
		
		<dc:creator><![CDATA[Trần Hiếu]]></dc:creator>
		<pubDate>Thu, 25 Jan 2024 08:21:57 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13602</guid>

					<description><![CDATA[<p>Chắc hẳn không ít người dùng từng gặp vấn đề website của họ vào một ngày bị hacker tấn công hoặc bị nhiễm mã độc và xoá đi toàn bộ các thông tin tài khoản quản trị WordPress, và cũng có thể là chính người dùng đã vô tình xoá nhầm thông tin này. Vậy &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/tao-tai-khoan-admin-wordpress-tren-phpmyadmin/">Tạo tài khoản Admin WordPress trên phpMyAdmin</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Chắc hẳn không ít người dùng từng gặp vấn đề website của họ vào một ngày bị hacker tấn công hoặc bị nhiễm mã độc và xoá đi toàn bộ các thông tin tài khoản quản trị WordPress, và cũng có thể là chính người dùng đã vô tình xoá nhầm thông tin này. Vậy nếu vô tình bạn rơi vào một trong các tình huống trên dẫn đến không thể đăng nhập được vào trang quản trị website nữa thì lúc đó phải xử lý như thế nào?. Đừng quá lo lắng, nếu như các bạn lo lắng và chưa biết xử lý vấn đề này như thế nào thì bạn có thể xem bài viết này để xử lý.</p>
<h3 class="wp-block-heading"><span id="content-Buoc-1-Truy-cap-phpMyadmin-tren-HostingVPS-cua-ban" class="penci-toc-section">Bước 1: Truy cập phpMyadmin trên Hosting/VPS của bạn.</span></h3>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13612" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_05_429Z.png" alt="" width="626" height="331" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_05_429Z.png 626w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_05_429Z-300x159.png 300w" sizes="auto, (max-width: 626px) 100vw, 626px" /></figure>
</div>
<h3 class="wp-block-heading"><span id="content-Buoc-2-Copy-va-dan-doan-code-tao-tai-khoan" class="penci-toc-section">Bước 2: Copy và dán đoạn code tạo tài khoản</span></h3>
<p>Tại giao diện phpMyadmin, bạn chọn đúng database của website (1) =&gt; chọn SQL (2).</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13611" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_23_862Z.png" alt="" width="623" height="425" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_23_862Z.png 623w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_23_862Z-300x205.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_23_862Z-220x150.png 220w" sizes="auto, (max-width: 623px) 100vw, 623px" /></figure>
</div>
<p>Các bạn tiến hành copy đoạn mã code bên dưới và dán vào <strong>Run SQL query/queries on database</strong>.</p>
<pre>INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`)
VALUES ('<code>admin</code>', MD5('<code>password</code>'), '<code>your name</code>', '<code>admin@abc.xyz</code>', '0'); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_user_level', '10');</pre>
<p>Trong đoạn code trên, các bạn cần thay thế một số chỗ thành thông tin của mình như sau:</p>
<ul>
<li><strong>admin</strong>: Bạn thay thế bằng user mới cần tạo</li>
<li><strong>password</strong>: Bạn thay thế password mới cần tạo</li>
<li><strong>your name</strong>: Bạn thay thế bằng Tên người dùng của bạn</li>
<li><strong>admin@abc.xyz</strong>: Bạn thay thế bằng thông tin mail quản trị của bạn</li>
</ul>
<p><em><span class="has-inline-color has-vivid-red-color"><strong>Lưu ý: Trong đoạn code trên là sử dụng thông tin mặc định của WordPress nên các bảng trong Database sẽ là </strong></span><strong><span class="has-inline-color has-very-dark-gray-color">wp_</span></strong><span class="has-inline-color has-vivid-red-color"><strong> . Các bạn cần kiểm tra tiền tố của Database trên website của mình và thay thế lại cho chính xác theo hướng dẫn bên dưới.</strong></span></em></p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13610" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_47_811Z.png" alt="" width="623" height="417" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_47_811Z.png 623w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_33_47_811Z-300x201.png 300w" sizes="auto, (max-width: 623px) 100vw, 623px" /></figure>
</div>
<p>Như vậy tiền tố của mình là <strong>wp1m_</strong> =&gt; trong đoạn code trên phần nào có <strong>wp_</strong> thì mình sẽ thay thế bằng <strong>wp1m_</strong> . Và nó sẽ cụ thể như hình bên dưới.</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13609" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_04_549Z.png" alt="" width="1001" height="511" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_04_549Z.png 1001w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_04_549Z-300x153.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_04_549Z-768x392.png 768w" sizes="auto, (max-width: 1001px) 100vw, 1001px" /></figure>
<p class="has-text-align-center">Nhập đầy đủ thông tin xong bạn nhấn Go để thực thi lệnh.</p>
<p>Nếu thành công bạn sẽ nhận được thông tin bên dưới</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13608" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_25_012Z.png" alt="" width="1003" height="513" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_25_012Z.png 1003w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_25_012Z-300x153.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_25_012Z-768x393.png 768w" sizes="auto, (max-width: 1003px) 100vw, 1003px" /></figure>
<p>Bây giờ bạn truy cập quản trị website và thử login với thông tin vừa tạo thử nhé, như mình kiểm tra đã đăng nhập thành công.</p>
<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13607" src="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_41_732Z.png" alt="" width="981" height="477" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_41_732Z.png 981w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_41_732Z-300x146.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/image_2024_01_25T09_34_41_732Z-768x373.png 768w" sizes="auto, (max-width: 981px) 100vw, 981px" /></figure>
</div>
<p>Bài viết <a href="https://help.tenten.vn/tao-tai-khoan-admin-wordpress-tren-phpmyadmin/">Tạo tài khoản Admin WordPress trên phpMyAdmin</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hướng dẫn tích hợp Google Recaptcha vào Contact Form 7 chống spam web</title>
		<link>https://help.tenten.vn/huong-dan-tich-hop-google-recaptcha-vao-contact-form-7-chong-spam-web/</link>
		
		<dc:creator><![CDATA[Tiến Dũng]]></dc:creator>
		<pubDate>Wed, 24 Jan 2024 10:05:57 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13593</guid>

					<description><![CDATA[<p>Vấn nạn spam web đang là 1 vấn đề khá nhức nhối trong quá trình phát triển website của bạn, ngoài những khách hàng gửi form liên hệ thực ra thì tình trang spam rất nhiều, nên hôm nay TENTEN sẽ hướng dẫn các bạn cách cấu hình Google Recaptcha vào Contact Form 7 để &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-tich-hop-google-recaptcha-vao-contact-form-7-chong-spam-web/">Hướng dẫn tích hợp Google Recaptcha vào Contact Form 7 chống spam web</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Vấn nạn spam web đang là 1 vấn đề khá nhức nhối trong quá trình phát triển website của bạn, ngoài những khách hàng gửi form liên hệ thực ra thì tình trang spam rất nhiều, nên hôm nay TENTEN sẽ hướng dẫn các bạn cách cấu hình Google Recaptcha vào Contact Form 7 để chống spam 1 cách hiệu quả nhất nhé!</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-13594" src="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha-269x300.png" alt="" width="269" height="300" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha-269x300.png 269w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha.png 612w" sizes="auto, (max-width: 269px) 100vw, 269px" /></p>
<p><a href="https://www.google.com/recaptcha/intro/v3.html" target="_blank" rel="noopener">reCAPTCHA</a> bảo vệ bạn khỏi thư rác và các hình thức lạm dụng tự động khác. Với mô-đun tích hợp reCAPTCHA của Biểu mẫu Liên hệ 7, bạn có thể chặn các chương trình thư rác gửi biểu mẫu lạm dụng.</p>
<p>Phiên bản mới nhất của API reCAPTCHA là v3. Biểu mẫu liên hệ 7 5.1 trở lên sử dụng API reCAPTCHA v3 này. reCAPTCHA v3 hoạt động ở chế độ nền nên người dùng không cần phải đọc văn bản bị mờ trong hình ảnh hoặc thậm chí đánh dấu vào hộp kiểm “Tôi không phải là rô bốt”.</p>
<p><strong>Lưu ý: Các</strong> khóa API cho reCAPTCHA v3 khác với các khóa cho v2; các khóa cho v2 không hoạt động với API v3. Bạn cần đăng ký lại các trang web của mình để nhận các khóa mới cho v3.</p>
<p>Nếu bạn đang sử dụng phiên bản cũ hơn của Biểu mẫu liên hệ 7 và đang tìm kiếm thông tin về mô-đun reCAPTCHA cho API v2, hãy tham khảo <a href="https://contactform7.com/recaptcha-v2/" target="_blank" rel="noopener">reCAPTCHA (v2)</a> .</p>
<p>Để bắt đầu sử dụng reCAPTCHA, trước tiên bạn cần đăng ký trang WordPress. reCAPTCHA là dịch vụ của Google nên bạn cần có tài khoản Google để sử dụng. Đăng nhập vào Google bằng tài khoản và truy cập trang <a href="https://www.google.com/recaptcha/admin" target="_blank" rel="noopener"><strong>reCAPTCHA của tôi</strong></a> . Bạn sẽ thấy</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-13595" src="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha1-234x300.png" alt="" width="234" height="300" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha1-234x300.png 234w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha1.png 708w" sizes="auto, (max-width: 234px) 100vw, 234px" /></p>
<p>Chọn <strong>reCAPTCHA v3</strong> từ các tùy chọn loại và nhập tên miền của trang web vào trường Tên miền.</p>
<p>Sau khi bạn đăng ký một trang web, bạn sẽ nhận được khóa trang web và khóa bí mật cho trang web.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-13596" src="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha2-300x208.png" alt="" width="300" height="208" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha2-300x208.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha2-768x533.png 768w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha2.png 777w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-13598" src="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha4-300x165.png" alt="" width="300" height="165" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha4-300x165.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha4.png 366w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Bạn sẽ thấy một hộp có tiêu đề <strong>reCAPTCHA</strong> ở đó. Nhấp vào <strong>Thiết lập Tích hợp</strong> trong hộp. Nó sẽ hiển thị các trường đầu vào <strong>Khóa trang</strong> và <strong>Khóa bí mật</strong> . Sao chép-dán hai khóa bạn đã nhận được ở bước trước vào các trường và nhấp vào <strong>Lưu thay đổi</strong> .</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-13597" src="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha3-300x183.png" alt="" width="300" height="183" srcset="https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha3-300x183.png 300w, https://help.tenten.vn/wp-content/uploads/2024/01/GoogleRecaptcha3.png 760w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Đó là nó. Giờ đây, biểu mẫu liên hệ của bạn sử dụng điểm số của reCAPTCHA để xác minh xem biểu mẫu gửi là từ con người hay từ một bot spam.</p>
<p>reCAPTCHA v3 không cần tiện ích CAPTCHA (hộp kiểm “Tôi không phải là rô-bốt” được sử dụng trong reCAPTCHA v2) để hoạt động, vì vậy <code>recaptcha</code></p>
<p><code></code><code></code>thẻ biểu mẫu không còn cần thiết nữa. Nếu <code>[recaptcha]</code>thẻ biểu mẫu được tìm thấy trong một mẫu biểu mẫu, Liên hệ với Biểu mẫu 7 5.1 trở lên sẽ bỏ qua chúng và thay thế chúng bằng một chuỗi trống.</p>
<p>Bài viết <a href="https://help.tenten.vn/huong-dan-tich-hop-google-recaptcha-vao-contact-form-7-chong-spam-web/">Hướng dẫn tích hợp Google Recaptcha vào Contact Form 7 chống spam web</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Fix lỗi “The package could not be installed. PCLZIP_ERR_BAD_FORMAT” trên WordPress</title>
		<link>https://help.tenten.vn/fix-loi-the-package-could-not-be-installed-pclzip_err_bad_format/</link>
		
		<dc:creator><![CDATA[Trần Hiếu]]></dc:creator>
		<pubDate>Sun, 31 Dec 2023 15:57:43 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://help.tenten.vn/?p=13483</guid>

					<description><![CDATA[<p>Trong bài hướng dẫn này mình sẽ giúp các bạn khắc phục nhanh lỗi “The package could not be installed. PCLZIP_ERR_BAD_FORMAT” trên WordPress. I. Vấn đề Khi bạn sử dụng WordPress và thực hiện cài đặt mới plugin hoặc nâng cấp plugin thì có thể sẽ gặp lỗi này. The package could not be installed. &#8230;</p>
<p>Bài viết <a href="https://help.tenten.vn/fix-loi-the-package-could-not-be-installed-pclzip_err_bad_format/">Fix lỗi “The package could not be installed. PCLZIP_ERR_BAD_FORMAT” trên WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Trong bài hướng dẫn này mình sẽ giúp các bạn khắc phục nhanh lỗi “The package could not be installed. PCLZIP_ERR_BAD_FORMAT” trên WordPress.</p>
<h2 class="wp-block-heading"><strong>I. Vấn đề</strong></h2>
<p>Khi bạn sử dụng WordPress và thực hiện cài đặt mới plugin hoặc nâng cấp plugin thì có thể sẽ gặp lỗi này.</p>
<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13491" src="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_55_56_830Z-1.png" alt="" width="1011" height="206" srcset="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_55_56_830Z-1.png 1011w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_55_56_830Z-1-300x61.png 300w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_55_56_830Z-1-768x156.png 768w" sizes="auto, (max-width: 1011px) 100vw, 1011px" /><figcaption class="wp-element-caption"><em>The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature</em>.<br />
<strong style="font-size: 24px;">II. Nguyên nhân</strong><span style="font-size: 24px; font-weight: bold;"> và cách khắc phục</span>Thông thường chúng ta sẽ có 3 nguyên nhân sau.</p>
<ul>
<li>Nguyên nhân 1: Bạn tải lên tệp tin Plugin.zip bị hỏng.</li>
<li>Nguyên nhân 2: Bạn tải lên tệp tin Plugin không phải ở định dạng zip.</li>
<li>Nguyên nhân 3: Hosting của bạn chưa bật Extention PHP ZIP.</li>
</ul>
<p>Với nguyên nhân 1 và 2 thì chúng ta chỉ cần kiểm tra lại tệp tin cần tải lên là được. Còn với nguyên nhân số 3 thì bạn cần truy cập vào giao diện cPanel của mình.</p>
<p>Lựa chọn <strong>Select PHP Version</strong>.</p>
<div class="wp-block-image is-style-default">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13490" src="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1.png" alt="" width="1803" height="766" srcset="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1.png 1803w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1-300x127.png 300w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1-1024x435.png 1024w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1-768x326.png 768w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_12_028Z-1-1536x653.png 1536w" sizes="auto, (max-width: 1803px) 100vw, 1803px" /></figure>
</div>
<p>Sau đó chúng ta sẽ chuyển sang trang <strong>Extensions</strong>.</p>
<div class="wp-block-image is-style-default">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13489" src="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_25_064Z-1.png" alt="" width="1235" height="205" srcset="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_25_064Z-1.png 1235w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_25_064Z-1-300x50.png 300w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_25_064Z-1-1024x170.png 1024w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_25_064Z-1-768x127.png 768w" sizes="auto, (max-width: 1235px) 100vw, 1235px" /></figure>
</div>
<p>Và tích chọn vào <strong>ZIP</strong>.</p>
<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-13488" src="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_35_433Z-1.png" alt="" width="568" height="242" srcset="https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_35_433Z-1.png 568w, https://help.tenten.vn/wp-content/uploads/2023/12/image_2023_12_31T15_56_35_433Z-1-300x128.png 300w" sizes="auto, (max-width: 568px) 100vw, 568px" /></figure>
</div>
<p>Sau đó bạn hoàn toàn có thể thử lại việc cài đặt/cập nhật plugin.</p>
<p>Hy vọng bài viết này sẽ giúp ích được cho các bạn. Chúc các bạn có thể thực hiện thành công.</p>
</figcaption></figure>
</div>
<p>Bài viết <a href="https://help.tenten.vn/fix-loi-the-package-could-not-be-installed-pclzip_err_bad_format/">Fix lỗi “The package could not be installed. PCLZIP_ERR_BAD_FORMAT” trên WordPress</a> đã xuất hiện đầu tiên vào ngày <a href="https://help.tenten.vn">Hướng dẫn TENTEN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
