WordPress Permalink Principle

Source: Internet
Author: User
The principle of WordPress permalink is more interested, such as the following URL:

/?p=1 #最丑陋,最直接,就是根据id去查/2016/07/14/xxx/category/xxx/article/xxx/article

These are legitimate URLs, and can be understood by WordPress, specifically how to do, and is dynamic?

The regular?

Reply content:

The principle of WordPress permalink is more interested, such as the following URL:

/?p=1 #最丑陋,最直接,就是根据id去查/2016/07/14/xxx/category/xxx/article/xxx/article

These are legitimate URLs, and can be understood by WordPress, specifically how to do, and is dynamic?

The regular?

In the things you seem to be the path, like/2016/07/14/xxx, In fact, after the Apache rewriterule conversion to index.php parameters, the latter is very good understanding, since index.php can receive these parameters, it then according to the corresponding rules, go to the database to find articles and display on the line.

  • 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.