Create static website from Drupal 7 and deploy into Cloudflare Pages
To extract a static website from Drupal 7.x so it can be hosted on Cloudflare Pages, follow the instructions below:
- Install plugin “Static Generator” from (www.drupal.org/project/static)
- Run it.
- All static files will be created under “static” folder in the root of your Drupal Installation after you complete initial setup.
- Create a new Github repo, upload all files to Github and deploy into Cloudflare. Your website will be live in the URL you setup during deployment.
If you do not know git, use “Git Desktop”, load all the files, and sync it up. As soon as the sync is complete, if you’ve setup Cloudflare pages to autodeploy (default mode), your site will be deployed in Cloudflare near instantly.
🔴