Recently, many people asked me to write a summary. After Gu Baiyou, many people asked me to do it, which made a lot of things delayed. Finally, I postponed it until tonight and decided to take time to write the first article. The last article will be in the next article. The time is published in my newly established SEO exchange forum. Friends who are interested in SEO can join our forum, and students who are interested in making friends with webmasters are also welcome to join. Here I will briefly introduce to you the internal optimization of Gubaiyou rice. In fact, there are not many skills in internal optimization. I would like to share it here. In addition, I hope experts can point out my wrong ideas or optimization skills that I have missed.
Let me introduce the theme first. I use the default theme of WordPress. Considering that the blog structure of WordPress will cause content duplication to affect the weight, and then from the perspective of the simpler the website, the better.
1. On the homepage template index.php, I first deleted several function calls such as tags, article comments, and categories, and used <hr> horizontal lines instead of article division. And delete the navigation paging code, and use the pagenavi plug-in code instead <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>.
2. In the header.php header template, I inserted additional <meta name="author" content"Gubaiyou"> <meta name="copyright" content="Gubaiyou Rice Co., Ltd."> meta tags, these I don’t know if the label has any effect, haha, I just like to add it, I guess it won’t have much effect.
3. On the bottom template of footer.php, I deleted part of the code and added anchor text pointing to the homepage. You can check it out for yourself and add rel="nofollow". I also added contact information. In the mid-term, I added a time display function <?php echo $showtime=date("Ymd H:i:s");?>, so that the time will be different every time the homepage is refreshed.
4. Finally, the single-piece article template single.php is the same as the homepage, and some code with links has been streamlined, such as tags, ping, feed and other functions. Strive for simplicity.
5. Finally, for the convenience of statistics, I added the PHP version of the spider crawling record code to footer.php. You can download the specific code from the resource section of BBS.DONX.CN.
6. Comments.php comment template, I deleted the URL registration code of the message so that the commenter cannot leave the URL and control the export link.
The optimization of templates is mainly about these, there is nothing outstanding, but by streamlining and then including it, you can get effective control without going through robots.txt, giving search engines the simplest website structure model.
Next, introduce the plug-in:
1. Akismet WordPress is a must-use plug-in to filter spam messages. One of the contestants said that someone framed him for leaving a message with banned words. Hehe, mine was filtered out by the plug-in. It is probably not a malicious frame-up by the opponent, but maybe those boring reactionaries. Bar. I have also controlled the review of messages. As long as there are messages in the form of <a href=, www, com _fcksavedurl=", www, com" _fcksavedurl=", www, com", net and other URLs, they cannot be restored. Please provide details. Set it in wp settings--comments.
2. all in one seo This controls the title, keywords and description of the entire wordpress. For specific settings, you can view the Chinese wordpresse seo tutorial I wrote before. I like this plug-in very much. It is very suitable for websites optimized for single keywords. use. The special setting is to check Use noindex for Categories: Use noindex for Archives: Use noindex for Tag Archives: Autogenerate Descriptions:. The main thing is to repeat the content in a way.
3. The cos-html-cache static plug-in has nothing to introduce. Later, the server was attacked and the data was moved. I only moved the html. I extracted the data first, moved it abroad, and clicked one by one to generate html and then backed it up. If you want to speed up and save server resources, you can use wp super cache. For specific settings, you can also see the wordperss seo tutorial I wrote before.
4. Custom-smilies-se emoticon plug-in stimulates friends’ desire to reply.
5. google-sitemap-generator is a plug-in that creates sitemap.xml for wp. It must be installed.
6. wordpress-23-related-posts-plugin This plug-in is good for increasing internal links. I have seen some people comment on how good the internal links of other websites are optimized. I think otherwise. They use plug-ins such as tags to add too many irrelevant posts. Keywords disperse the weight. If there are not tens of thousands of internal links, they will not have much effect on rankings. This plug-in allows a certain number of articles to be listed under each article, allowing spiders to crawl more. My page inclusion volume can almost reach 100%, which is what I would rather see. The web pages I expose to search engines are basically indexed. As for other people’s web pages, I won’t comment on them. Some theories have no basis. I don’t know whether my opinion is wrong or right. I like to follow my own thinking. Way to do it and feel the result.
7. wp-pagenavi paging plug-in, there is nothing much to say about this.
Finally, I packaged and compressed the plug-ins and templates and put them in my newly created forum. Students who need them can find them in the top article in the resource section. It's really strange to establish that forum. I have an unspeakable affection for the forum and discuz!. I hope to get to know more webmasters through this forum. Finally, I hope that some netizens who want to add me to chat will not add me directly. Yes, we will meet each other naturally if we are destined. I have been annoyed to death by people asking me recently. The most annoying words are "Can you help me analyze the website?" Bubble forum, be more hands-on. Finally, I would like to say that being ranked in Gu Baiyou does not mean that I am a master. A ranking cannot represent the level. I am still learning like everyone else. Come to the forum to communicate when you have time. People who do SEO need to learn more. Keep a low profile and work hard.
For the original address, see the SEO Newcomer Exchange Forum: http://bbs.donx.cn/thread-79-1-1.html. Author Qin Jian, please indicate the source when reprinting. Thank you for your cooperation.