Home  >  Article  >  Backend Development  >  How to remove the article title that comes with keywords on the destoon information content page, destoonkeywords_PHP tutorial

How to remove the article title that comes with keywords on the destoon information content page, destoonkeywords_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:20:261170browse

How to remove the article title that comes with keywords on the destoon information content page, destoonkeywords

The example in this article describes the method of removing the article title that comes with the keywords keywords on the destoon information content page. The specific implementation method is as follows:

Found at approximately line 158 in the article.class.php file in the modulearticle directory:

$keyword = $item['title'].','.($item['tag'] ? str_replace(' ', ',', trim($item['tag'])).',' : '').strip_tags(cat_pos(get_cat($item['catid']), ','));

changed to:

$keyword = str_replace(' ', ',', trim($item['tag']));

That’s it.

I hope the method described in this article will be helpful to everyone in destoon development.

Have questions about the content page title, keywords, and keyword description?

Collect more information and take a look at the internal pages of the website. Generally, there is no need to set TITLE, KEYWORDS, and DESCRIPTION. But who said this to you, don't believe it, just say something ugly "Go to TM-D" View the original Post>>

How to write title, keywords and description for a website

Keywords, we call them keywords. The difference between them and title is that title can be seen by users, while keywords cannot be seen without looking at the source program. The main function is to briefly summarize the keywords of the page content. For example, my current article is about title, keywords, and description: ion, then these three words are my keywords. It must be written in keywords to facilitate search engines. descript:ion, like keywords, cannot be seen directly on the web page. It is also used to determine the entire page content for search engines. The content to be written is a brief introduction to your page content. 2. Title keywords descript: The first suggestion for writing ion is that you should determine the main direction of your website, and then determine the names of the column pages and category list pages of your website. These names are best determined by keywords, such as the entertainment information section. It’s best to use entertainment information. Don’t give it a messy name such as Entertainment 88, Entertainment Home, or entertainment with some special symbols. After determining the column name and category list name, you can start writing the title, keywords, script:ion and other content of the entire website. 1. Home page title, keywords, description: ion How to write home page keywords. Generally, when we write home page keywords, if we select the column name according to the method I mentioned above, we can only add the website name, column name and one or two to the home page keywords. A more important keyword will suffice. How to write the title of the homepage. The title of the homepage is relatively simple. The general format is "website title - website keywords". Don't add too many keywords here. It is best to add the same as in keywords. Home page dict: ion is written. The way dict: ion is written is to integrate the title, keywords and the content of some special columns into it, and write it in a simple introduction form. Do not just write keywords, because this is displayed after the search engine includes the home page. Out profile. 2. Column page title, keywords, description: ion writing method Column page title writing method. Generally, there are two ways of writing title on column page. If your column page is named with keyword name as I suggested before, the side can be "column" Name-website name", but if you don't use keywords to name it according to the suggestions I gave, the title will have to be written in a different way. It may be written like this "column name, column keywords-website name", this can help your column Get ranked. How to write column keywords. The column keywords can list the names of all classification lists under the column, plus the column keywords. The general writing method is "column name, column keywords, column classification list name". This can help search engines better Distinguish this page so that you can gain some advantages over similar websites. Column descript:ion is written as much as possible. Write the column title, keywords, and category list name in descript:ion as much as possible, but do not just write keywords. It is recommended to write it in an introduction form as much as possible, so as to improve your users' understanding in search engines. Browsing will be beneficial, which can also improve some of your weight advantages. 3. The title, keyword, and description of the category list page are relatively simple. You only need to use keywords to name the column, and then fill it in in the following order: "Classification list page name-column" Name-Website Name", don't add anything messy here, because being simple will be better for your ranking. The way to write keywords on the category list page is relatively simple. It is to write the main keywords in your column. Don’t write too many words. Three to four words are the best, because today’s search engines will also use too many words. keywords to spread your weight. Classification list page description: ion writing method, the writing method here is relatively simple. Generally, you only need to include the title and keywords of the classification list to write a smooth introduction. This can also increase the friendliness of your classification list. . 4. The title, keywords, and descript of the content page (also known as the ultimate page): ion writing method content page ti...the rest of the full text>>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/867233.htmlTechArticleHow to remove the article title that comes with the keywords keywords on the destoon information content page, destoonkeywords This example describes how to remove destoon information Content page keywords keywords come with the article title...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn