Hi everyone! As you may or may not know, the old Zyro website builder was phased out at 000webhost earlier this year. Although the Zyro site builder was powerful and robust, it simply couldn’t hold up to modern design standards. Updating the builder as it was would take just as long as (if not longer than) creating a whole new site builder from scratch, so the decision was made to rebrand Zyro entirely. Old Zyro was deprecated and replaced with the new Zyro.com website builder, which is now available in your 000webhost site panel.
As part of this deprecation, the old Zyro site builder was removed from cPanel accounts at Hosting24 (a part of Hostinger International) on October 1, 2020, and from Hostinger in January of 2021. This leaves many users in a position where they won’t be able to edit their websites without learning HTML and CSS, so myself and @teodor have created a simple script that reorganizes an existing site’s file structure to make it easier to edit.
The short version of Zyro’s confusing file structure is that PHP is used liberally to bind elements together on the client side, making it easier for the builder to abstract changes. A Zyro site’s web root looks like a mess, but for good reason. However, this means editing raw HTML is harder for the uninitiated (which most users who primarily use a website builder are); for example, public-facing HTML files are named
3.php, and so on in a fashion that doesn’t actually make clear which pages are which. Our simple script identifies pages and renames them according to their title, then wraps them up in a nice little
html folder in the web root.
To get started, you’ll need a published Zyro site. This means your web root contains a
zyro folder, which contains all your site’s code. Unfortunately, nothing can be done if you only have a
.sitebuilder backup (yet, more information below). Follow the steps below to organize your site files:
- Create a new file in your web root (this means
public_html, not any other folder inside). Name it whatever you want (although we recommend
zyrorestructure.phpso as not to confuse you), but make sure it ends in
- Copy the code from our public-facing repository into your new file, then save it.
- Visit your file from your browser, using the syntax
http://[yoursite.com]/zyrorestructure.php. Keep in mind your actual link will be different according to your site and file names.
- Make sure the file is in your
public_htmlfolder. The script will fail if it can’t find the
zyrofolder, and may corrupt existing files if it tries to run outside of
- Click the blue button at the bottom of the page, then wait for the success message. This action is irreversible, so be sure this is what you want to do!
Once you’ve run the script, your HTML files will be located in your new
html folder (inside
public_html) and named according to their page names. You’ll then be able to edit the raw HTML without having to gamble over which page is which!
.sitebuilder backups, community input/help would be much appreciated — if you think you can help us build a backup restoration tool, we’ve provided the files for an example Zyro site below (including the
.sitebuilder backup and a zip file which contains all the raw JSON files that said
.sitebuilder backup contains). We need to reverse engineer a parsing tool for existing backups, however we have zero access to old source code. You can download the archives at this project’s Github repository.
We hope this helps!