Support » Networking WordPress » Subdirectory install and get_pagenum_link
6 years, 2 months 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?
What version of WordPress are you on?
And no, I haven’t noticed it at all.
Sorry I was not more specific before.
In my case the pagination on the search results page adds the extra ‘/myblog/’ to the link.
with all plugins turned off and when using TwentyTen theme?
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!