🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

WordPress Full Site Static Caching Optimization Plugin WP2Static

When you are working onWordPress,you must have heard about generating static cache for websites, such as those previously recommended by Naibabiji:Although these cache plugins can also generate HTML static cache, they cannot achieve full-site static caching of all resources. The WP2Static recommended in this article can cache the entire site as pure static files, completely independent of WordPress, allowing you to simply drop them into any web hosting space to run the website.

WP2Static Introduction

Achieve security and performance through static website publishing. A plugin that solves the biggest problems with WordPress. Continue using WordPress to its fullest potential—managing content—but eliminate security and performance challenges by publishing the site as static HTML. Static sites close all doors that outdated WordPress, themes, or plugins could open. Pre-generated static sites will outperform cache plugins, enabling you to serve users worldwide at local speeds.https://wp2static.comIncompatible with WooCommerce or membership sites, butsolutions likeSnipcart allow e-commerce on static websites.

Features

  • Publish an independent static HTML copy of the entire WordPress website
  • Remove obvious signs of WordPress running on the website, making it unattractive to hackers
  • Automatically deploy to folders on the server, ZIP files, FTP servers, S3, GitHub, Netlify, BunnyCDN, BitBucket, or GitLab
  • Schedule unattended exports via the WP Crontrol plugin or by clicking custom hooks
  • Desktop notifications alert you when the export is complete

Benefits

  • Protect yourself from malicious attacks/malware
  • Speed up your website by not accessing the database or executing any PHP code
  • Allow you to host websites for free on GitHub Pages, Netlify, or free tiers like AWS S3, Azure, etc.
  • Allow you to deploy to incredibly fast hosting options like S3 behind CloudFront
  • Establish a good development->staging->production workflow and integrate with your CI tools

WP2Static Usage Method

WP2Static全站静态化插件After installing the WP2Static full-site static plugin, you can configure it on the plugin settings page. Typically, you only need to set a Destination URL, then click the generate button. It will automatically generate pure static files of the current website in the subdirectory mystaticsite folder on your site.WP2Static全站静态化插件On the Crawling page, you can preview which URLs will have static files generated. If you find any missing web pages, you can manually add them here.

WP2Static Usage Notes

  1. If the server configuration is low, generation errors may occur. You can set up a website on your local computer to generate the files.
  2. If there are many paginated pages, the HTML files for intermediate pages might not be generated. You need to manually add the URLs of all paginated pages to the generation list, or use the WP-PageNavi plugin and set the „Number of pages to show“ to the maximum number of pages. This way, the homepage and all paginated pages can be generated.
  3. If your website has Chinese articles, categories, or tag pages that become inaccessible after generation, you need to installWordPress automatic conversion to English pinyin pluginto convert Chinese aliases into pinyin.
  4. If directory pages are missing, in „Deploy static website“, select „Subdirectory on current server“. This will generate the website into a local directory. Then, in the Crawling options, run all three options under Detection level. This way, all directory pages and article pages can be generated.
  5. The more plugins installed on the website, the lower the success rate of static generation may be.
  6. WP2Static is not suitable for websites that frequently update content.

WP2Static Plugin Download

WordPress Plugin Installation Tutorial Download LinkAfter installing WP2Static and generating static files, you can upload the generated files to another web hosting space to test if they can be accessed directly. Then, add CDN acceleration, and the website speed will definitely become very fast.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow