Rewrite wordpress URL solution under Linux

Source: Internet
Author: User
Rewrite the URL of WordPress under Linux
The current URL of WordPress is
Http://xxxxxxx/?p=123
I want to rewrite this URL into
http://xxxxxxx/about/
And do not want to use Worpress's own URL format option
should be used. htaccess rewrite it, the current. htaccess file is empty
Please understand the students to help explain the principle, write down the specific how to do, thank you!
------to solve the idea----------------------
WordPress does not have a built-in method get_the_id ()?
Use this to get the article ID.
The number of pages can be obtained by get_pages ().
Print_r (Get_pages ());

Since you are using WordPress, of course, with the method provided inside, why should write their own $_get.
  • Related Article

    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.