Welcome to the Make Me Static Plugin for Wordpress. This plugin is a static site generator and aims to create and maintain a static copy of your Wordpress website within a Git repository. This version includes automatic access to a free Git solution and Page provider platform. (so no setup or credentials are necessary)
Alternatively the static site can be generated and stored in a GitLab Git Repository that can be used as a source for a static page platform such as CloudFlare Pages. The plugin provides customised sitemap and change tracking which connects to an external crawling service which does all the heavy lifting.
We have made great efforts in this version to minimise the configuration required to get going, if you have any problems (with anything) please let is know and we'll do our best to help. Check out this YouTube video for an introduction to static front-ends and a walk-through of converting a pre-existing WordPress site into a WordPress site with a static front-end.
https://youtu.be/ZJ5IDgZ9u-Q
How the service works
The plugin connects to a directory service on the Internet at one of the directory URL's listed below. This in turn will point the plugin to a 'crawler' that has been allocated to your site.
When you ask the plugin to make a static copy of your site, it will instruct the crawler to visit all the pages on your site to determine which have changed since it's last visit. Any changed pages will be copied to a Git repository, which in turn can publish pages directly to a page hosting service.
The default option is to use a Git account hosted by MadPenguin, and to publish the site on MadPenguin's page hosting platform. As a result the default options do not require any specific Git or Page hosting configuration to get going. If on the other hand you choose to use a hosted Git service such as GitLab, you will need to enter some credentials for your online account, and from there configure your GitLab account to publish to a page hosting service.
Once you have successfully published a static copy of your site, all you need to do is point your domain at the address of the page hosting service, and asssuming your domain matches the one you
entered when setting up your profile within the plugin, you should be up and running.
The service retains a metadata database for the site which includes file names, sizes and modification times, together with any credentials that have been added when creating a profile. (Sensitive credentials and other information is encrypted at rest). The external service is responsible for all scanning and processing activities to mitigate strain on the Wordpress server.
The only private data transferred to the external service is the information you enter when creating a profile. All other information is obtained via an anonymous external scan, hence publically available. If you have selected the default Git option, then the service will also retain a static copy of the site.
Useful references
Make me static directory service URL's;
Other URL's used to load code;
Note that this in an integrated solution, the 3rd party crawling service is owned and operated by the plugin authors on a combination of cloud hosted and on premesis equipment.
Live Web Statistics (
experimental)
If you opt to use the integrated Pages platform, this also provides a live WebStats option that uses the following URL;
This allows live webstats to be seamlessly delivered into your control panel and updated in real-time via a websocket connection. Do not use this URL directly!
This URL is only referenced once you click on the webstats icon next to your profile.
How Does it work?
The Wordpress site is scanned by the MMS service under direction from the Wordpress plugin. This off-loads the scanning process to specialised software which aims to minimise the loading on the Wordpress server while scans are in progress.
There are three types of scan that can be performed;
- An "update", which literally only looks at entries with changed sitemap timestamps
(this is very quick and great for typo's and any changes that only affect a single page)
- A "synchronise", typically this will scan every asset on the Wordpress site and compare a checksum of each asset against it's database to see if it's changed since the last scan. Any changes are then transferred to the connected Git repository.
- A "Git verification", this is like a "synchronise", but also scans the Git repository for assets that are no longer referenced by the site (and removes them).
As the site is scanned "from the outside" there should be no risk of the plugins actions exposing any data that isn't already public. By the same token the external service has no ability to modify Wordpress so the security footprint of the plugin is tiny.
Feature bullet points
- The plugin provides a way to produce a static copy of your website in a git repository
- The result is compatible with both Github pages and CloudFlare pages for automatic publication
- Multiple profiles are supported for (A+B_...) testing
- Various scan rates are supported from one page per 5s to 7 cores flat out
- Scheduled updates are supported and automated scanning
- Currently "Gitlab" is supported with plans for GitHub and on-prem Gitlab
- Support push services (WebPushr) to automatically notify subscribers on scan completion
- Issue tracker for each profile to diagnose problems
- Handles current and historical issues
- Ability to acknowlede or delete issues when resolved
- GUI access to the internal asset database
- Search as you type filtering
- Pinning (force assets to be scanned regardless of perceived change)
- Selective / manual queueing of assets for testing
- Ability to include manual / static assets in the scan (in the WP tree but unmanaged by WP)
- Ability to exclude specific files and folders
- Setup Wizard is included for a guided profile creation
The Technology
- The Plugin presents as a Wordpress Admin / plugin page
- Backend connections are made over websockets using PKI
- The crawler respects Robots.txt, (make sure the "MMSbot" agent is allowed on your site)
- MMS Javascript runs in an isolated module and CSS "plays nice" with Wordpress
- Global CSS and theming is partitioned and user editable (if you feel the need ...)
- All of the front-end JS code and PHP is either GPL2 or MIT licensed
- Backend-code is all based on the Orbit Framework (the framework and DB are all MIT licensed)
- Orbit is a 'real time' framework, so the admin panel is 100% reactive.
- Progress bar updates are typically "per percent" granularity
- All statuses, totals, etc, are updated as they happen
- Unless you've hit a bug, there is no mileage in reloading the MMS plugin page
- If you change your license information, it will change in real-time
- If the crawler allocated to your site changes (perhaps due to a license upgrade) then the
appropriate version of the crawler UI will be uploaded "into" the page from the new
crawler.
1.1.48
- Fix UUID regeneration following a backup / restore
1.1.47
- Force favicon.ico even if not present in metadata
- Handle schemeless url in style src
1.1.46
- Improvements to watermarking (now completely automatic)
- Better handling for "/" links
- UI improvements for live Preview
- UI improvements for live WebStats
- Accumulated improvements for 'found' edge-cases
1.1.45
- Stage-2 loading now happens from CDN rather than crawler
- Crawler access is now RVP'd
1.1.43
- Documentation update to support WordPress 6.6.3
- LiveStats now available on all default git deployments
1.1.42
- Typos, remove redundant debugging
1.1.41
- Fixed a number of crawler edge-cases
- Crawler speed improvements
- Added integrated / Live WebStats into the console
- Improved UI Error reporting
- Fixed UI Setup Wizard glitch
- Improved permalink detection code
1.1.38
- Fixed PHP components to work with PHP 7.4
1.1.36
- Fixing typos
- Fixing UI glitch
1.1.35
UI Improvedments
- Changing text and labels for smaller Screens
- Deployment checking fixes for non SSL targets
- Fix for local sitemap issue
1.1.30
UI improvements
- Adding support for Wordpress Playground preview
- Added live deployment tracking for integrated git/pages
1.1.2
Major new release
- Static copies are now "relative" which makes them more portable between static hosts
- Our own Git and Pages solutions have been integrated as the default solution
- Fall-back authentication now works for sites with limited or disabled JSON API
- Watermarking option now available
- Per pages feeds can now be toggled
- Rewritten profile editor
- Extensive front-end checking for connection and WP config issues
- Plugin should now work with blueprints
1.0.247
Back-end crawling improvements
- Crawler: Better support form /wp-json and dynamic URL's
- Crawler: Fixed reporting on invalid GitLab token
- Crawler: Fixed exception report in site validation fail
- Crawler: Changed behaviour when dealing with local (#) links
- Crawler: Changed behaviour when dealing /wp-json and oembed
1.0.239
Crawler improvements and documentation
- Docs: New site at https://makemestatic.com
- Crawler: Better support for oembed mapping
- Crawler: Fixed auto-robots.txt location
- Crawler/UI: Better re-conection on server restart
1.0.231
Useful fixes for new users
- UI: Better error trapping for plain permalinks
- UI: Better error trapping for sites using http (not https)
- Crawler: Better handling on non-specific script tags
- Crawler: Better handling of /wp-admin links
- Crawler: Better detection of mixed mode URL's (http+https)
- Better support for http behind CloudFlare tunnels
1.0.213
Misc Bug fixes and edge case traps
- Report and block if site is configured with "plain" permalinks
- Report and block if WP back-end is intefering with WP JSON API query strings
- Fix some spelling errors and comments
1.0.193
Updating readme.txt
- Changed tags to static site generator, performance, security, speed, static
- Changed short Description to This plugin is a static site generator for your Wordpress instance that stores and updates a static version of your site inside a Git repository.
1.0.191
Updating assets and readme.txt
1.0.189
Wordpress Directory Initial Release
- Integrated subscriptions system powered by stripe
- Email address verification and notification system
- Subscription based resources
1.0.102
Third submission:
- composer.json was present in the source repo but not in the plugin zip file
- documentation was in README.md rather than readme.txt, transferred
1.0.97
Second submission with changes to namespacing and various documentation changes. (no change in functionality)
1.0.58
Initial Directory Submission