Subdirectory install and get_pagenum_link (6 posts)

  1. longtailrider
    Posted 5 years ago #

    Is there a problem with get_pagenum_link and previous_posts_link in a sub-directory multisite install?

    In summary, if the URL of my MU blog reads http://mydomain.com/myblog the function get_pagenum_link() will return http://mydomain.com/myblog/myblog/page/2

    The expected functionality should be to return http://mydomain.com/myblog/page/2

    I found this old MU topic covering the same issue here:

    Anyone else seen this?

  2. What version of WordPress are you on?

    And no, I haven't noticed it at all.

  3. longtailrider
    Posted 5 years ago #


  4. longtailrider
    Posted 5 years ago #

    Sorry I was not more specific before.
    In my case the pagination on the search results page adds the extra '/myblog/' to the link.

  5. with all plugins turned off and when using TwentyTen theme?

  6. longtailrider
    Posted 5 years ago #

    Should have done that before posting. *d'oh!*

    twentyten works like a champ. I guess I will have to dig deeper into this vendor's theme :(

    Thanks for pointing me in the right direction Andrea!! You seem to be all places at once. Amazing!

Topic Closed

This topic has been closed to new replies.

About this Topic