Some discussions on subdirectories and pseudo-static in WordPress

Source: Internet
Author: User

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

WordPress is the world's most widely used PHP blog program, he has almost endless themes and plug-ins, simple and easy to use. He can not only through a variety of plug-ins he armed himself into a CMS, can also perform their duties well: blog.

I have been using WordPress for some time, and now share with you my experience: some of the subdirectories in WordPress and pseudo static some of the discussion.

Subdirectories, we are familiar with, for example: The form of www.xxx.com/post, that is, install the program in a subfolder under the domain name (such as the post folder above), and then use the pseudo-static features of WordPress, such as the use of parameter%post_id%.html, The address of the target Web page is disguised as a http://www.xxx.com/post/1.html form.

While the pseudo static function of WordPress can directly use the Post folder to omit the steps, directly using the parameter/post/%post_id%.html, you can be the target page path disguised as a http://www.xxx.com/post/1.html form.

I think, whether the use of subdirectory method or directly using pseudo static method, the final page address is the same, for search engines, and there is no big difference.

However, for the program itself and the corresponding database, the difference is very large!

If you are using the form of a subdirectory, then for the program, he knows that he is being installed under a folder named Post, then directly%post_id%.html, and the address in the database is%post_id% directly. www.feelarch.com HTML (of course, you can change the pseudo static virtual mode, thus changing the path, but this for an old station, is tantamount to a big SEO changes).

However, if the use of pseudo static form, the program knows that they are installed in the root directory of www.feelarch.com, and the so-called Post folder is virtual out, not real. The corresponding database address is post/%post_id%.html (of course, you can change the pseudo static virtual way, thus changing the path, but this for an old station, is tantamount to a big SEO).

So, there are essential differences between the two approaches.

Take to our stationmaster have what concrete function?

I think if you only want to install a blog, then the best choice is of course to install the program in the root directory, and then use pseudo static, so that we can be very free control program of pseudo static. If you are going to use a domain name to install multiple blogs, then you can consider using the form of subdirectories, so the subsequent blog how many will inherit some of the main domain name weight, seo more favorable. (Specific case Reference Moonlight blog).

This article by the feelings of the building master Masters original starting in the feelings of construction, the original address http://www.feelarch.com/post/32.html, reproduced please specify.

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.