In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the anti-theft method of DedeCms template, the article is very detailed, has a certain reference value, interested friends must read it!
How to guard against theft of DedeCms template?
At present, Weaving Dream DedeCms is the most popular content management system for webmasters, which is used and studied by many people, so the problem of how to guard against theft and security of the website template needs to be taken seriously.
We spend money to make beautiful dream templates, which are stolen by others, and you have no choice but to admit it. This kind of thing is common on the Internet, so we need to guard against theft of templates before the website is launched.
Note: this article template anti-theft security settings, for the dedecms program itself, does not involve other security settings.
The following Qingyuan to tell you the common way, these methods for people with limited technology, can play the role of template anti-theft, for real experts, most websites can not be imitated, we all need to know.
Method 1: modify the default template folder name of the system, which is the simplest and practical.
Step: backend-> system-> system basic parameters-> site Settings-> template default style-> default
Change default to your own name, then enter FTP, open the templets folder, and change the default name to the same name, so that others will not know the name of your website template folder.
Method 2: change the default .htm template file name of the system.
Everyone knows the name of the default template file, such as index.htm (home page), list_article.htm (article list page), article_article.htm (article content page), and so on.
Therefore, we change these default names, and then go to the column management office, re-specify the template file can increase the security of the template.
1. Know the name and function of the default template file.
Home page template: / templets/default/index.html
Home page of the article channel: / templets/default/index_article.htm
Article list page: / templets/default/list_article.htm
Article content page: / templets/default/article_article.htm
Home page of the atlas channel: / templets/default/index_image.htm
Atlas list page: / templets/default/list_image.htm
... ..
Specific template name introduction: dream template dedecms file name introduction and description http://www.mubanzhijia.com/jishujiaocheng/147.html
2. Different columns specify different templates.
Steps: core-> Common Operations-> website column Management-> Click the "change" link in the corresponding column on the right-> Advanced options-> manually specify the template
Detailed operation method: how to customize the dream weaving column to use different template files http://www.mubanzhijia.com/jishujiaocheng/178.html
3. Complete the above 2 steps and generate and update the column.
Method 3: this method is a combination of the above two, and it's easy to say.
1. The background does not change the name of the default template style default. Create a new folder in the templets folder and name it yourself.
2. Upload the used template files to this folder
There needs to be a note here, because the default template style location has not been modified in the background. All the common page headers (head.html) and footers (footer.htm) referenced by template files such as home page, list, content, etc., need to be modified, otherwise the page header and footer will not be displayed. The method is as follows: (PS:T good PHP Q button: 276167802, verification: csl)
{dede:include filename= "123456/head.htm" /}
If you create a template folder named 123456, write 123456 in the calling code.
Search pages, tag pages, are put in the default default, if put in their own folder, the system does not recognize.
3. Manually specify the template of each column according to the steps of method 2.
Many novices in the use of dedecms station, do not pay attention to this, and so the template was stolen, found that it is very angry, so, we should prepare for these anti-theft in advance to improve the security of the template.
The above is all the contents of the anti-theft method of DedeCms template, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.