Home >Common Problem >How to remove ads in dedecms

How to remove ads in dedecms

zbt
zbtOriginal
2023-07-17 16:41:511348browse

Dedecms method to remove ads: 1. Use the authorized version of dedecms; 2. Modify the dedecms source code; 3. Use plug-ins or modules or try to install and use some third-party plug-ins or modules.

How to remove ads in dedecms

The operating environment of this tutorial: windows10 system, dedecms6.0 version, DELL G3 computer.

dedecms is a powerful open source PHP content management system that is widely used in website construction and development projects. However, as open source software, dedecms displays ads on website pages by default. For some website owners, these ads may impact the website's image and user experience. So, in this article, we will discuss how to remove ads from dedecms website.

1. Use the authorized version of dedecms

dedecms provides an authorized version. After purchase, you can get the privilege of removing advertising functions. If you are a business website owner and want to remove ads from a legal perspective, then purchasing the licensed version is the best option. After purchasing the authorized version, you can install and configure it according to the instructions in the official documentation, and you can enjoy official technical support and maintenance.

2. Modify the source code of dedecms

For those website owners who are unwilling or unable to purchase the authorized version, they can remove advertisements by modifying the source code of dedecms. The following is a simple step:

Step 1: Log in to the backend management system of the dedecms website.

Step 2: Enter the template management page, where you can find the template files used by the dedecms website.

Step 3: Select the page template you wish to modify. Typically, you can find a file named index.htm or index.html in the root directory.

Step 4: Open the selected template file and find the advertising code in it. Usually, these ad codes will exist in the form of