-
-
Notifications
You must be signed in to change notification settings - Fork 166
One click update
When there's a new version of WonderCMS available, an "Update" button appears above your settings panel.
- Example of the Update button is shown here.
Once you're logged in your website, a comparison between the version written the WonderCMS index.php file and the latest version file on GitHub is made.
If those two versions are different, the update button appears as shown in the example above. Once the "Update" button is clicked, your old index.php file is overwritten with the new one we provide from GitHub.
- index.php gets updated with each update
- htaccess gets rarely updated (but important updates DO happen)
- FUTURE NOTE: on January 1st 2019, an important WonderCMS update will be available and the htaccess file will be overwritten. To make the internet a safer place, WonderCMS powered websites will redirect to HTTPS:// by default.
Here's the .htaccess contents that will be included in the 2019 update.
NOTE 1: Always use the one click backup feature before updating. Delete backup files from server after downloading them.
NOTE 2: Backup your index.php if you've made changes to it. This prevents any changes made from being overwritten when updating.
NOTE 3: If you've made changes to index.php and want to turn off the update message (STRONGLY DISCOURAGED DUE TO SECURITY UPDATES), change the version number in your index.php to match with the latest version number and apply WonderCMS updates manually. This step would have to be repeated each time there is a new version of WonderCMS.
NOTE 4: Use functions.php instead of editing index.php.
Still need help?
- Ask a question or make a request in the community.
- Official website
Intro
- Home
- Demo
- Download
- One step install
- Requirements
- 5 file structure
- List of hooks
- Included libraries
- Create theme in 8 easy steps
- Create a plugin
- Custom modules
- Translations
- All security features described
Basic how to's
- Backup all files
- Change default login URL
- Change default password
- Create custom page template
- Create new editable areas or editable blocks
- Edit 404 page
- Get data from database
- Set data to database
- Hide page from menu
- Caddy web server config
- IIS server config
- NGINX server config
- Login
- Recover login URL
- Reset password
- Restore backup
- Update
- PHP built in server
Themes
- Create theme in 8 easy steps
- Add favicon
- Theme tags
- Update theme to work with WonderCMS 2.0.0
- Update theme to work with WonderCMS 3.0.0
- Share your themes with Custom modules
Plugins
- Quick intro on creating plugins and List of hooks
- Share your plugin with simply with Custom modules
Security
- All security features described
- Add SRI tags to your theme libraries
- Always redirect to https and www
- Additional security configuration(s)
- Add SRI tags to your theme libraries
- Better security mode (HTTPS and other features)
Features description
- One click update
- Optional: functions.php file
- Default database.js
- Allowed extensions file types for uploads
- Login URL doesn't work - 404
- 500 internal server error
- Persistent "New WonderCMS update available" message
- URLs mailformed on Windows IIS
- Other errors