WordPress.org

Forums

'Previous entries' link not working under 'Manage' posts - invalid url (8 posts)

  1. pastrami
    Member
    Posted 9 years ago #

    I'm getting a weird, hopefully I can put well in words.
    When I'm managing my posts, it would display the last 15 posts, and towards the bottom it has a link 'previous entries' to go to the other posts.

    The problem is when I click on that, I get an invalid url.
    My wordpress address uri is in http://www.domain.com/wp but my blog address uri is http://www.domain.com/ourwp, so when I click on the 'previous entries' link, it goes to http://www.domain.com/ourwp/wp/ ... seems like it's combining them?

    If I manaually go in there edit the url, it works and I can still access the other posts. But just wondering if there's a way to fix it.

    Thanks!

  2. pastrami
    Member
    Posted 9 years ago #

    bump for the morning group.

  3. silfani
    Member
    Posted 9 years ago #

    Same problem -- looks like a systemic problem with all Previous/Next Entries both in manage posts and archives.

    I'm getting:

    yorku.ca/gags/~gags

    instead of

    yorku.ca/gags

    I've narrowed it down to how $qstr and $index are being defined in lines 378-396 of wp-includes/templates-functions-links.php

    but that's it!

  4. Chris_K
    Member
    Posted 9 years ago #

    What do you guys have for the 2 URI values in Options -> General?

  5. silfani
    Member
    Posted 9 years ago #

    The same for both -- http://www.yorku.ca/gags

    Changing the first almost killed my site, while the second's removal of gags works for previous entries but disables all other links.

  6. pastrami
    Member
    Posted 9 years ago #

    HandySolo:
    This is what I have setup --
    wordpress address uri: http://www.domain.com/wp1
    blog address uri: http://www.domain.com/wp2

    When I hit previous link it goes to --
    http://www.domain.com/wp2/wp1...

    removing wp2 from the link, gives me a valid link.

    Any suggestions?

  7. Chris_K
    Member
    Posted 9 years ago #

    @pastrami - why are the two URIs different? What happens if you make both of them the actual location of your blog?

  8. lilnigsta
    Member
    Posted 8 years ago #

    hmmm, no resolution. I am experiencing this same exact scenario. The purpose behind different URL's is that i have multiple domains hosted on one account. Thus my urls are such.

    Actual location: http://www.primarydomain.com/secondary-domain-files/wp/

    and i have the secondary domain forwarding to that location so that the user only types
    http://www.secondary-domain.com

    Thanks everyone.

Topic Closed

This topic has been closed to new replies.

About this Topic