Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Cài đặt một trang web WordPress tĩnh Deploy a static WordPress site ការធ្វើតេស្តលើគេហទំព័រ WordPress

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc Developer Platform — thực hành triển khai code, API và dữ liệu trên edge/serverless. Tutorial «Triển khai static WordPress site» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

Learn how to deploy a static WordPress site using Cloudflare Pages.

តើធ្វើដូចម្តេចដើម្បីដំឡើងគេហទំព័រ WordPress ដែលមានស្ថានភាពដោយប្រើ Cloudflare Pages ។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Cần tài khoản Cloudflare, Wrangler CLI và (thường) hoàn thành hướng dẫn Get started của Workers/Pages.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Requires a Cloudflare account, Wrangler CLI, and (typically) completing the Workers/Pages Get started guide.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • តម្រូវឱ្យមានគណនី Cloudflare, Wrangler CLI និង (ប្រហែលជា) ការបញ្ចប់គណនី Workers/Pages Get started ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Tài liệu gốc — rà soát lần cuối: about 3 years ago Official docs — last reviewed: about 3 years ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: about 3 years ago

Overview Overview Overview

Trong hướng dẫn này, bạn sẽ use a WordPress plugin, Simply Static ↗ , to convert your existing WordPress site to a static website deployed with Cloudflare Pages.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trong hướng dẫn này, bạn sẽ sử dụng plugin WordPress, Simply Static ↗, để chuyển đổi trang web WordPress hiện có của bạn thành một trang web tĩnh được triển khai với Cloudflare Pages.
In this guide, you will use a WordPress plugin, Simply Static ↗, to convert your existing WordPress site to a static website deployed with Cloudflare Pages.
ក្នុងឧបករណ៍នេះអ្នកនឹងប្រើឧបករណ៍បន្ថែម WordPress, Simply Static ↗, ដើម្បីផ្លាស់ប្តូរគេហទំព័រ WordPress របស់អ្នកទៅជាគេហទំព័រស្ថានដែលត្រូវបានដំឡើងជាមួយ Cloudflare Pages ។

Điều kiện Prerequisites គោលបំណង

Phần «Yêu cầu trước» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Prerequisites" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «គោលបំណង» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Hướng dẫn này giả định rằng bạn là:
This guide assumes that you are:
វគ្គបណ្តុះបណ្តាលនេះគិតថាអ្នកគឺ:
  • Tài khoản quản trị viên trên trang web WordPress của bạn.
  • Có thể cài đặt plugin WordPress trên trang web.
  • The Administrator account on your WordPress site.
  • Able to install WordPress plugins on the site.
  • អ្នកគ្រប់គ្រងគណនីនៅលើគេហទំព័រ WordPress របស់អ្នក
  • អាចដំឡើង plugin WordPress នៅលើគេហទំព័រ។

Setup Setup Setup

Phần «Setup» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Setup" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Setup» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Để bắt đầu, hãy cài đặt plugin Simply Static ↗ để xuất trang web WordPress của bạn. Trong bảng điều khiển WordPress của bạn, hãy đi đến Plugins \> Add New.
To start, install the Simply Static ↗ plugin to export your WordPress site. In your WordPress dashboard, go to Plugins \> Add New.
ដើម្បីចាប់ផ្តើម, ទាញយកកម្មវិធី Simply Static ↗ ដើម្បីនាំចេញគេហទំព័រ WordPress របស់អ្នក។ នៅលើប្រព័ន្ធប្រតិបត្តិការ WordPress របស់អ្នក, សូមចូលទៅ Plugins \> Add New ។
Tìm kiếm Simply Static và xác nhận rằng plugin kết quả mà bạn sẽ cài đặt khớp với plugin bên dưới.
Search for Simply Static and confirm that the resulting plugin that you will be installing matches the plugin below.
សូមស្វែងរក Simply Static និងបញ្ជាក់ថាតើការបន្ថែមដែលអ្នកនឹងដំឡើងគឺដូចគ្នាជាមួយការបន្ថែមខាងក្រោម។
Chọn Install trên plugin. Sau khi cài đặt xong, hãy chọn Activate.
Select Install on the plugin. After it has finished installing, select Activate.
សូមជ្រើស Install នៅលើ plugin ។ បន្ទាប់ពីវាបានបញ្ចប់ការដំឡើងចុច Activate ។

Xuất khẩu trang web WordPress của bạn Export your WordPress site ការនាំចេញគេហទំព័រ WordPress របស់អ្នក

Phần «Export your WordPress site» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Export your WordPress site" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការនាំចេញគេហទំព័រ WordPress របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Sau khi cài đặt plugin, hãy vào bảng điều khiển WordPress của bạn > Simply Static \> GENERATE STATIC FILES.
After you have installed the plugin, go to your WordPress dashboard > Simply Static \> GENERATE STATIC FILES.
បន្ទាប់ពីអ្នកបានដំឡើងកម្មវិធីបន្ថែម, សូមចូលទៅក្នុងបណ្តាញឧបករណ៍ WordPress របស់អ្នក > Simply Static \> GENERATE STATIC FILES.
Trong Activity Log, hãy tìm thông điệp ZIP archive created và chọn Click here to download để tải xuống tệp ZIP của bạn.
In the Activity Log, find the ZIP archive created message and select Click here to download to download your ZIP file.
ក្នុង Activity Log សូមស្វែងរកប្រកាស ZIP archive created ហើយជ្រើស Click here to download ដើម្បីទាញយកឯកសារ ZIP របស់អ្នក។

Phát triển trang web WordPress của bạn với Pages Deploy your WordPress site with Pages ការដំឡើងគេហទំព័រ WordPress របស់អ្នកជាមួយ Pages

Phần «Triển khai your WordPress site với Pages» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Deploy your WordPress site with Pages" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការដំឡើងគេហទំព័រ WordPress របស់អ្នកជាមួយ Pages» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Với tệp ZIP của bạn được tải xuống, triển khai trang web của bạn đến Pages:
With your ZIP file downloaded, deploy your site to Pages:
នៅពេលដែលឯកសារ ZIP របស់អ្នកត្រូវបានទាញយក, ទាញយកគេហទំព័ររបស់អ្នកទៅ Pages:
  1. Trong bảng điều khiển Cloudflare, đi đến trang Workers & Pages.
  1. In the Cloudflare dashboard, go to the Workers & Pages page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Workers & Pages ។
  1. Chọn Create application &> Pages > Use direct upload.
  2. Tên dự án của bạn, sau đó chọn Create project.
  3. Kéo và thả tệp ZIP của bạn (hoặc thư mục tài sản không zip) hoặc chọn nó từ máy tính của bạn.
  4. Sau khi các tập tin của bạn đã được tải lên, hãy chọn Deploy site.
  1. Select Create application \> Pages \> Use direct upload.
  2. Name your project, then select Create project.
  3. Drag and drop your ZIP file (or unzipped folder of assets) or select it from your computer.
  4. After your files have been uploaded, select Deploy site.
  1. សូមជ្រើសរើស Create application & > Pages > Use direct upload ។
  2. ឈ្មោះគម្រោងរបស់អ្នកបន្ទាប់មកជ្រើស Create project ។
  3. ទាញយកឯកសារ ZIP របស់អ្នក (ឬឯកសារសម្ភារៈដែលមិនត្រូវបានទាញយក) ឬជ្រើសរើសវាពីកុំព្យូទ័ររបស់អ្នក។
  4. បន្ទាប់ពីទាញយកឯកសាររបស់អ្នកបានជ្រើស Deploy site ។
Trang web WordPress của bạn bây giờ sẽ được sống trên Pages.
Your WordPress site will now be live on Pages.
កម្មវិធី WordPress របស់អ្នកនឹងធ្វើការនៅលើ Pages ។
Mỗi khi bạn thực hiện một thay đổi cho trang web WordPress của bạn, bạn sẽ cần phải tải xuống một tệp ZIP mới từ bảng điều khiển WordPress và triển khai lại thành Cloudflare Pages. Cập nhật tự động không có sẵn với phiên bản miễn phí của Simply Static.
Every time you make a change to your WordPress site, you will need to download a new ZIP file from the WordPress dashboard and redeploy to Cloudflare Pages. Automatic updates are not available with the free version of Simply Static.
នៅពេលដែលអ្នកធ្វើការផ្លាស់ប្តូរនៅលើគេហទំព័រ WordPress របស់អ្នកអ្នកនឹងត្រូវការទាញយកឯកសារ ZIP ថ្មីពីបណ្តាញបណ្តាញ WordPress និងដំឡើងវិញទៅ Cloudflare Pages ។ ការដំឡើងដោយស្វ័យប្រវត្តិមិនអាចរកបានជាមួយនឹងកំណែដោយឥតគិតថ្លៃនៃ Simply Static ។

Giới hạn Limitations ការបញ្ជា

Phần «Limitations» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Limitations" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការបញ្ជា» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Có một số tính năng có sẵn trong các trang web WordPress sẽ không được hỗ trợ trong môi trường trang web tĩnh:
There are some features available in WordPress sites that will not be supported in a static site environment:
មានលក្ខណៈពិសេសមួយចំនួនដែលអាចប្រើបាននៅក្នុងគេហទំព័រ WordPress ដែលនឹងមិនត្រូវបានគាំទ្រនៅក្នុងបរិស្ថានគេហទំព័រស្ថាន:
  • WordPress hình thức
  • WordPress Bình luận
  • Bất kỳ liên kết nào đến /wp-admin hoặc các tuyến đường nội bộ tương tự của WordPress.
  • WordPress Forms.
  • WordPress Comments.
  • Any links to /wp-admin or similar internal WordPress routes.
  • ផែនការ WordPress ។
  • សៀវភៅលើ WordPress.
  • តើមានតំណភ្ជាប់ទៅ /wp-admin ឬដំណើរការខាងក្នុងដូចគ្នានេះនៅលើ WordPress ។

Kết luận Conclusion លទ្ធផល

Phần «Kết luận» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Conclusion" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «លទ្ធផល» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Bằng cách làm theo hướng dẫn này, bạn đã triển khai thành công một phiên bản tĩnh của trang web WordPress của bạn đến Cloudflare Pages.
By following this guide, you have successfully deployed a static version of your WordPress site to Cloudflare Pages.
ដោយធ្វើដូច្នេះអ្នកអាចដំឡើងប្រព័ន្ធប្រតិបត្តិការ WordPress របស់អ្នកទៅ Cloudflare Pages ។
Với một phiên bản tĩnh của trang web của bạn được phục vụ, bạn có thể:
With a static version of your site being served, you can:
ជាមួយនឹងកំណែស្ថាននៃគេហទំព័ររបស់អ្នកដែលត្រូវបានផ្គត់ផ្គង់អ្នកអាច:
  • Di chuyển trang web WordPress của bạn sang một tên miền tùy chỉnh hoặc tên miền con. Xem Custom domains để tìm hiểu thêm.
  • Chạy phiên bản WordPress của bạn tại địa phương, hoặc đặt trang web WordPress của bạn sau Cloudflare Access để chỉ cung cấp access cho những người đóng góp của bạn. Điều này có ảnh hưởng đáng kể đến số lượng vector tấn công cho trang web WordPress của bạn và nội dung của nó.
  • Tăng kế hoạch lưu trữ WordPress của bạn xuống một kế hoạch rẻ hơn. Bởi vì yêu cầu bộ nhớ và băng thông cho phiên bản WordPress của bạn bây giờ nhỏ hơn, bạn thường có thể lưu trữ nó trên một gói rẻ hơn, hoặc chuyển sang lưu trữ được chia sẻ.
  • Move your WordPress site to a custom domain or subdomain. Refer to Custom domains to learn more.
  • Run your WordPress instance locally, or put your WordPress site behind Cloudflare Access to only give access to your contributors. This has a significant effect on the number of attack vectors for your WordPress site and its content.
  • Downgrade your WordPress hosting plan to a cheaper plan. Because the memory and bandwidth requirements for your WordPress instance are now smaller, you can often host it on a cheaper plan, or moving to shared hosting.
  • ការផ្លាស់ប្តូរគេហទំព័រ WordPress របស់អ្នកទៅជាគេហទំព័រផ្ទាល់ខ្លួនឬ subdomain ។ សូមពិនិត្យមើល Custom domains ដើម្បីអានបន្ថែមទៀត។
  • ការដំឡើងប្រព័ន្ធប្រតិបត្តិការ WordPress របស់អ្នកនៅទូទាំងប្រទេសឬផ្ញើគេហទំព័រ WordPress របស់អ្នកបន្ទាប់ពី Cloudflare Access ដើម្បីផ្តល់ access ទៅតែអ្នកគាំទ្ររបស់អ្នក។ នេះមានផលប៉ះពាល់សំខាន់លើទំហំនៃបណ្តុះបណ្តាលការសាកល្បងសម្រាប់គេហទំព័រ WordPress របស់អ្នកនិងសម្ភារៈរបស់វា។
  • ទាញយកហេតុបណ្ដាញ WordPress របស់អ្នកទៅហេតុបណ្ដាញដែលមានតម្លៃខ្ពស់។ ដោយសារតែការតម្រូវការនៃការចាក់សម្គាល់និងកម្រិតខ្សែភាពយន្តសម្រាប់កម្មវិធី WordPress របស់អ្នកគឺមានតម្រូវការកាត់បន្ថយ, អ្នកអាចធ្វើឱ្យវានៅលើគណនីដែលមានតម្លៃខ្ពស់ជាងនេះឬផ្លាស់ប្តូរទៅក្នុងការផ្លាស់ប្តូរដោយផ្លាស់ប្តូរ។
Kết nối với Cloudflare Developer community on Discord ↗ để đặt câu hỏi và thảo luận nền tảng với các nhà phát triển khác.
Connect with the Cloudflare Developer community on Discord ↗ to ask questions and discuss the platform with other developers.
ការចូលរួមជាមួយ Cloudflare Developer community on Discord ↗ ដើម្បីសួរសំណួរនិងពិភាក្សាអំពីវេទិកាជាមួយអ្នកអភិវឌ្ឍន៍ផ្សេងទៀត។
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/pages/","name":"Pages"}},{"@type":"ListItem","position":3,"item":{"@id":"/pages/how-to/","name":"How to"}},{"@type":"ListItem","position":4,"item":{"@id":"/pages/how-to/deploy-a-wordpress-site/","name":"Deploy a static WordPress site"}}]}

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗