The MU forums have moved to WordPress.org

How does the page function work in MU? (1 post)

  1. tom_cat
    Inactive
    Posted 18 years ago #

    I created two pages "Sport -> Basketball".
    Then I can see the URL for page "Basketball" is "/wpmu/sport/basketball/". How does Mu figure out the real URL for this page? I also found that I can get this page using "/wpmu/?page_id=32"(32 is the post ID).
    The problem is that I can not found the correct Rewrite rules for this format "/wpmu/sport/basketball/". There is a function inside function.php called "function url_to_postid($url)". I can see that it has the code work on this issue. But when I delete the code of this function, pageing still work !!!!!!
    Please, any people can help me this! I begin to believe there are magic codes. :(

About this Topic

  • Started 18 years ago by tom_cat