Apple CMS is a free and open-source CMS developed by domestic developers. It is said that the original developer has been taken away for "tea," and updates have ceased since then. The current version of Apple CMS on GitHub is maintained by other developers. Currently, some webmasters have reported that this CMS has a backdoor redirection issue, and a solution to this problem will be provided at the end of the article.
Apple CMS - GitHub Address#
Apple CMS 10 Download#
https://github.com/magicblack/maccms10/releases Go to the update page to download the latest source code.
Apple CMS 10 Installation#
The tutorial uses the international version of Baota as an example for beginners to quickly learn. If you don't know how to set up Baota, you can check our site's tutorial:
https://xzhan.xlog.app/aapanel
Basic Environment#
Nginx 1.22.1 + MySQL 5.7.44 + PHP7.2
Create Website#
Open the Baota panel, select Website on the left, and then click Add site to create a website.
In the pop-up window, enter the domain name you have resolved. Database settings require creating a database. Choose PHP version 7.2 (some Apple CMS source codes require PHP 7.4). Once done, click Confirm in the lower right corner.
At this point, database information will pop up; copy it down for later use.
Upload Source Code#
Enter the website root directory.
Delete the initial files automatically created by Baota.
Upload the source code.
Unzip the source code.
Click to enter the unzipped folder.
Select all files in this folder on the right, then choose Cut.
Return to the website root directory and click Paste.
Install PHP Extensions#
On the right side of Baota, find the App Store, go to the second page, find PHP 7.2, and in the pop-up window, click the second install extensions on the left, then find the fileinfo extension and click install on the right to install it.
Install Apple CMS 10#
Directly open your domain name to enter the Apple CMS 10 installation program.
On the first page, click agree; there are no other options for you – -@
On the second page, just mindlessly select next.
Follow these steps in this step:
- Fill in the database username and password you saved at the beginning; the database name and database username are the same, so just fill them in the same;
- For the database prefix, if you are only building one Apple CMS site, use the default "mac_". If you need to create multiple sites, change it to "mac1_"12345 or any combination of letters and numbers to distinguish the databases and prevent database collisions between multiple Apple CMS sites;
- Overwrite the database is fine;
- After filling in the above information, be sure to click test database connection. If it doesn't succeed on the first try, click a few more times until you see the prompt "Database connection successful";
- Set your own admin username and password; do not set weak passwords like 12345;
- Once everything is done, execute the installation.
After installation is complete, this interface will appear; don't worry, this is normal.
Return to Baota, enter the website root directory, find admin.php, select Rename on the right, and change the name of this page to any name you like in English or numbers; I changed it to 111.php, and keep the .php suffix.
Open the domain name + the modified filename, for example, mine is: www.666ym.net/111.php, and you can enter the backend management page.
After entering your username and password, open the system menu at the top, and in the website parameter settings on the right, fill in your domain name, then scroll to the bottom and select save.
Change Template#
Now, Apple CMS 10 is not as user-friendly as before; the new version does not have a default template, and the homepage is blank.
If you like using Apple CMS 10, you can also purchase a paid template.
Open the Baota panel, enter the website root directory, find the [template] folder, upload the template after entering, and then unzip it. After unzipping, it will exist in folder form (as shown).
Press F5 to refresh the page, then re-enter the website parameter settings, and you will see an additional X23 template in the dropdown under website templates. Select it, fill in the template directory as "html9" (each template directory is different; if you modify the template directory and the homepage is blank, change the template directory back to "html" and try again), and finally remember to save. Done!
Apple CMS Redirection Issue Solution#
Many webmasters have confirmed that Apple CMS generally has redirection issues. In fact, I do not recommend this system for beginners, as it is difficult to generate traffic nowadays. The hard-earned traffic can easily be hijacked, and this technical pressure can be quite frustrating.
A few days ago, I saw this solution in a channel of a helpful webmaster. If you must use Apple CMS and do not have the ability to handle it yourself, you can use this solution to avoid website redirection.
Link address: @geiwoip