Teach you to use WordPress easy to achieve Chinese URL effect

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Why to use the Chinese URL this article no longer repeat, the specific reasons please see the younger brother wrote "Do the most understand Chinese" search engine optimization should not use the Chinese URL. This time, we use the latest version of WordPress (3.0.1) to personally experience a Chinese URL, as to why use the WordPress CMS as an example, the reason is simple: She has many beautiful templates and the world's more than million fans, with powerful to abnormal plug-ins, As long as the installation of several plug-ins can almost meet the requirements of the general stationmaster, and her whole station code is GB code UTF-8, compatible with all the mainstream search engine, the use of Chinese URL will not appear garbled danger.

1. Download the latest version of WordPress at the official website, version 3.0.1, download to the local installation. It should be noted that the new database coding to choose Utf-8, its database collation is best to choose Utf-8_general_ci, so as not to create unnecessary garbled problems.

2. After installation, into the background, select the left "set" in the "Fixed link" option, the following figure

  

After clicking, the setting of the fixed link will pop up, ignoring those defaults, and selecting "Custom Structure" directly, as shown in the picture

  

At this point, in the text box on the right side of the custom structure is your Chinese url generation rule, where I write/archives/%category%/%postname%, which means that the content page path is in the Archives directory, The use of the classification of Chinese names and the title of the Chinese name combination of the construction, the advantage is that the article classification can fill in long tail keywords, and the article title can repeat the long tail keyword, so you can optimize the URL on the keyword, than the English path to be more friendly.

The link to the content page will then appear in this form: archives/%e6%9c%aa%e5%88%86%e7%b1%bb/%e6%88%91%e6%98%af%e4%b8%ad%e6%96%87%e8%b7%af%e5%be%84. This is only in the Address bar appears in the address, we do not have to worry, because the program can not recognize pure Chinese, can only be compiled with the Base64_encode function in Chinese code, when the parameters of the URL into the program inside, the program after the Base64_decode to decompile, so that can restore Chinese , when the Chinese URL page is indexed by search engines, the effect of the snapshot below, and will not appear garbled.

  

We know that search engines can identify certain regular URLs, Low-weight web site even do robots.txt can not be a large-scale collection, the reason for this should be the search engine through the path of the rules are limited, and if the use of Chinese path, not only to meet the requirements of the path without rules, but also to appear in the URL keyword, is the way to kill two birds, I believe this is definitely a useful attempt. The author of this article www.xiaohao.net.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.