Deploying WordPress Websites to IPFS/Arweave with 4EVERLAND
Almost every business has a website, and nowadays many users have opened their own personal blogs and websites. WordPress is the leading platform that uses a way of creating websites in an open source, modular ecosystem, making it easy for users to build an ideal website and intuitively manage the posts and pages of the site. It has a huge market share (over 40%), is full-featured out of the box and extendable.
On the other hand, as Web3 progresses and expands, Web3 enthusiasts around the world are increasingly involved in building and using Web3. 4EVERLAND has done a lot to decentralize content. You may have noticed in a previous post about how to store multimedia content in WordPress to a decentralized protocol with the help of 4EVERLAND Bucket. In this tutorial we will show how to use 4EVERLAND Hosting to host WordPress sites on IPFS/Arweave and share them with the world: they can be accessed at any time, permanently and without censorship.
Prerequisites
This guide assumes that you are:
- The Administrator account on your WordPress site.
- Able to install WordPress plugins on the site.
Export a WordPress static site
To export the site HTML, CSS and JavaScript files, you need a plugin. In the dashboard of your WordPress site, find ‘Plugins’ and search for the plugin called ‘Simply Static’, download it and activate it.
Exporting with Simply Static
After you have installed the plugin, go to your WordPress dashboard > Simply Static > GENERATE STATIC FILES.
In the Activity Log, find the ZIP archive created message and select ‘Click here to download to download’ your ZIP file.
Please ensure the Delivery Method is ‘ZIP Archive’.
Finally, unzip the downloaded file.
Upload the file via the Github client
Please log in to your Github website and click on ‘New’ to create a new repository and click on ‘Set up in Desktop’.
Open the Github local client and create a blank folder locally, set the corresponding path, and click on ‘Clone’.
Copy the file we will download from WordPress to this local directory. The client will automatically display the changes made to the folder, add some description and click ‘Commit to main’.
Click ‘Publish branch’ to commit the changes to Github Repo.
Once this is done, you should find the corresponding repository: https://github.com/4everlandorg/test.4everland.club, with the index.html
file in the root folder.
Push sites to IPFS/Arweave with 4EVERLAND
Log in to 4EVERLAND and create a ‘New Project’.
Find the repository containing the Wordpress files.
Enter the build command, select the platform you need to deploy to — IPFS/Arweave/Dfinity, and finally click ‘Deploy’.
Waiting for deployment to complete, it’s that easy!
Congratulations! Your WordPress site has been decentralized deployed! Finally, you can access your site via Domains/IPFS CID/Ar Hash etc.
Thank you for reading. Want to configure a custom domain? Please read: https://docs.4everland.org/hositng/guides/domain-management
About 4EVERLAND
4EVERLAND is a Web 3.0 cloud computing platform that integrates storage, computing, and network core capabilities. It aims to help the user to make a smooth leap from Web 2.0 to Web 3.0 and become the infrastructure for millions of Web 3.0 developers and applications.
Join the 4EVERLAND community:
Website | Twitter | Telegram | Discord | Reddit | Medium| Email