WordPress.org

Ready to get started?Download WordPress

Forums

Subdirectory install and get_pagenum_link (6 posts)

  1. longtailrider
    Member
    Posted 3 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:
    http://mu.wordpress.org/forums/topic/17294

    Anyone else seen this?

  2. What version of WordPress are you on?

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

  3. longtailrider
    Member
    Posted 3 years ago #

    3.0.3

  4. longtailrider
    Member
    Posted 3 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
    Member
    Posted 3 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