Some discussions about subdirectories and pseudo static in WordPress

WordPress is the most widely used PHP blog program in the world. It has nearly endless themes and plug-ins. It’s easy to use. He can either arm himself through a variety of plugins into a CMS, or he can perform his duties well: blogs.

, I’ve been using WordPress for a while and now share my experience: a discussion of subdirectories and pseudo static in WordPress.


subdirectory, we are familiar with, such as:, a sub folder that is installed on the domain name in the following (like post folder), then use the WordPress pseudo static function, such as the use of%post_id%.html parameter, the address as form the target web.

and pseudo static function of WordPress can be directly use the post folder steps omitted, directly using the parameter /post/%post_id%.html, you can put the camouflage targets into form path ".

I think, whether it is the local law or subdirectory, or directly using the pseudo static method or the final page address is the same, for search engines, and there is no difference between what is too big.

but the difference between the program itself and the corresponding database is great,


is used in the form of a sub directory, then the program, he knew that he was under a folder called post is installed below the directly after the%post_id%.html, the database address directly is%post_id%.html (of course, you can change the pseudo static virtual mode, so as to change the path. But it is for an old station, is tantamount to SEO big shake).

, but if you are using a pseudo static form, the program knows that you are installed under the root directory of the, and the so-called post folder is virtual, not real. The corresponding database address is post/%post_id%.html (of course, you can change the pseudo static virtual way to change the path, but for an old station, it is tantamount to a big SEO shake).

so there are essential differences between the two approaches.

what is the specific effect of holding our webmaster?

I think if you’re just going to install a blog, then the best choice, of course, is >

Leave a Reply

Your email address will not be published. Required fields are marked *